]>
Commit | Line | Data |
---|---|---|
61899827 | 1 | /* $Id: AliPhysicsSelection.h 35782 2009-10-22 11:54:31Z jgrosseo $ */ |
2 | ||
3 | #ifndef ALIPHYSICSSELECTION_H | |
4 | #define ALIPHYSICSSELECTION_H | |
5 | ||
6 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
7 | * See cxx source for full Copyright notice */ | |
8 | ||
9 | //------------------------------------------------------------------------- | |
10 | // Implementation of Class AliPhysicsSelection | |
11 | // | |
12 | // This class selects collision candidates from data runs, applying selection cuts on triggers | |
13 | // and background rejection based on the content of the ESD | |
14 | // | |
15 | // Origin: Jan Fiete Grosse-Oetringhaus, CERN | |
16 | //------------------------------------------------------------------------- | |
17 | ||
18 | #include <TObject.h> | |
19 | #include <TList.h> | |
20 | ||
21 | class AliESDEvent; | |
22 | class TH1; | |
23 | class TH2; | |
24 | class TCollection; | |
25 | class AliTriggerAnalysis; | |
26 | ||
27 | class AliPhysicsSelection : public TObject | |
28 | { | |
29 | public: | |
30 | AliPhysicsSelection(); | |
31 | virtual ~AliPhysicsSelection(); | |
32 | ||
33 | Bool_t IsCollisionCandidate(const AliESDEvent* aEsd); | |
34 | Bool_t Initialize(UInt_t runNumber); | |
35 | ||
36 | virtual void Print(Option_t* option = "") const; | |
37 | virtual Long64_t Merge(TCollection* list); | |
38 | void SaveHistograms(const char* folder = 0) const; | |
39 | ||
40 | TList* GetRequiredTriggerClasses() { return &fRequTrigClasses; } | |
41 | TList* GetRejectedTriggerClasses() { return &fRejTrigClasses; } | |
42 | ||
43 | protected: | |
44 | AliTriggerAnalysis* fTriggerAnalysis; // offline trigger object | |
45 | ||
46 | TList fRequTrigClasses; // list of trigger class required for collision candidates | |
47 | TList fRejTrigClasses; // list of trigger classes not allowed for collision candidates | |
48 | ||
49 | TH1* fHistStatistics; // how many events are cut away why | |
50 | TH1* fHistBunchCrossing; // histograms of accepted bunch crossing numbers | |
51 | ||
52 | ClassDef(AliPhysicsSelection, 1) | |
53 | ||
54 | private: | |
55 | AliPhysicsSelection(const AliPhysicsSelection&); | |
56 | AliPhysicsSelection& operator=(const AliPhysicsSelection&); | |
57 | }; | |
58 | ||
59 | #endif |