]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGLF/RESONANCES/AliRsnValueEvent.h
Final TOF DAs
[u/mrichter/AliRoot.git] / PWGLF / 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 */
61f275d1 6
2895972e 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)
61f275d1 28 kTypes
2895972e 29 };
30
31 AliRsnValueEvent(const char *name = "valEvent", EType type = kTypes);
61f275d1 32 AliRsnValueEvent(const AliRsnValueEvent &copy);
33 AliRsnValueEvent &operator=(const AliRsnValueEvent &copy);
2895972e 34 virtual ~AliRsnValueEvent() { }
35
36 void SetType(EType type) {fType = type;}
37 EType GetType() const {return fType;}
61f275d1 38 const char *GetTypeName() const;
2895972e 39
40 virtual Bool_t Eval(TObject *object);
1cdc3671 41 void ApplyCentralityPatchAOD049(TObject *object);
3da8cef7 42
2895972e 43protected:
44
45 EType fType; // type from enumeration
46
47 ClassDef(AliRsnValueEvent, 1) // AliRsnValueEvent class
48};
49
50#endif