]>
Commit | Line | Data |
---|---|---|
7c3c85cd | 1 | //-*- Mode: C++ -*- |
2 | ||
3 | // $Id: AliHLTJETConeHeader.h $ | |
4 | ||
5 | #ifndef ALIHLTJETCONEHEADER_H | |
6 | #define ALIHLTJETCONEHEADER_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 | ||
12 | /** @file AliHLTJETConeHeader.h | |
13 | @author Jochen Thaeder | |
14 | @date | |
15 | @brief Header of the cone finder | |
16 | */ | |
17 | ||
18 | // see below for class documentation | |
19 | // or | |
20 | // refer to README to build package | |
21 | // or | |
22 | // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt | |
23 | ||
24 | #include "AliJetHeader.h" | |
25 | ||
26 | #include "AliHLTLogging.h" | |
27 | #include "AliHLTJETBase.h" | |
28 | ||
29 | #include "AliHLTJETJetCuts.h" | |
30 | ||
31 | /** | |
32 | * @class AliHLTJETConeHeader | |
33 | * Header of the cone finder | |
34 | * | |
35 | * @ingroup alihlt_jet_cone | |
36 | */ | |
37 | ||
38 | class AliHLTJETConeHeader : public AliJetHeader, public AliHLTLogging { | |
39 | ||
40 | public: | |
41 | ||
42 | /* | |
43 | * --------------------------------------------------------------------------------- | |
44 | * Constructor / Destructor | |
45 | * --------------------------------------------------------------------------------- | |
46 | */ | |
47 | ||
48 | /** standard constructor */ | |
49 | AliHLTJETConeHeader(); | |
50 | ||
51 | /** destructor */ | |
52 | virtual ~AliHLTJETConeHeader(); | |
53 | ||
54 | /* | |
55 | * --------------------------------------------------------------------------------- | |
56 | * Initialize | |
57 | * --------------------------------------------------------------------------------- | |
58 | */ | |
59 | ||
60 | /** Initialize the jet header | |
61 | * @return 0 on success, < 0 on failure | |
62 | */ | |
63 | Int_t Initialize(); | |
64 | ||
65 | /* | |
66 | * --------------------------------------------------------------------------------- | |
67 | * Setter | |
68 | * --------------------------------------------------------------------------------- | |
69 | */ | |
70 | ||
71 | /** Set Analysis Cuts | |
72 | * @param cuts ptr to AliHLTJETJetCuts | |
73 | */ | |
74 | void SetJetCuts( AliHLTJETJetCuts* cuts ) { fJetCuts = cuts; } | |
75 | ||
76 | /** Set flag to use only leading seed */ | |
1f9fec4a | 77 | void SetUseLeading( Bool_t b ) { fUseLeading = b; } |
7c3c85cd | 78 | |
79 | /* | |
80 | * --------------------------------------------------------------------------------- | |
81 | * Getter | |
82 | * --------------------------------------------------------------------------------- | |
83 | */ | |
84 | ||
85 | /** Get Analysis Cuts | |
86 | * @return ptr to AliHLTJETJetCuts | |
87 | */ | |
88 | AliHLTJETJetCuts* GetJetCuts() { return fJetCuts; } | |
89 | ||
90 | /** Get flag to use only leading seed | |
91 | * @return if kTRUE, only leading seed is used | |
92 | */ | |
1f9fec4a | 93 | Bool_t GetUseLeading() { return fUseLeading; } |
7c3c85cd | 94 | |
95 | /////////////////////////////////////////////////////////////////////////////////// | |
96 | ||
97 | private: | |
98 | ||
99 | /** copy constructor prohibited */ | |
100 | AliHLTJETConeHeader (const AliHLTJETConeHeader&); | |
101 | ||
102 | /** assignment operator prohibited */ | |
103 | AliHLTJETConeHeader& operator= (const AliHLTJETConeHeader&); | |
104 | ||
105 | /* | |
106 | * --------------------------------------------------------------------------------- | |
107 | * Members - private | |
108 | * --------------------------------------------------------------------------------- | |
109 | */ | |
110 | ||
111 | /** Cuts on jet selection */ | |
112 | AliHLTJETJetCuts *fJetCuts; //! transient | |
113 | ||
114 | /** if kTRUE, only leading seed is used */ | |
115 | Bool_t fUseLeading; // see above | |
116 | ||
7c3c85cd | 117 | ClassDef(AliHLTJETConeHeader, 1) |
118 | ||
119 | }; | |
120 | #endif | |
121 |