15 theDepositLabel(par.getUntrackedParameter<
std::
string>(
"DepositLabel")),
16 theVetoSuperClusterMatch(par.getParameter<bool>(
"SCMatch_Veto")),
17 theMissHitVetoSuperClusterMatch(par.getParameter<bool>(
"MissHitSCMatch_Veto")),
18 theDiff_r(par.getParameter<double>(
"Diff_r")),
19 theDiff_z(par.getParameter<double>(
"Diff_z")),
20 theDR_Max(par.getParameter<double>(
"DR_Max")),
21 theDR_Veto(par.getParameter<double>(
"DR_Veto"))
47 deposit.setVeto(
veto(candDir) );
48 deposit.addCandEnergy(cand.
pt());
55 for (PFCandidateCollection::const_iterator it = PFCandH->begin(), ed = PFCandH->end(); it != ed; ++it) {
64 deposit.addDeposit(dirTrk, it->pt());
76 deposit.setVeto(
veto(candDir) );
77 deposit.addCandEnergy(cand.
pt());
84 for (PFCandidateCollection::const_iterator it = PFCandH->begin(), ed = PFCandH->end(); it != ed; ++it) {
98 deposit.addDeposit(dirTrk, it->pt());
111 deposit.setVeto(
veto(candDir) );
112 deposit.addCandEnergy(cand.
pt());
118 for (PFCandidateCollection::const_iterator it = PFCandH->begin(), ed = PFCandH->end(); it != ed; ++it) {
126 deposit.addDeposit(dirTrk, it->pt());
138 deposit.setVeto(
veto(candDir) );
139 deposit.addCandEnergy(cand.
pt());
145 for (PFCandidateCollection::const_iterator it = PFCandH->begin(), ed = PFCandH->end(); it != ed; ++it) {
155 deposit.addDeposit(dirTrk, it->pt());
virtual double pt() const final
transverse momentum
virtual double vz() const
z coordinate of vertex position
bool isNonnull() const
Checks for non-null.
reco::SuperClusterRef superCluster() const
Ref to SuperCluster.
edm::EDGetTokenT< reco::PFCandidateCollection > thePFCandToken
virtual double eta() const final
momentum pseudorapidity
virtual const Point & vertex() const
vertex position (overwritten by PF...)
double phi() const
azimuthal angle of momentum vector
bool theVetoSuperClusterMatch
virtual double phi() const final
momentum azimuthal angle
const Point & vertex() const
reference point on the track. This method is DEPRECATED, please use referencePoint() instead ...
double eta() const
pseudorapidity of momentum vector
bool theMissHitVetoSuperClusterMatch
virtual SuperClusterRef superCluster() const
reference to a SuperCluster
double pt() const
track transverse momentum
math::XYZPoint Point
point in the space
Abs< T >::type abs(const T &t)
virtual const Point & vertex() const
vertex position (overwritten by PF...)
reco::IsoDeposit depositFromObject(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Photon &cand) const
virtual double vz() const
z coordinate of vertex position
reco::IsoDeposit::Veto veto(const reco::IsoDeposit::Direction &dir) const
double deltaR(double eta1, double eta2, double phi1, double phi2)
double vz() const
z coordinate of the reference point on track
PFCandWithSuperClusterExtractor()
std::vector< reco::PFCandidate > PFCandidateCollection
collection of PFCandidates
Particle reconstructed by the particle flow algorithm.
#define DEFINE_EDM_PLUGIN(factory, type, name)
virtual reco::IsoDeposit deposit(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &muon) const
virtual GsfTrackRef gsfTrack() const
reference to a GsfTrack
reco::SuperClusterRef superClusterRef() const
return a reference to the corresponding SuperCluster if any