LCOV - code coverage report
Current view: top level - T0/T0base - AliT0TriggerParameters.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 5 12 41.7 %
Date: 2016-06-14 17:26:59 Functions: 6 16 37.5 %

          Line data    Source code
       1             : #ifndef AliT0TriggerParameters_H
       2             : #define AliT0TriggerParameters_H
       3             : 
       4             : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
       5             :  * See cxx source for full Copyright notice                               */
       6             : 
       7             : ////////////////////////////////////////////////
       8             : //  class for T0 calibration                 //
       9             : ////////////////////////////////////////////////
      10             : 
      11             : #include "TObject.h"
      12             : 
      13             : class AliT0TriggerParameters: public TObject {
      14             : 
      15             :  public:
      16             :   AliT0TriggerParameters();
      17             :   AliT0TriggerParameters& operator= (const AliT0TriggerParameters &);
      18             :   AliT0TriggerParameters(const AliT0TriggerParameters &calibda);
      19             :   virtual ~AliT0TriggerParameters();
      20             :   
      21             :   //Switched on/off
      22             :   void     SetPMTstatus(Int_t i, Int_t val);
      23             :   Int_t    GetPMTstatus(Int_t i) const;
      24             :  //Thresholds
      25           0 :   void     SetThreshold(Int_t i, Int_t val) {fThreshold[i]=val;}
      26           0 :   Int_t    GetThreshold(Int_t i) {return fThreshold[i];}
      27           0 :   Int_t*   GetThreshold()  {return  fThreshold;}
      28             :   //mult threshold
      29           8 :   Float_t GetTimeWindowLow()  const  {return fTimeWindowLow;}
      30           0 :   void    SetTimeWindowLow(Float_t low)   { fTimeWindowLow = low;}
      31           8 :   Float_t GetTimeWindowHigh()  const  {return fTimeWindowHigh;}
      32           0 :   void    SetTimeWindowHigh(Float_t high)   { fTimeWindowHigh = high;}
      33           8 :   Int_t   GetAmpCentr() const {return fAmpCentr;}
      34           0 :   void    SetAmpCentr(Int_t ref) {fAmpCentr = ref;}
      35           8 :   Int_t   GetAmpSemiCentr() const {return fAmpSemiCentr;}
      36           0 :   void    SetAmpSemiCentr(Int_t ref) {fAmpSemiCentr = ref;}
      37             :   
      38             : 
      39             :   void Reset();
      40             :   virtual void  Print(Option_t* option= "") const; 
      41             : 
      42             :  protected:
      43             : 
      44             :   Int_t fSwtPmt;    // PMT on/off
      45             :   Int_t fThreshold[24]; // thresholds
      46             :   Int_t fAmpCentr;         // threshold for central event
      47             :   Int_t fAmpSemiCentr;        // threshold for semi-central event
      48             :   Float_t fTimeWindowLow;      //low border for TVDC
      49             :   Float_t fTimeWindowHigh;     //low border for TVDC
      50             : 
      51             : 
      52             :   // AliT0TriggerParameters& operator= (const AliT0TriggerParameters &);
      53             :   // AliT0TriggerParameters(const AliT0TriggerParameters &calibda);
      54             :  //
      55          60 :   ClassDef(AliT0TriggerParameters,2)    // T0 Sensor Calibration data
      56             : };
      57             : 
      58             : 
      59             : #endif
      60             : 

Generated by: LCOV version 1.11