3 // $Id: AliHLTJETConeSeedCuts.h $
5 #ifndef ALIHLTJETCONESEEDCUTS_H
6 #define ALIHLTJETCONESEEDCUTS_H
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 */
12 /** @file AliHLTJETConeSeedCuts.h
13 @author Jochen Thaeder
15 @brief Cuts for jet input tracks
18 // see below for class documentation
20 // refer to README to build package
22 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
24 #include "TParticle.h"
26 #include "AliAnalysisCuts.h"
27 #include "AliESDtrack.h"
29 #include "AliHLTLogging.h"
30 #include "AliHLTJETBase.h"
33 * @class AliHLTJETConeSeedCuts
34 * Cuts for seed MC tracks and ESD tracks
36 * @ingroup alihlt_jet_cone
39 class AliHLTJETConeSeedCuts : public AliAnalysisCuts, public AliHLTLogging {
44 * ---------------------------------------------------------------------------------
45 * Constructor / Destructor
46 * ---------------------------------------------------------------------------------
50 AliHLTJETConeSeedCuts(const Char_t* name = "AliHLTJETConeSeedCuts",
51 const Char_t* title = "");
54 virtual ~AliHLTJETConeSeedCuts();
57 * ---------------------------------------------------------------------------------
59 * ---------------------------------------------------------------------------------
63 @param obj esd track or particle
64 @return kTRUE if selected, kFALSE otherwise
66 Bool_t IsSelected( TObject* obj );
69 @param particle particle
70 @return kTRUE if selected, kFALSE otherwise
72 Bool_t IsSelected( TParticle* particle );
75 @param esdTrack esd track
76 @return kTRUE if selected, kFALSE otherwise
78 Bool_t IsSelected( AliESDtrack* esdTrack );
84 Bool_t IsSelected( TList* /*list*/ ) { return kTRUE; }
87 * ---------------------------------------------------------------------------------
89 * ---------------------------------------------------------------------------------
92 /** Set cut on min pt */
93 void SetMinPt( Float_t f ) { fPtMin = f; }
95 /** Set cut on eta acceptance */
96 void SetEtaRange( Float_t etaMin, Float_t etaMax ) { fEtaMin = etaMin; fEtaMax = etaMax; }
98 /** Set cut on phi acceptance */
99 void SetPhiRange( Float_t phiMin, Float_t phiMax ) { fPhiMin = phiMin; fPhiMax = phiMax; }
101 ///////////////////////////////////////////////////////////////////////////////////
105 /** copy constructor prohibited */
106 AliHLTJETConeSeedCuts (const AliHLTJETConeSeedCuts&);
108 /** assignment operator prohibited */
109 AliHLTJETConeSeedCuts& operator= (const AliHLTJETConeSeedCuts&);
112 * ---------------------------------------------------------------------------------
114 * ---------------------------------------------------------------------------------
118 Float_t fPtMin; // see above
121 Float_t fEtaMin; // see above
124 Float_t fEtaMax; // see above
127 Float_t fPhiMin; // see above
130 Float_t fPhiMax; // see above
132 ClassDef(AliHLTJETConeSeedCuts, 1)