14 theDepositLabel(par.getUntrackedParameter<
std::
string>(
"DepositLabel")),
15 theVetoSuperClusterMatch(par.getParameter<
bool>(
"SCMatch_Veto")),
16 theMissHitVetoSuperClusterMatch(par.getParameter<
bool>(
"MissHitSCMatch_Veto")),
17 theDiff_r(par.getParameter<double>(
"Diff_r")),
18 theDiff_z(par.getParameter<double>(
"Diff_z")),
19 theDR_Max(par.getParameter<double>(
"DR_Max")),
20 theDR_Veto(par.getParameter<double>(
"DR_Veto")) {
52 for (PFCandidateCollection::const_iterator
it = PFCandH->begin(), ed = PFCandH->end();
it != ed; ++
it) {
56 cand.superCluster() ==
it->superClusterRef())
82 for (PFCandidateCollection::const_iterator
it = PFCandH->begin(), ed = PFCandH->end();
it != ed; ++
it) {
87 it->superClusterRef().isNonnull() &&
cand.superCluster() ==
it->superClusterRef()) {
113 for (PFCandidateCollection::const_iterator
it = PFCandH->begin(), ed = PFCandH->end();
it != ed; ++
it) {
139 for (PFCandidateCollection::const_iterator
it = PFCandH->begin(), ed = PFCandH->end();
it != ed; ++
it) {
142 cand.superClusterRef() ==
it->superClusterRef())
void setVeto(const Veto &aVeto)
Set veto.
edm::EDGetTokenT< reco::PFCandidateCollection > thePFCandToken
bool theVetoSuperClusterMatch
void addDeposit(double dr, double deposit)
Add deposit (ie. transverse energy or pT)
bool theMissHitVetoSuperClusterMatch
reco::IsoDeposit depositFromObject(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Photon &cand) const
void addCandEnergy(double et)
Set energy or pT attached to cand trajectory.
math::XYZPoint Point
point in the space
Abs< T >::type abs(const T &t)
PFCandWithSuperClusterExtractor()
std::vector< reco::PFCandidate > PFCandidateCollection
collection of PFCandidates
reco::IsoDeposit deposit(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &muon) const override
Particle reconstructed by the particle flow algorithm.
reco::IsoDeposit::Veto veto(const reco::IsoDeposit::Direction &dir) const
#define DEFINE_EDM_PLUGIN(factory, type, name)