]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/RESONANCES/AliRsnVATProcessInfo.h
Removed old ME classes, since the nex event mixing has been introduced and is integra...
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnVATProcessInfo.h
CommitLineData
5eb970a4 1//
2// *** Class AliRsnVATProcessInfo ***
3//
32992791 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.
5eb970a4 8//
9// authors: A. Pulvirenti (email: alberto.pulvirenti@ct.infn.it)
10// M. Vala (email: martin.vala@cern.ch)
11//
12
4fbb2459 13#ifndef ALIRSNVATPROCESSINFO_H
14#define ALIRSNVATPROCESSINFO_H
5eb970a4 15
16#include <TNamed.h>
968abd78 17#include <TClonesArray.h>
32992791 18
4fbb2459 19class TH1I;
968abd78 20class AliRsnFunction;
21class AliRsnEvent;
5eb970a4 22
2a1c7696 23class AliRsnVATProcessInfo : public TNamed {
24public:
25 AliRsnVATProcessInfo(const char *name = "RSNInfo");
26 AliRsnVATProcessInfo(const AliRsnVATProcessInfo& copy);
27 AliRsnVATProcessInfo& operator= (const AliRsnVATProcessInfo& copy);
28 ~AliRsnVATProcessInfo();
5eb970a4 29
2a1c7696 30 void GenerateInfoList(TList* list);
31 virtual void FillInfo();
32 virtual void PrintInfo(const Long64_t &num);
5eb970a4 33
2a1c7696 34 const char* GetEventHistogramName() { return Form("hEventsUsed_%s", GetName()); };
35 Long64_t GetNumerOfEventsProcessed();
36 void SetEventUsed(Int_t flag) { fEventUsed = flag; }
37 Int_t IsEventUsed() const { return fEventUsed; };
38 void AddEventFunction(AliRsnFunction *fcn);
5eb970a4 39
2a1c7696 40 void SetPrintInfoNumber(const Long64_t &num = 1) { fPrintInfoNumber = num; }
5eb970a4 41
2a1c7696 42private:
5eb970a4 43
2a1c7696 44 TH1I *fHistUsedEvents; // hist of used events
45 Int_t fEventUsed; // number of used events
46 TClonesArray fEventFunctions; // collection of functions computed on event
5eb970a4 47
2a1c7696 48 Long64_t fPrintInfoNumber; // print info number
5eb970a4 49
2a1c7696 50 ClassDef(AliRsnVATProcessInfo, 1)
5eb970a4 51};
52
53#endif