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) {
61 ((it->vertex() - vtx).Rho() <
theDiff_r)) {
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) {
89 && it->superClusterRef().isNonnull()
90 && cand.
superCluster() == it->superClusterRef())
continue;
93 ((it->vertex() - vtx).Rho() <
theDiff_r)) {
96 deposit.addDeposit(dirTrk, it->pt());
109 deposit.setVeto(
veto(candDir) );
110 deposit.addCandEnergy(cand.
pt());
116 for (PFCandidateCollection::const_iterator it = PFCandH->begin(), ed = PFCandH->end(); it != ed; ++it) {
121 ((it->vertex() - vtx).Rho() <
theDiff_r)) {
124 deposit.addDeposit(dirTrk, it->pt());
136 deposit.setVeto(
veto(candDir) );
137 deposit.addCandEnergy(cand.
pt());
143 for (PFCandidateCollection::const_iterator it = PFCandH->begin(), ed = PFCandH->end(); it != ed; ++it) {
150 ((it->vertex() - vtx).Rho() <
theDiff_r)) {
153 deposit.addDeposit(dirTrk, it->pt());
virtual double vz() const
z coordinate of vertex position
edm::EDGetTokenT< reco::PFCandidateCollection > thePFCandToken
virtual const Point & vertex() const
vertex position (overwritten by PF...)
reco::SuperClusterRef superCluster() const
Ref to SuperCluster.
double phi() const
azimuthal angle of momentum vector
bool theVetoSuperClusterMatch
bool isNonnull() const
Checks for non-null.
virtual float phi() const GCC11_FINAL
momentum azimuthal angle
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
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
virtual double vz() const
z coordinate of vertex position
reco::IsoDeposit::Veto veto(const reco::IsoDeposit::Direction &dir) const
virtual float eta() const GCC11_FINAL
momentum pseudorapidity
double deltaR(double eta1, double eta2, double phi1, double phi2)
const Point & vertex() const
reference point on the track. This method is DEPRECATED, please use referencePoint() instead ...
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 float pt() const GCC11_FINAL
transverse momentum
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