In test:
[u/mrichter/AliRoot.git] / HLT / JET / AliHLTJETReaderHeader.h
CommitLineData
0734d112 1//-*- Mode: C++ -*-
2
3// $Id: $
4
5#ifndef ALIHLTJETREADERHEADER_H
6#define ALIHLTJETREADERHEADER_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 AliHLTJETReaderHeader.h
13 @author Jochen Thaeder
14 @date
15 @brief ReaderHeader for jet finder
16*/
17
6ce099ba 18#include "AliHLTJETTrackCuts.h"
19#include "AliHLTJETConeSeedCuts.h"
0734d112 20
21#include "AliJetReaderHeader.h"
22#include "AliHLTLogging.h"
23
24/**
25 * @class AliHLTJETReaderHeader
26 * ReaderHeader for jet finder
27 *
28 * @ingroup alihlt_jet
29 */
30
31class AliHLTJETReaderHeader : public AliJetReaderHeader, public AliHLTLogging {
32
33public:
34
35 /*
36 * ---------------------------------------------------------------------------------
37 * Constructor / Destructor
38 * ---------------------------------------------------------------------------------
39 */
40
41 /** standard constructor */
42 AliHLTJETReaderHeader();
43
44 /** destructor */
45 virtual ~AliHLTJETReaderHeader();
46
6ce099ba 47 /*
48 * ---------------------------------------------------------------------------------
49 * Initialize
50 * ---------------------------------------------------------------------------------
51 */
52
53 /** Initialize reader haeder for cone jet finder
54 * @return 0 on success, otherwise <0
55 */
56 Int_t Initialize();
57
0734d112 58 /*
59 * ---------------------------------------------------------------------------------
60 * Setter
61 * ---------------------------------------------------------------------------------
62 */
63
64 /** Set Analysis Cuts
6ce099ba 65 * @param cuts ptr to AliHLTJETTrackCuts
0734d112 66 */
6ce099ba 67 void SetTrackCuts( AliHLTJETTrackCuts* cuts ) { fTrackCuts = cuts; }
68
69 /** Get Analysis Cuts
70 * @param cuts ptr to AliHLTJETConeSeedCuts
71 */
72 void SetSeedCuts( AliHLTJETConeSeedCuts* cuts ){ fSeedCuts = cuts; }
73
74 /** Set the cone radius */
75 void SetConeRadius( Float_t f ) { fConeRadius = f; }
76
77 /** Set grid binning in eta */
78 void SetGridEtaBinning( Float_t f ) { fGridEtaBinning = f; }
79
80 /** Set grid binning in phi */
81 void SetGridPhiBinning( Float_t f ) { fGridPhiBinning = f; }
0734d112 82
83 /*
84 * ---------------------------------------------------------------------------------
85 * Getter
86 * ---------------------------------------------------------------------------------
87 */
6ce099ba 88
89 /** Get Analysis Cuts
90 * @return ptr to AliHLTJETTrackCuts
91 */
92 AliHLTJETTrackCuts* GetTrackCuts() { return fTrackCuts; }
93
0734d112 94 /** Get Analysis Cuts
6ce099ba 95 * @return ptr to AliHLTJETConeSeedCuts
0734d112 96 */
6ce099ba 97 AliHLTJETConeSeedCuts* GetSeedCuts() { return fSeedCuts; }
98
99 /** Get grid eta range */
100 Float_t GetGridEtaRange() { return fGridEtaRange; }
101
102 /** Get grid phi range */
103 Float_t GetGridPhiRange() { return fGridPhiRange; }
104
105 /** Get grid eta binning */
106 Float_t GetGridEtaBinning() { return fGridEtaBinning; }
107
108 /** Get grid phi binning */
109 Float_t GetGridPhiBinning() { return fGridPhiBinning; }
0734d112 110
6ce099ba 111 /** Get cone radius */
112 Float_t GetConeRadius() { return fConeRadius; }
0734d112 113
114 ///////////////////////////////////////////////////////////////////////////////////
115
116private:
117
118 /** copy constructor prohibited */
119 AliHLTJETReaderHeader (const AliHLTJETReaderHeader&);
120
121 /** assignment operator prohibited */
122 AliHLTJETReaderHeader& operator= (const AliHLTJETReaderHeader&);
123
124 /*
125 * ---------------------------------------------------------------------------------
126 * Members - private
127 * ---------------------------------------------------------------------------------
128 */
129
6ce099ba 130 /** Cuts on track selection */
131 AliHLTJETTrackCuts *fTrackCuts; //! transient
132
133 /** Cuts on seed selection */
134 AliHLTJETConeSeedCuts *fSeedCuts; //! transient
135
136 // -- Grid members
137
138 /** Grid binning in eta */
139 Float_t fGridEtaBinning; // see above
140
141 /** Grid binning in phi */
142 Float_t fGridPhiBinning; // see above
143
144 // -- Grid binning
145
146 /** Grid eta range */
147 Float_t fGridEtaRange; // see above
148
149 /** Grid phi range
150 * abs(phimin)+phiMax + 2*coneRadius;
151 */
152 Float_t fGridPhiRange; // see above
153
154 // -- cone members
155
156 /** Cone radius */
157 Float_t fConeRadius; // see above
0734d112 158
159 ClassDef(AliHLTJETReaderHeader, 1)
160
161};
162#endif
163