Go to the documentation of this file.00001 #ifndef RecoParticleFlow_PFClusterTools_LinkByRecHit_h
00002 #define RecoParticleFlow_PFClusterTools_LinkByRecHit_h
00003
00004 #include "DataFormats/ParticleFlowReco/interface/PFCluster.h"
00005 #include "DataFormats/ParticleFlowReco/interface/PFRecTrack.h"
00006
00007
00008
00009 class LinkByRecHit {
00010 public:
00011 LinkByRecHit() {};
00012 ~LinkByRecHit() {} ;
00013
00015 static double computeDist( double eta1, double phi1,
00016 double eta2, double phi2,
00017 bool etaPhi = true) ;
00018
00019
00020 static double testTrackAndClusterByRecHit( const reco::PFRecTrack& track,
00021 const reco::PFCluster& cluster,
00022 bool isBrem = false,
00023 bool debug = false ) ;
00024
00025
00026 static double testECALAndPSByRecHit( const reco::PFCluster& clusterECAL,
00027 const reco::PFCluster& clusterPS,
00028 bool debug=false) ;
00029
00031 static double testHFEMAndHFHADByRecHit( const reco::PFCluster& clusterHFEM,
00032 const reco::PFCluster& clusterHFHAD,
00033 bool debug=false) ;
00034
00035
00036 };
00037
00038 #endif