Changes for #82873: Module debugging broken (Christian)
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnValueEvent.h
CommitLineData
2895972e 1#ifndef ALIRSNVALUEEVENT_H
2#define ALIRSNVALUEEVENT_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7////////////////////////////////////////////////////////////////////////////////
8//
9// Values which depend on 4-momentum of the pair.
10//
11////////////////////////////////////////////////////////////////////////////////
12
13#include "AliRsnValue.h"
14
15class AliRsnValueEvent : public AliRsnValue {
16public:
17
18 enum EType {
19 kLeadingPt, // transverse momentum of the event leading particle
20 kMult, // multiplicity computed as the number of tracks
21 kMultMC, // multiplicity from MC
22 kMultESDCuts, // multiplicity of good quality tracks
23 kMultSPD, // multiplicity from SPD
24 kVz, // Z position of event primary vertex
25 kCentralityV0, // event centrality (V0 method)
26 kCentralityTrack, // event centrality (tracks method)
27 kCentralityCL1, // event centrality (CL1 method)
28 kTypes
29 };
30
31 AliRsnValueEvent(const char *name = "valEvent", EType type = kTypes);
32 AliRsnValueEvent(const AliRsnValueEvent& copy);
33 AliRsnValueEvent& operator=(const AliRsnValueEvent& copy);
34 virtual ~AliRsnValueEvent() { }
35
36 void SetType(EType type) {fType = type;}
37 EType GetType() const {return fType;}
38 const char* GetTypeName() const;
39
40 virtual Bool_t Eval(TObject *object);
41
42protected:
43
44 EType fType; // type from enumeration
45
46 ClassDef(AliRsnValueEvent, 1) // AliRsnValueEvent class
47};
48
49#endif