]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/JET/AliHLTJETJets.h
new analysis classes, not yet in build system
[u/mrichter/AliRoot.git] / HLT / JET / AliHLTJETJets.h
1 //-*- Mode: C++ -*-
2
3 // $Id: AliHLTJETJets.h  $
4
5 #ifndef ALIHLTJETJETS_H
6 #define ALIHLTJETJETS_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   AliHLTJETJets.h
13     @author Jochen Thaeder
14     @date   
15     @brief  Container holding produced Jets
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 "TClonesArray.h"
25
26 #include "AliAODJet.h"
27
28 #include "AliHLTLogging.h"
29 #include "AliHLTJETBase.h"
30
31 #include "AliHLTJETConeJetCandidate.h"
32
33 /**
34  * @class AliHLTJETJets
35  * This class contains AliAODJets and comments
36  *
37  * @ingroup alihlt_jet
38  */
39
40 class AliHLTJETJets : public TObject, public AliHLTLogging {
41 public:
42   
43   /*
44    * ---------------------------------------------------------------------------------
45    *                            Constructor / Destructor
46    * ---------------------------------------------------------------------------------
47    */
48
49   /** Constructor */
50   AliHLTJETJets();
51   
52   /** Destructor */
53   ~AliHLTJETJets();
54
55   /*
56    * ---------------------------------------------------------------------------------
57    *                                   Initialize / Reset
58    * ---------------------------------------------------------------------------------
59    */
60
61   /** Reset output array */
62   void Reset();
63
64   /*
65    * ---------------------------------------------------------------------------------
66    *                                     Getter
67    * ---------------------------------------------------------------------------------
68    */
69   
70   /* Get number of AODJets */
71   Int_t         GetNAODJets() { return fNAODJets; }
72
73   /** Get ptr to AODJets */
74   TClonesArray* GetAODJets()  { return fAODJets; }
75
76   /** Get AODHet with idx iter */
77   AliAODJet*    GetJet( Int_t iter );
78
79
80   /*
81    * ---------------------------------------------------------------------------------
82    *                                     Setter
83    * ---------------------------------------------------------------------------------
84    */
85
86   /** Add Jet to Container 
87    * @param  jetCandidate  ptr to AliHLTJetFinderJetSeed
88    */
89   void AddJet( AliHLTJETConeJetCandidate* jet );
90
91   ///////////////////////////////////////////////////////////////////////////////////
92   
93  private:
94  
95   /** copy constructor prohibited */
96   AliHLTJETJets(const AliHLTJETJets&);
97   
98   /** assignment operator prohibited */
99   AliHLTJETJets& operator=(const AliHLTJETJets&);
100
101   /*
102    * ---------------------------------------------------------------------------------
103    *                             Members - private
104    * ---------------------------------------------------------------------------------
105    */
106
107   /** Number of AOD jets */
108   Int_t                   fNAODJets;          // see above
109
110   /** Array of AOD jets */
111   TClonesArray*           fAODJets;        // see above
112
113   ClassDef(AliHLTJETJets, 1)
114 };
115 #endif