LCOV - code coverage report
Current view: top level - VZERO/VZEROrec - AliVZEROTriggerMask.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 6 8 75.0 %
Date: 2016-06-14 17:26:59 Functions: 6 10 60.0 %

          Line data    Source code
       1             : #ifndef ALIVZEROTRIGGERMASK_H
       2             : #define ALIVZEROTRIGGERMASK_H
       3             : 
       4             : ///_________________________________________________________________________
       5             : ///
       6             : ///  Auxiliary classs to compute the  VZERO Trigger
       7             : ///_________________________________________________________________________   
       8             : 
       9             : #include <TObject.h>
      10             : 
      11             : class TTree;
      12             : class TClonesArray;
      13             : class AliESDVZERO;
      14             : class AliVZEROCalibData;
      15             : class AliVZERORecoParam;
      16             : 
      17             : class AliVZEROTriggerMask : public TObject
      18             : {
      19             :  public:
      20             :                    AliVZEROTriggerMask();   // constructor
      21          32 :    virtual        ~AliVZEROTriggerMask(){}  // destructor
      22             : 
      23             :    void FillMasks(AliESDVZERO *esdV0,
      24             :                   AliVZEROCalibData *cal,
      25             :                   TF1 *slewing);
      26             :    Double_t GetZPosition(const char* symname);
      27             : 
      28          16 :    void SetRecoParam(const AliVZERORecoParam *param) { fRecoParam = param; }
      29             :    const AliVZERORecoParam* GetRecoParam() const
      30             :    {
      31        1252 :      if (!fRecoParam) {
      32           0 :        AliFatal("Reco-param object is not set!");
      33           0 :        return NULL;
      34             :      }
      35         626 :      return fRecoParam;
      36         626 :    }
      37             : 
      38             : private:
      39             :    AliVZEROTriggerMask(const AliVZEROTriggerMask& mask);
      40             :    AliVZEROTriggerMask& operator = (const AliVZEROTriggerMask& mask);
      41             : 
      42             :    Float_t fV0ADist;     // Z position of V0A
      43             :    Float_t fV0CDist;     // Z position of V0C
      44             :    const AliVZERORecoParam* fRecoParam; //! Pointer to VZERO reco-param object
      45             : 
      46         216 :    ClassDef( AliVZEROTriggerMask, 3 )  // VZERO Trigger Detector class
      47             : };
      48             : 
      49             : #endif // ALIVZEROTRIGGERMASK_H

Generated by: LCOV version 1.11