TGraph *GetWalk(Int_t ipmt ) const {return ((TGraph*)fWalk.At(ipmt));}
Float_t GetWalkVal(Int_t ipmt, Float_t mv ) const {return ((TGraph*)fWalk.At(ipmt))->Eval(mv);}
- void SetWalk(Int_t ipmt, const Char_t *filename="data/CFD-Amp.root") ;
+ void SetWalk(Int_t ipmt) ;
TGraph * GetSlew(Int_t ipmt) const {return (TGraph*)fSlewingLED.At(ipmt);}
Float_t GetSlewingLED(Int_t ipmt, Float_t mv) const
Float_t GetSlewingRec(Int_t ipmt, Float_t mv) const
{return((TGraph*)fSlewingRec.At(ipmt))->Eval(mv);}
- void SetSlewingLED(Int_t ipmt, const Char_t *filename="data/CFD-LED.txt") ;
- void SetSlewingRec(Int_t ipmt, const Char_t *filename="data/re.root") ;
+ void SetSlewingLED(Int_t ipmt) ;
+ void SetSlewingRec(Int_t ipmt) ;
void SetTimeDelayCFD(Float_t val, Int_t channel) {fTimeDelayCFD[channel]=val;}
void SetTimeDelayCFD(Float_t* TimeDelay);
Int_t GetChannel(Int_t trm, Int_t tdc, Int_t chain, Int_t channel);
void PrintLookup(Option_t* option= "", Int_t iTRM=0, Int_t iTDC=0, Int_t iChannel=0) const;
TMap *GetMapLookup(void) {return &fLookup;}
+ Int_t GetNumberOfTRMs() const {return fNumberOfTRMs;}
+ void SetNumberOfTRMs(Int_t ntrms=2) {fNumberOfTRMs = ntrms;}
- //Int_t GetA(void) {return fa;}
- //void SetA (Int_t a) {fa=a;}
-
protected:
Float_t fTimeDelayCFD[24]; // Coeff. for time delay (24 different cables & CFD )
TObjArray fSlewingLED; //time - amp.LED slew
TObjArray fSlewingRec; //time - amp. LED slew for reconstruction
TMap fLookup; //lookup table
- //Int_t fa;
+ Int_t fNumberOfTRMs; // number of TRMs in setup
//
- ClassDef(AliT0CalibData,3) // T0 Sensor Calibration data
+ ClassDef(AliT0CalibData,4) // T0 Sensor Calibration data
};
typedef AliT0CalibData AliSTARTCalibData; // for backward compatibility