]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALSDigitizer.h
added the HCAL section and removed obsolete method
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALSDigitizer.h
index 15211592a3b9479a11f6e46c21befdac42bbb097..24acce0f8246965e91523454b66560c0136ad667 100644 (file)
@@ -41,30 +41,27 @@ public:
   void SetSlopeParameter(Float_t B){fB = B ;}
   void UseHitsFrom(const char * filename) ;      
   Bool_t operator == (const AliEMCALSDigitizer & sd) const ;
-  const Int_t Segment2TowerID(Int_t SegmentID){
-    return Layer2TowerID(SegmentID,kFALSE);
-}
+//   const Int_t Segment2TowerID(Int_t SegmentID){
+//     return Layer2TowerID(SegmentID,0);
+// }
 
 private:
   void     Init() ;
   void     InitParameters() ; 
   void     PrintSDigits(Option_t * option) ;
-  const Int_t Layer2TowerID(Int_t,Bool_t) ;
 
 private:
   Float_t fA ;                     // Pedestal parameter
   Float_t fB ;                     // Slope Digitizition parameters
-  Float_t fPhotonElectronFactor ;  // number of photon electrons per GeV
-                                   // should be calculated independently for each layer as : 
-                                   // LightYield*LightCollectionEfficiency*LightAttenuation*APDPhotoElectronEfficiency*APDGain
-  Float_t fTowerPrimThreshold ;    // To store primary in Tower if Elos > threshold
-  Float_t fPreShowerPrimThreshold ;// To store primary if Pre Shower Elos > threshold
-   Bool_t  fDefaultInit;           //! Says if the task was created by defaut ctor (only parameters are initialized)
+  Float_t fPREPrimThreshold ;      // To store primary if Pre Shower Elos > threshold
+  Float_t fECPrimThreshold ;       // To store primary if EC Shower Elos > threshold
+  Float_t fHCPrimThreshold ;       // To store primary if HC Shower Elos > threshold
+  Bool_t  fDefaultInit;            //! Says if the task was created by defaut ctor (only parameters are initialized)
   Int_t   fSDigitsInRun ;          //! Total number of sdigits in one run
   TFile * fSplitFile ;             //! file in which SDigits will eventually be stored
   Bool_t  fToSplit ;               //! Says that sigits should be written into splip file
 
-  ClassDef(AliEMCALSDigitizer,2)  // description 
+  ClassDef(AliEMCALSDigitizer,4)  // description 
 
 };