]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALSimParam.h
Adding a energy calib object for ZPs
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALSimParam.h
index 34844789cc2187d87ac0f79d534c4b08db8fb59b..7caff02221c36004d2ab9c72e0acb41e8b3edcee 100644 (file)
@@ -26,16 +26,18 @@ public:
   virtual void Print(Option_t * option="") const ;
 
        //Parameters used in Digitizer
-       Int_t   GetDigitThreshold()     const { return fDigitThreshold;}
-       Float_t GetPinNoise()           const { return fPinNoise;}
-       Double_t GetTimeResolution()    const { return fTimeResolution ; }
-       Int_t   GetNADCEC()             const { return fNADCEC ; }
-       Int_t   GetMeanPhotonElectron() const { return fMeanPhotonElectron ; }
-       void    SetDigitThreshold(Int_t val)    { fDigitThreshold     = val ; }
-       void    SetPinNoise(Float_t val)        { fPinNoise           = val ; }
-       void    SetTimeResolution(Double_t val) { fTimeResolution     = val ; }
-       void    SetNADCED(Int_t val)            { fNADCEC             = val ; }
-       void    SetMeanPhotonElectron(Int_t val){ fMeanPhotonElectron = val ; }
+       Int_t    GetDigitThreshold()     const { return fDigitThreshold;}
+       Float_t  GetPinNoise()           const { return fPinNoise;}
+       Double_t GetTimeDelay()          const { return fTimeDelay ; }
+       Double_t GetTimeResolution()     const { return fTimeResolution ; }
+       Int_t    GetNADCEC()             const { return fNADCEC ; }
+       Int_t    GetMeanPhotonElectron() const { return fMeanPhotonElectron ; }
+       void     SetDigitThreshold(Int_t val)    { fDigitThreshold     = val ; }
+       void     SetPinNoise(Float_t val)        { fPinNoise           = val ; }
+       void     SetTimeDelay(Double_t val)      { fTimeDelay          = val ; }
+       void     SetTimeResolution(Double_t val) { fTimeResolution     = val ; }
+       void     SetNADCED(Int_t val)            { fNADCEC             = val ; }
+       void     SetMeanPhotonElectron(Int_t val){ fMeanPhotonElectron = val ; }
 
        //Parameters used in SDigitizer
        Float_t GetA()                  const { return fA ; }
@@ -52,20 +54,21 @@ private:
   static AliEMCALSimParam * fgSimParam ; // pointer to the unique instance of the class
 
        // Digitizer
-       Int_t   fDigitThreshold  ;      // Threshold for storing digits in EMC
-       Int_t   fMeanPhotonElectron ;   // number of photon electrons per GeV deposited energy 
-       Float_t fPinNoise ;             // Electronics noise in EMC
+       Int_t    fDigitThreshold  ;     // Threshold for storing digits in EMC
+       Int_t    fMeanPhotonElectron ;  // number of photon electrons per GeV deposited energy 
+       Float_t  fPinNoise ;            // Electronics noise in EMC
+       Double_t fTimeDelay;            // Time delay to reproduce data delay
        Double_t fTimeResolution ;      // Time resolution of FEE electronics
        //Float_t fTimeThreshold ;        // Threshold to start timing for given crystall
        //Float_t fTimeSignalLength ;     // Length of the timing signal 
-       Int_t   fNADCEC ;               // number of channels in EC section ADC
+       Int_t    fNADCEC ;              // number of channels in EC section ADC
        
        // SDigitizer
        Float_t fA ;                     // Pedestal parameter
        Float_t fB ;                     // Slope Digitizition parameters
        Float_t fECPrimThreshold ;       // To store primary if EC Shower Elos > threshold
                
-  ClassDef(AliEMCALSimParam,2)
+  ClassDef(AliEMCALSimParam,3)
 };
 
 #endif