14 thePFCandTag(par.getParameter<edm::
InputTag>(
"inputCandView")),
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
virtual const Point & vertex() const
vertex position
reco::SuperClusterRef superCluster() const
Ref to SuperCluster.
double phi() const
azimuthal angle of momentum vector
bool theVetoSuperClusterMatch
virtual double eta() const
momentum pseudorapidity
bool isNonnull() const
Checks for non-null.
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
virtual const Point & vertex() const
vertex position
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
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()
virtual double pt() const
transverse momentum
Particle reconstructed by the particle flow algorithm.
edm::InputTag thePFCandTag
#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 double phi() const
momentum azimuthal angle
virtual GsfTrackRef gsfTrack() const
reference to a GsfTrack
reco::SuperClusterRef superClusterRef() const
return a reference to the corresponding SuperCluster if any