]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALSimParam.h
Adding options to count false decisions also.
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALSimParam.h
index b1da18e2b0711ff465677ef8c41923e10529595a..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;}
-       Float_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(Float_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 ; }
@@ -45,9 +47,6 @@ public:
        void    SetB(Float_t val)                  { fB               = val ; }
        void    SetECPrimaryThreshold(Float_t val) { fECPrimThreshold = val ;}
 
-private:
-
-  AliEMCALSimParam(Int_t i); //True constructor which should be called by GetInstance()
 
 private:
 
@@ -55,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
-       Float_t fTimeResolution ;       // Time resolution of FEE electronics
+       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,1)
+  ClassDef(AliEMCALSimParam,3)
 };
 
 #endif