class AliTRDCalPad;
class AliTRDCalROC;
class AliTRDCalPadStatus;
-class AliTRDRawStreamV2;
+class AliTRDrawStreamBase;
class AliTRDgeometry;
struct eventHeaderStruct;
AliTRDCalibPadStatus& operator = (const AliTRDCalibPadStatus &source);
- Int_t ProcessEvent(AliTRDRawStreamV2 *rawStream, Bool_t nocheck = kFALSE);
+ Int_t ProcessEvent(AliTRDrawStreamBase *rawStream, Bool_t nocheck = kFALSE);
Int_t ProcessEvent(AliRawReader *rawReader, Bool_t nocheck = kFALSE);
- Int_t ProcessEvent(eventHeaderStruct *event, Bool_t nocheck = kFALSE) const;
+ Int_t ProcessEvent(eventHeaderStruct *event, Bool_t nocheck = kFALSE);
+ void Destroy();
Int_t UpdateHisto(const Int_t idet, const Int_t iRow, const Int_t iCol,
const Int_t signal, const Int_t crowMax, const Int_t ccold, const Int_t icMcm);
TH2F* GetHisto (Int_t det, Bool_t force=kFALSE); // get refernce histogram
- void DumpToFile(const Char_t *filename, const Char_t *dir="", const Bool_t append=kFALSE);
+ void DumpToFile(const Char_t *filename, const Char_t *dir="", Bool_t append=kFALSE);
//
Int_t GetAdcMin() const { return fAdcMin; }
Int_t GetAdcMax() const { return fAdcMax; }
void SetRangeAdc (Int_t aMin, Int_t aMax){ fAdcMin=aMin; fAdcMax=aMax; } // Set adc range
- Bool_t TestEventHisto(Int_t nevent, Int_t sm); //test the fast approach to fill histograms
+ Bool_t TestEventHisto(Int_t nevent, Int_t sm, Int_t ch); //test the fast approach to fill histograms
private:
TH2F* GetHisto(Int_t det, TObjArray *arr,
Int_t nbinsY, Float_t ymin, Float_t ymax,
- Char_t *type, Bool_t force);
+ const Char_t *type, Bool_t force);
// Some basic geometry function
- virtual Int_t GetPlane(Int_t d) const;
- virtual Int_t GetChamber(Int_t d) const;
+ virtual Int_t GetLayer(Int_t d) const;
+ virtual Int_t GetStack(Int_t d) const;
virtual Int_t GetSector(Int_t d) const;
ClassDef(AliTRDCalibPadStatus,1)