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
};