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 public:
15  SimG4HcalHitJetFinder(double cone = 0.5);
16  virtual ~SimG4HcalHitJetFinder();
17 
18  void setCone(double);
19  void setInput(std::vector<CaloHit> *);
20  std::vector<SimG4HcalHitCluster> *getClusters(bool);
21  double rDist(const SimG4HcalHitCluster *, const CaloHit *) const;
22  double rDist(const double, const double, const double, const double) const;
23 
24 private:
25  double jetcone;
26  std::vector<CaloHit> input;
27  std::vector<SimG4HcalHitCluster> clusvector;
28 };
29 
30 #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