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) {
95 && ((it->vertex() - vtx).Rho() <
theDiff_r)) {
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) {
123 ((it->vertex() - vtx).Rho() <
theDiff_r)) {
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) {
152 ((it->vertex() - vtx).Rho() <
theDiff_r)) {
155 deposit.addDeposit(dirTrk, it->pt());
virtual double vz() const
z coordinate of vertex position
bool isNonnull() const
Checks for non-null.
virtual float pt() const
transverse momentum
reco::SuperClusterRef superCluster() const
Ref to SuperCluster.
edm::EDGetTokenT< reco::PFCandidateCollection > thePFCandToken
virtual const Point & vertex() const
vertex position (overwritten by PF...)
virtual float phi() const
momentum azimuthal angle
double phi() const
azimuthal angle of momentum vector
bool theVetoSuperClusterMatch
const Point & vertex() const
reference point on the track. This method is DEPRECATED, please use referencePoint() instead ...
double eta() const
pseudorapidity of momentum vector
virtual float eta() const
momentum pseudorapidity
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
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