X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=TPC%2FAliTPCdataQA.h;h=866a1e0a53f2ef301696ea8ae5f4887f64cd90f5;hp=41eda82722197af60e7b69515d9ae50609d06ada;hb=aa62360d3b63ed897ceeaa3af8f1b75cc71c9e3f;hpb=ce0175fa20553397e1ed6d94b11231e8830329cb diff --git a/TPC/AliTPCdataQA.h b/TPC/AliTPCdataQA.h index 41eda827221..866a1e0a53f 100644 --- a/TPC/AliTPCdataQA.h +++ b/TPC/AliTPCdataQA.h @@ -6,8 +6,7 @@ #include -#include -#include +class TProfile; #include "AliRecoParam.h" class TArrayF; @@ -35,22 +34,22 @@ public: AliTPCdataQA& operator = (const AliTPCdataQA &source); void DumpToFile(const Char_t *filename, const Char_t *dir="", Bool_t append=kFALSE); - void MakeTree(const char *fname="QApad.root"); + void MakeTree(const char *fname="QApad.root") const; // - Bool_t ProcessEventFast(AliTPCRawStreamFast *rawStreamFast); - Bool_t ProcessEventFast(AliRawReader *rawReader); - Bool_t ProcessEvent(AliTPCRawStream *rawStream); - Bool_t ProcessEvent(AliTPCRawStreamV3 *rawStreamV3); - Bool_t ProcessEvent(AliRawReader *rawReader); - Bool_t ProcessEventOld(AliRawReader *rawReader); - Bool_t ProcessEvent(eventHeaderStruct *event); + Bool_t ProcessEventFast(AliTPCRawStreamFast *const rawStreamFast); + Bool_t ProcessEventFast(AliRawReader *const rawReader); + Bool_t ProcessEvent(AliTPCRawStream *const rawStream); + Bool_t ProcessEvent(AliTPCRawStreamV3 *const rawStreamV3); + Bool_t ProcessEvent(AliRawReader *const rawReader); + Bool_t ProcessEventOld(AliRawReader *const rawReader); + Bool_t ProcessEvent(eventHeaderStruct *const event); void Analyse(); // // - void SetPedestal(AliTPCCalPad *pedestalCal){ fPedestal = pedestalCal;} - void SetNoise(AliTPCCalPad *noiseCal){ fNoise = noiseCal;} + void SetPedestal(AliTPCCalPad *const pedestalCal){ fPedestal = pedestalCal;} + void SetNoise(AliTPCCalPad *const noiseCal){ fNoise = noiseCal;} AliTPCCalPad *GetNoThreshold() const { return fNoThreshold;} AliTPCCalPad *GetMaxCharge() const { return fMaxCharge;} @@ -72,7 +71,7 @@ public: TH1F* GetHistNclustersVsEvent(); // - AliTPCAltroMapping **GetAltroMapping() { return fMapping; }; + AliTPCAltroMapping **GetAltroMapping() const { return fMapping; }; void SetAltroMapping(AliTPCAltroMapping **mapp) { fMapping = mapp; }; // // @@ -104,9 +103,8 @@ private: void GetPadAndTimeBin(Int_t bin, Int_t& iPad, Int_t& iTimeBin); // Get pad and time bin corresponding to the 1d bin Float_t GetQ(const Float_t* adcArray, const Int_t time, const Int_t pad, const Int_t maxTimeBins, - Int_t& timeMin,Int_t& timeMax,Int_t& padMin,Int_t& padMax); + Int_t& timeMin,Int_t& timeMax,Int_t& padMin,Int_t& padMax) const; void UpdateEventHistograms(); - void UpdateEventHisto(TH1F* hist, Float_t average); Int_t fFirstTimeBin; // First Time bin needed for analysis Int_t fLastTimeBin; // Last Time bin needed for analysis @@ -154,8 +152,6 @@ private: Int_t fPadsMax; //! Maximum number of time bins Int_t fTimeBinsMax; //! Maximum number of time bins - -public: ClassDef(AliTPCdataQA, 5) // Implementation of the TPC Raw QA };