CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
8 
9 class LinkByRecHit {
10  public:
12  ~LinkByRecHit() {} ;
13 
15  static double computeDist( double eta1, double phi1,
16  double eta2, double phi2 ) ;
17 
18  //tests association between a track and a cluster by rechit
19  static double testTrackAndClusterByRecHit( const reco::PFRecTrack& track,
20  const reco::PFCluster& cluster,
21  bool isBrem = false,
22  bool debug = false ) ;
23 
24  //tests association between ECAL and PS clusters by rechit
25  static double testECALAndPSByRecHit( const reco::PFCluster& clusterECAL,
26  const reco::PFCluster& clusterPS,
27  bool debug=false) ;
28 
30  static double testHFEMAndHFHADByRecHit( const reco::PFCluster& clusterHFEM,
31  const reco::PFCluster& clusterHFHAD,
32  bool debug=false) ;
33 
34 
35 };
36 
37 #endif
reconstructed track used as an input to particle flow
Definition: PFRecTrack.h:22
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)
static double computeDist(double eta1, double phi1, double eta2, double phi2)
computes a chisquare
static double testHFEMAndHFHADByRecHit(const reco::PFCluster &clusterHFEM, const reco::PFCluster &clusterHFHAD, bool debug=false)
test association between HFEM and HFHAD, by rechit
#define debug
Definition: MEtoEDMFormat.h:34
static double testTrackAndClusterByRecHit(const reco::PFRecTrack &track, const reco::PFCluster &cluster, bool isBrem=false, bool debug=false)
Definition: LinkByRecHit.cc:10