StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StCdfChargedConeJetFinder.h
1 // -*- mode: c++;-*-
2 // $Id: StCdfChargedConeJetFinder.h,v 1.19 2008/05/08 05:02:13 tai Exp $
3 #ifndef STCDFCHARGEDCONEJETFINDER_H
4 #define STCDFCHARGEDCONEJETFINDER_H
5 
13 #include "StConeJetFinderBase.h"
14 #include "StCdfChargedConePars.h"
15 
16 #include "StCdfChargedJetEtCellFactory.h"
17 
24 {
25 public:
26 
28  virtual ~StCdfChargedConeJetFinder();
29 
30  void findJets(JetList& protoJetList, const FourVecList& particleList);
31 
32 private:
33 
34  CellList generateLeadingPtOrderedList(JetList& protoJetList);
35 
36  void clearPreviousResult();
37 
38  void storeTheResultIn(JetList& protoJetList);
39 
40  void findProtoJets(CellList& toSearchList);
41 
42  void findJetAroundThis(StEtaPhiCell* cell);
43 
44  bool shouldNotAddToTheCell(const StEtaPhiCell& theCell, const StEtaPhiCell& otherCell) const;
45 
46  bool shouldNotSearchForJetAroundThis(const StEtaPhiCell* cell) const;
47 
48  void addToPrejets(StEtaPhiCell& cell);
49 
50  StJetEtCellFactory* makeCellFactory();
51 
52  CellList _preJets;
53 
54 };
55 
56 #endif // STCDFCHARGEDCONEJETFINDER_H
57