1 #ifndef AliTPCRawHistograms_H
2 #define AliTPCRawHistograms_H
7 // This class contains a number of histograms for diagnostics of a TPC
8 // read out chamber from the raw data
19 class AliTPCRawStream;
21 class AliTPCRawHistograms : public TNamed
24 AliTPCRawHistograms();
25 AliTPCRawHistograms(Int_t detector, const Char_t* comment="", Int_t timeStart=-1, Int_t timeStop=-1);
27 AliTPCRawHistograms(const AliTPCRawHistograms& c);
28 virtual ~AliTPCRawHistograms();
29 AliTPCRawHistograms& operator=(const AliTPCRawHistograms& corrMatrix);
31 virtual Long64_t Merge(TCollection* list);
33 virtual void SaveHistograms();
35 void FillDigit(AliTPCRawStream* rawStream, Int_t time=-1);
37 TCanvas* DrawHistograms(const Char_t* opt="");
40 Int_t fTimeStart; // begin time of run(s)
41 Int_t fTimeStop; // end time of runs(s)
43 TH3F* fhDigits; // cluster of all digits above threshold
44 TH1F* fhSignal; // signal distribution
46 TNtuple* fDigitTree; // row:pad:time:signal
48 ClassDef(AliTPCRawHistograms,1)