CMS 3D CMS Logo

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
HLT_2018_cff.eta1
eta1
Definition: HLT_2018_cff.py:8220
LinkByRecHit::testTrackAndClusterByRecHit
static double testTrackAndClusterByRecHit(const reco::PFRecTrack &track, const reco::PFCluster &cluster, bool isBrem=false, bool debug=false)
Definition: LinkByRecHit.cc:16
LinkByRecHit::testECALAndPSByRecHit
static double testECALAndPSByRecHit(const reco::PFCluster &clusterECAL, const reco::PFCluster &clusterPS, bool debug=false)
Definition: LinkByRecHit.cc:361
LinkByRecHit::LinkByRecHit
LinkByRecHit()
Definition: LinkByRecHit.h:9
debug
#define debug
Definition: HDRShower.cc:19
PFCluster.h
HLT_2018_cff.eta2
eta2
Definition: HLT_2018_cff.py:8221
LinkByRecHit::~LinkByRecHit
~LinkByRecHit()
Definition: LinkByRecHit.h:10
LinkByRecHit::testHFEMAndHFHADByRecHit
static double testHFEMAndHFHADByRecHit(const reco::PFCluster &clusterHFEM, const reco::PFCluster &clusterHFHAD, bool debug=false)
test association between HFEM and HFHAD, by rechit
Definition: LinkByRecHit.cc:493
PFRecTrack.h
reco::PFRecTrack
reconstructed track used as an input to particle flow
Definition: PFRecTrack.h:22
reco::PFCluster
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
Definition: PFCluster.h:46
HLT_2018_cff.track
track
Definition: HLT_2018_cff.py:10352
LinkByRecHit
Definition: LinkByRecHit.h:7
LinkByRecHit::computeDist
static double computeDist(double eta1, double phi1, double eta2, double phi2, bool etaPhi=true)
computes a chisquare
Definition: LinkByRecHit.cc:517