]>
Commit | Line | Data |
---|---|---|
1ee39b3a | 1 | #ifndef ALITRDINFOGEN_H |
2 | #define ALITRDINFOGEN_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id: AliTRDinfoGen.h 27496 2008-07-22 08:35:45Z cblume $ */ | |
7 | ||
8 | //////////////////////////////////////////////////////////////////////////// | |
9 | // // | |
10 | // Reconstruction QA // | |
11 | // // | |
12 | //////////////////////////////////////////////////////////////////////////// | |
13 | ||
14 | #ifndef ALITRDRECOTASK_H | |
15 | #include "AliTRDrecoTask.h" | |
16 | #endif | |
17 | ||
3f19c2cd | 18 | #ifndef ROOT_TString |
19 | #include "TString.h" | |
20 | #endif | |
21 | ||
1ee39b3a | 22 | class AliESDEvent; |
23 | class AliMCEvent; | |
24 | class AliESDfriend; | |
25 | class AliTRDtrackInfo; | |
26 | class AliTRDeventInfo; | |
27 | class AliTRDv0Info; | |
07ece31c | 28 | class AliTRDeventCuts; |
29 | class AliESDtrackCuts; | |
1ee39b3a | 30 | class TObjArray; |
31 | class TTreeSRedirector; | |
32 | class AliTRDinfoGen : public AliTRDrecoTask{ | |
33 | public: | |
3f19c2cd | 34 | enum AliTRDinfoGenSteeringBits{ |
35 | kUseLocalEvSelection = BIT(21) | |
36 | ,kUseLocalTrkSelection = BIT(22) | |
37 | ,kCollision = BIT(23) | |
38 | }; | |
1ee39b3a | 39 | AliTRDinfoGen(); |
f8f46e4d | 40 | AliTRDinfoGen(char* name); |
1ee39b3a | 41 | virtual ~AliTRDinfoGen(); |
42 | ||
f8f46e4d | 43 | |
44 | void UserCreateOutputObjects(); | |
45 | void UserExec(Option_t *); | |
1ee39b3a | 46 | static Float_t GetTPCx() { return fgkTPC;} |
47 | static Float_t GetTOFx() { return fgkTOF;} | |
48 | ||
3f19c2cd | 49 | Bool_t IsCollision() const {return TestBit(kCollision);} |
50 | ||
51 | void SetCollision(Bool_t set=kTRUE) {SetBit(kCollision, set);} | |
07ece31c | 52 | void SetLocalEvSelection(AliTRDeventCuts */*cut*/){;} |
3f19c2cd | 53 | void SetLocalEvSelection(Bool_t use=kTRUE) {SetBit(kUseLocalEvSelection, use);} |
07ece31c | 54 | void SetLocalTrkSelection(AliESDtrackCuts */*cut*/){;} |
3f19c2cd | 55 | void SetLocalTrkSelection(Bool_t use=kTRUE) {SetBit(kUseLocalTrkSelection, use);} |
56 | void SetTrigger(const Char_t *trigger) {fEvTrigger = trigger;} | |
57 | ||
58 | Bool_t UseLocalEvSelection() const {return TestBit(kUseLocalEvSelection);} | |
59 | Bool_t UseLocalTrkSelection() const {return TestBit(kUseLocalTrkSelection);} | |
60 | ||
1ee39b3a | 61 | private: |
3f19c2cd | 62 | // rough radial limits for TRD |
63 | static const Float_t fgkTPC; // end TPC | |
64 | static const Float_t fgkTOF; // begin TOF | |
65 | // Trigger selection | |
66 | TString fEvTrigger; // list of trigger classes separated by space | |
67 | // Vertex selection | |
68 | static const Float_t fgkEvVertexZ;// cm | |
69 | static const Int_t fgkEvVertexN;// cm | |
70 | // Track selection | |
71 | static const Float_t fgkTrkDCAxy; // cm | |
72 | static const Float_t fgkTrkDCAz; // cm | |
73 | static const Int_t fgkNclTPC; // N clusters TPC | |
74 | static const Float_t fgkPt; // min. pt | |
75 | static const Float_t fgkEta; // eta range | |
07ece31c | 76 | |
1ee39b3a | 77 | AliTRDinfoGen(const AliTRDinfoGen&); |
78 | AliTRDinfoGen& operator=(const AliTRDinfoGen&); | |
79 | ||
80 | AliESDEvent *fESDev; //! ESD event | |
81 | AliMCEvent *fMCev; //! MC event | |
1ee39b3a | 82 | AliTRDtrackInfo *fTrackInfo; //! Track info |
f8f46e4d | 83 | AliTRDeventInfo *fEventInfo; //! Event info |
1ee39b3a | 84 | TObjArray *fV0container; //! V0 container |
07ece31c | 85 | AliTRDv0Info *fV0Info; //! V0 info |
86 | // event/track cuts OO - to be used | |
87 | AliTRDeventCuts *fEventCut; // event cut | |
88 | AliESDtrackCuts *fTrackCut; // track cut | |
1ee39b3a | 89 | |
07ece31c | 90 | ClassDef(AliTRDinfoGen, 4) // entry to TRD analysis train |
1ee39b3a | 91 | }; |
92 | #endif |