CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
LinkByRecHit.h
Go to the documentation of this file.
1 #ifndef RecoParticleFlow_PFClusterTools_LinkByRecHit_h
2 #define RecoParticleFlow_PFClusterTools_LinkByRecHit_h
3 
6 
7 class LinkByRecHit {
8 public:
11 
13  static double computeDist(double eta1, double phi1, double eta2, double phi2, bool etaPhi = true);
14 
15  //tests association between a track and a cluster by rechit
17  const reco::PFCluster& cluster,
18  bool isBrem = false,
19  bool debug = false);
20 
21  //tests association between ECAL and PS clusters by rechit
22  static double testECALAndPSByRecHit(const reco::PFCluster& clusterECAL,
23  const reco::PFCluster& clusterPS,
24  bool debug = false);
25 
27  static double testHFEMAndHFHADByRecHit(const reco::PFCluster& clusterHFEM,
28  const reco::PFCluster& clusterHFHAD,
29  bool debug = false);
30 };
31 
32 #endif
reconstructed track used as an input to particle flow
Definition: PFRecTrack.h:20
static double computeDist(double eta1, double phi1, double eta2, double phi2, bool etaPhi=true)
computes a chisquare
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
Definition: PFCluster.h:42
static double testECALAndPSByRecHit(const reco::PFCluster &clusterECAL, const reco::PFCluster &clusterPS, bool debug=false)
#define debug
Definition: HDRShower.cc:19
static double testHFEMAndHFHADByRecHit(const reco::PFCluster &clusterHFEM, const reco::PFCluster &clusterHFHAD, bool debug=false)
test association between HFEM and HFHAD, by rechit
static double testTrackAndClusterByRecHit(const reco::PFRecTrack &track, const reco::PFCluster &cluster, bool isBrem=false, bool debug=false)
Definition: LinkByRecHit.cc:18