LCOV - code coverage report
Current view: top level - STEER/STEERBase - AliTOFPIDParams.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 17 5.9 %
Date: 2016-06-14 17:26:59 Functions: 1 23 4.3 %

          Line data    Source code
       1             : #ifndef ALITOFPIDPARAMS_H
       2             : #define ALITOFPIDPARAMS_H
       3             : /* Copyright(c) 1998-2010, ALICE Experiment at CERN, All rights reserved. *
       4             :  * See cxx source for full Copyright notice                               */
       5             : 
       6             : //***********************************************************
       7             : // Class AliTODPIDparams
       8             : // class to store PID parameters for TOF in OADB
       9             : // Author: P. Antonioli, pietro.antonioli@to.infn.it
      10             : //***********************************************************
      11             : 
      12             : #include <TObject.h>
      13             : #include <TNamed.h>
      14             : #include "AliPIDResponse.h"
      15             : 
      16           0 : class AliTOFPIDParams : public TNamed {
      17             : 
      18             :  public:
      19             :   AliTOFPIDParams();
      20             :   AliTOFPIDParams(Char_t * name);
      21             :   virtual ~AliTOFPIDParams();
      22             : 
      23             :   enum {kSigPparams = 4};
      24             : 
      25           0 :   Float_t GetTOFresolution(void) const {return fTOFresolution;}
      26           0 :   AliPIDResponse::EStartTimeType_t GetStartTimeMethod(void) const {return fStartTime;}
      27             :   Float_t GetSigParams(Int_t i) const {
      28           0 :     return ((i >= 0)  && (i<kSigPparams)) ? fSigPparams[i] : 0;}    
      29           0 :   Float_t GetTOFtail(void) const {return fTOFtail;}
      30           0 :   Float_t GetTOFmatchingLossMC(void) const {return fTOFmatchingLossMC;}
      31           0 :   Float_t GetTOFadditionalMismForMC(void) const {return fTOFadditionalMismForMC;}
      32           0 :   Float_t GetTOFtimeOffset(void) const {return fTOFtimeOffset;}
      33           0 :   const char *GetOADBentryTag() const {return fOADBentryTag.Data();}
      34             : 
      35           0 :   void SetOADBentryTag(const char* entry) {fOADBentryTag=entry;}
      36           0 :   void SetTOFresolution(Float_t res){fTOFresolution = res;}
      37           0 :   void SetStartTimeMethod(AliPIDResponse::EStartTimeType_t method){fStartTime=method;}
      38             :   void SetSigPparams(Float_t *params);
      39           0 :   void SetTOFtail(Float_t tail){fTOFtail = tail;}
      40           0 :   void SetTOFmatchingLossMC(Float_t lossMC){fTOFmatchingLossMC = lossMC;}
      41           0 :   void SetTOFadditionalMismForMC(Float_t misMC){fTOFadditionalMismForMC = misMC;}
      42           0 :   void SetTOFtimeOffset(Float_t timeOffset){fTOFtimeOffset = timeOffset;}
      43             : 
      44             :  private:
      45             :   AliPIDResponse::EStartTimeType_t fStartTime;      // startTime method
      46             :   Float_t fTOFresolution;                           // TOF MRPC intrinsic resolution
      47             :   Float_t fSigPparams[kSigPparams];                 // parameterisation of sigma(p) dependency 
      48             :   Float_t fTOFtail;                                 // fraction of tracks with TOF signal within gaussian behaviour
      49             :   Float_t fTOFmatchingLossMC;                       // fraction of tracks (%) MC has to loose to follow reconstructed data performance
      50             :   Float_t fTOFadditionalMismForMC;                  // fraction of tracks (%) MC has to add to match mismatch percentage in data
      51             :   Float_t fTOFtimeOffset;                           // overall offset to be added to startTime to handle intercalibration issues
      52             :   TString fOADBentryTag;                            // code name (period-pass) for the entry
      53             : 
      54         176 :   ClassDef(AliTOFPIDParams,3);
      55             : 
      56             : };
      57             : 
      58             : #endif
      59             : 

Generated by: LCOV version 1.11