]>
Commit | Line | Data |
---|---|---|
173fc48d | 1 | //-*- Mode: C++ -*- |
2 | ||
efcfeaca | 3 | // $Id$ |
173fc48d | 4 | |
5 | #ifndef ALIHLTESDTRACKCUTS_H | |
6 | #define ALIHLTESDTRACKCUTS_H | |
7 | ||
8 | /* This file is property of and copyright by the ALICE HLT Project * | |
9 | * ALICE Experiment at CERN, All rights reserved. * | |
10 | * See cxx source for full Copyright notice */ | |
11 | ||
efcfeaca | 12 | /// @file AliHLTESDTrackCuts.h |
13 | /// @author Jochen Thaeder <jochen@thaeder.de> | |
14 | /// @brief ESD track cuts used in the analysis of HLT data | |
15 | /// | |
173fc48d | 16 | |
17 | // see below for class documentation | |
18 | // or | |
19 | // refer to README to build package | |
20 | // or | |
21 | // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt | |
22 | ||
23 | #include "AliESDtrackCuts.h" | |
24 | #include "AliHLTLogging.h" | |
25 | ||
26 | /** | |
27 | * @class AliHLTESDTrackCuts | |
28 | * This class is an HLT wrapper for ESD track cuts used in the analysis | |
29 | * | |
30 | * It provides a method function to the 2010 standard pp cuts. | |
31 | */ | |
32 | ||
33 | class AliHLTESDTrackCuts : public AliESDtrackCuts, public AliHLTLogging { | |
34 | public: | |
35 | ||
36 | /* | |
37 | * --------------------------------------------------------------------------------- | |
38 | * Constructor / Destructor | |
39 | * --------------------------------------------------------------------------------- | |
40 | */ | |
41 | ||
42 | /** Constructor */ | |
43 | AliHLTESDTrackCuts(const Char_t* name = "AliHLTESDTrackCuts", const Char_t* title = ""); | |
44 | ||
45 | /** Destructor */ | |
46 | ~AliHLTESDTrackCuts(); | |
47 | ||
48 | /* | |
49 | * --------------------------------------------------------------------------------- | |
50 | * Selection | |
51 | * --------------------------------------------------------------------------------- | |
52 | */ | |
53 | ||
54 | /** Selection of esd track | |
55 | * @param obj ptr to AliESDtrack | |
56 | * @return kTRUE if track survives the cuts | |
57 | */ | |
58 | virtual Bool_t IsSelected(TObject* obj); | |
59 | ||
60 | /* | |
61 | * --------------------------------------------------------------------------------- | |
62 | * Standard Track Cut Definitions | |
63 | * --------------------------------------------------------------------------------- | |
64 | */ | |
65 | ||
66 | /** Get standard ESD track cuts used for 2010 pp data analysis | |
67 | * Important : Returned object has to be deleted by user ! | |
68 | * | |
69 | * !!! Be aware - this is not the final yet | |
70 | * | |
71 | * @return new AliHLTESDTrackCuts object, to be deleted by user | |
72 | */ | |
73 | static AliHLTESDTrackCuts* GetStandardTrackCuts2010pp(); | |
74 | ||
75 | /////////////////////////////////////////////////////////////////////////////////// | |
76 | ||
77 | private: | |
78 | ||
79 | /** copy constructor prohibited */ | |
80 | AliHLTESDTrackCuts(const AliHLTESDTrackCuts&); | |
81 | ||
82 | /** assignment operator prohibited */ | |
83 | AliHLTESDTrackCuts& operator=(const AliHLTESDTrackCuts&); | |
84 | ||
85 | ClassDef(AliHLTESDTrackCuts, 0) | |
86 | }; | |
87 | #endif |