RecoParticleFlow
PFClusterTools
interface
LinkByRecHit.h
Go to the documentation of this file.
1
#ifndef RecoParticleFlow_PFClusterTools_LinkByRecHit_h
2
#define RecoParticleFlow_PFClusterTools_LinkByRecHit_h
3
4
#include "
DataFormats/ParticleFlowReco/interface/PFCluster.h
"
5
#include "
DataFormats/ParticleFlowReco/interface/PFRecTrack.h
"
6
7
class
LinkByRecHit
{
8
public
:
9
LinkByRecHit
(){};
10
~LinkByRecHit
(){};
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
16
static
double
testTrackAndClusterByRecHit
(
const
reco::PFRecTrack
&
track
,
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_FULL_cff.track
track
Definition:
HLT_FULL_cff.py:11713
LinkByRecHit::testTrackAndClusterByRecHit
static double testTrackAndClusterByRecHit(const reco::PFRecTrack &track, const reco::PFCluster &cluster, bool isBrem=false, bool debug=false)
Definition:
LinkByRecHit.cc:18
LinkByRecHit::testECALAndPSByRecHit
static double testECALAndPSByRecHit(const reco::PFCluster &clusterECAL, const reco::PFCluster &clusterPS, bool debug=false)
Definition:
LinkByRecHit.cc:363
LinkByRecHit::LinkByRecHit
LinkByRecHit()
Definition:
LinkByRecHit.h:9
debug
#define debug
Definition:
HDRShower.cc:19
HLT_FULL_cff.eta2
eta2
Definition:
HLT_FULL_cff.py:9542
PFCluster.h
HLT_FULL_cff.eta1
eta1
Definition:
HLT_FULL_cff.py:9541
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:495
PFRecTrack.h
reco::PFRecTrack
reconstructed track used as an input to particle flow
Definition:
PFRecTrack.h:20
reco::PFCluster
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
Definition:
PFCluster.h:42
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:519
Generated for CMSSW Reference Manual by
1.8.16