2 // *** Class AliRsnVATProcessInfo ***
4 // Virtual class which makes computations at the event level,
5 // in order to return a list of histograms useful to have a look
6 // of the characteristics of used events.
7 // If can be inherited and customized for the needs of the analysis.
9 // authors: A. Pulvirenti (email: alberto.pulvirenti@ct.infn.it)
10 // M. Vala (email: martin.vala@cern.ch)
13 #ifndef ALIRSNVATPROCESSINFO_H
14 #define ALIRSNVATPROCESSINFO_H
20 class AliRsnVATProcessInfo : public TNamed
23 AliRsnVATProcessInfo(const char *name = "RSNInfo");
24 AliRsnVATProcessInfo(const AliRsnVATProcessInfo& copy);
25 AliRsnVATProcessInfo& operator= (const AliRsnVATProcessInfo& copy);
26 ~AliRsnVATProcessInfo();
28 void GenerateInfoList(TList* list);
29 virtual void FillInfo();
30 virtual void PrintInfo(const Long64_t &num);
32 const char* GetEventHistogramName() { return Form("hEventsUsed_%s",GetName()); };
33 Long64_t GetNumerOfEventsProcessed();
34 void SetEventUsed(Int_t flag) { fEventUsed = flag; }
35 Int_t IsEventUsed() const { return fEventUsed; };
37 void SetPrintInfoNumber(const Long64_t &num=1) { fPrintInfoNumber = num; }
41 TH1I *fHistUsedEvents; // hist of used events
42 Int_t fEventUsed; // number of used events
44 Long64_t fPrintInfoNumber; // print info number
46 ClassDef(AliRsnVATProcessInfo, 1)