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
SimG4HcalHitJetFinder
Definition: SimG4HcalHitJetFinder.h:13
SimG4HcalHitJetFinder::getClusters
std::vector< SimG4HcalHitCluster > * getClusters(bool)
Definition: SimG4HcalHitJetFinder.cc:21
SimG4HcalHitJetFinder::clusvector
std::vector< SimG4HcalHitCluster > clusvector
Definition: SimG4HcalHitJetFinder.h:27
SimG4HcalHitJetFinder::~SimG4HcalHitJetFinder
virtual ~SimG4HcalHitJetFinder()
Definition: SimG4HcalHitJetFinder.cc:15
SimG4HcalHitJetFinder::SimG4HcalHitJetFinder
SimG4HcalHitJetFinder(double cone=0.5)
Definition: SimG4HcalHitJetFinder.cc:13
SimG4HcalHitJetFinder::input
std::vector< CaloHit > input
Definition: SimG4HcalHitJetFinder.h:26
SimG4HcalHitJetFinder::jetcone
double jetcone
Definition: SimG4HcalHitJetFinder.h:25
SimG4HcalHitJetFinder::setInput
void setInput(std::vector< CaloHit > *)
Definition: SimG4HcalHitJetFinder.cc:19
SimG4HcalHitJetFinder::setCone
void setCone(double)
Definition: SimG4HcalHitJetFinder.cc:17
CaloHit
Definition: CaloHit.h:12
SimG4HcalHitJetFinder::rDist
double rDist(const SimG4HcalHitCluster *, const CaloHit *) const
Definition: SimG4HcalHitJetFinder.cc:111
SimG4HcalHitCluster
Definition: SimG4HcalHitCluster.h:12
CaloHit.h
SimG4HcalHitCluster.h