fTimeResolution = 0.5e-9 ;
fTimeSignalLength = 1.0e-9 ;
fPreShowerDigitThreshold = fEMCDigitThreshold/100. ;
- fADCchannelTower = 0.0015; // width of one ADC channel in GeV
+ fADCchannelTower = 0.0030; // width of one ADC channel in GeV
fADCpedestalTower = 0.005 ; // pedestal of ADC
fNADCTower = (Int_t) TMath::Power(2,16) ; // number of channels in Tower ADC
- fADCchannelPreSho = 0.0015 ; // width of one ADC channel in Pre Shower
+ fADCchannelPreSho = 0.0030 ; // width of one ADC channel in Pre Shower
fADCpedestalPreSho = 0.005 ; // pedestal of ADC
fNADCPreSho = (Int_t) TMath::Power(2,16); // number of channels in Pre Shower ADC
fTimeThreshold = 0.001*10000000 ; //Means 1 MeV in terms of SDigits amplitude
fTimeSignalLength = 1.0e-9 ;
fPreShowerDigitThreshold = fEMCDigitThreshold/100. ;
fInitialized = kFALSE ;
- fADCchannelTower = 0.0015; // width of one ADC channel in GeV
+ fADCchannelTower = 0.0030; // width of one ADC channel in GeV
fADCpedestalTower = 0.005 ; //
fNADCTower = (Int_t) TMath::Power(2,16) ; // number of channels in Tower ADC
- fADCchannelPreSho = 0.0015 ; // width of one ADC channel in Pre Shower
+ fADCchannelPreSho = 0.0030 ; // width of one ADC channel in Pre Shower
fADCpedestalPreSho = 0.005 ; //
fNADCPreSho = (Int_t) TMath::Power(2,16); // number of channels in Pre ShowerADC
void Digitize(const Int_t); // Make Digits from SDigits stored in fSDigits
void Exec(Option_t *option); // Supervising method
- Float_t GetEMCThreshold() const { return fEMCDigitThreshold;}
- Float_t GetPedestal() const { return fPedestal; }
- Float_t GetPinNoise() const { return fPinNoise;}
- Float_t GetSlope() const { return fSlope; }
+ const Float_t GetEMCThreshold() const { return fEMCDigitThreshold;}
+ const Float_t GetPedestal() const { return fPedestal; }
+ const Float_t GetPinNoise() const { return fPinNoise;}
+ const Float_t GetSlope() const { return fSlope; }
const Float_t GetTimeResolution() const { return fTimeResolution ; }
+ const Float_t GetTowerchannel() const { return fADCchannelTower ; }
+ const Float_t GetTowerpedestal() const { return fADCpedestalTower ; }
+ const Float_t GetPreShochannel() const { return fADCchannelPreSho ; }
+ const Float_t GetPreShopedestal() const { return fADCpedestalPreSho ; }
-
void MixWith(char* HeaderFile) ; // Add another one file to mix
virtual void Print(Option_t* option)const ;
void Reset() ; //restarts starts event processing from 0 event(s)
private:
- Bool_t Init();
+ Bool_t Init();
Bool_t ReadSDigits() ; // Read sdigits for particular events
void WriteDigits(Int_t evt) ; // Writes Digits for particular event
void PrintDigits(Option_t * option) ;
Float_t TimeOfNoise(void) ; // Calculate time signal generated by noise
Float_t FrontEdgeTime(TClonesArray * ticks) ;
- Int_t DigitizeEnergy(Float_t energy, Int_t absId) ;
+ Int_t DigitizeEnergy(Float_t energy, Int_t absId) ;
private: