CMS 3D CMS Logo

SimG4HcalHitJetFinder.h
Go to the documentation of this file.
1 // File: SimG4HcalHitJetFinder.h
3 // Jet finder class for analysis in SimG4HcalValidation
5 #ifndef Validation_HcalHits_SimG4HcalHitJetFinder_H
6 #define Validation_HcalHits_SimG4HcalHitJetFinder_H
7 
10 
11 #include <vector>
12 
14 
15 public:
16 
17  SimG4HcalHitJetFinder(double cone=0.5);
18  virtual ~SimG4HcalHitJetFinder();
19 
20  void setCone(double);
21  void setInput(std::vector<CaloHit> *);
22  std::vector<SimG4HcalHitCluster> * getClusters(bool);
23  double rDist(const SimG4HcalHitCluster* , const CaloHit*) const;
24  double rDist(const double, const double, const double, const double) const;
25 
26 private :
27 
28  double jetcone;
29  std::vector<CaloHit> input;
30  std::vector<SimG4HcalHitCluster> clusvector;
31 
32 };
33 
34 #endif
void setInput(std::vector< CaloHit > *)
std::vector< CaloHit > input
SimG4HcalHitJetFinder(double cone=0.5)
std::vector< SimG4HcalHitCluster > clusvector
std::vector< SimG4HcalHitCluster > * getClusters(bool)
double rDist(const SimG4HcalHitCluster *, const CaloHit *) const