test
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  bool etaPhi = true) ;
18 
19  //tests association between a track and a cluster by rechit
20  static double testTrackAndClusterByRecHit( const reco::PFRecTrack& track,
21  const reco::PFCluster& cluster,
22  bool isBrem = false,
23  bool debug = false ) ;
24 
25  //tests association between ECAL and PS clusters by rechit
26  static double testECALAndPSByRecHit( const reco::PFCluster& clusterECAL,
27  const reco::PFCluster& clusterPS,
28  bool debug=false) ;
29 
31  static double testHFEMAndHFHADByRecHit( const reco::PFCluster& clusterHFEM,
32  const reco::PFCluster& clusterHFHAD,
33  bool debug=false) ;
34 
35 
36 };
37 
38 #endif
reconstructed track used as an input to particle flow
Definition: PFRecTrack.h:22
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:47
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