◆ ElectronPFIsolationWithConeVeto() [1/2]
ElectronPFIsolationWithConeVeto::ElectronPFIsolationWithConeVeto |
( |
const edm::ParameterSet & |
c | ) |
|
|
inline |
◆ ElectronPFIsolationWithConeVeto() [2/2]
◆ ~ElectronPFIsolationWithConeVeto()
ElectronPFIsolationWithConeVeto::~ElectronPFIsolationWithConeVeto |
( |
| ) |
|
|
inlineoverride |
◆ isInIsolationCone()
Implements citk::IsolationConeDefinitionBase.
Definition at line 73 of file ElectronPFIsolationWithConeVeto.cc.
83 if (aspacked.isNonnull() && aspacked.get()) {
84 if (aspacked->charge() != 0) {
85 bool is_vertex_allowed =
false;
87 if (vtxtype == aspacked->fromPV()) {
88 is_vertex_allowed =
true;
95 }
else if (aspf.isNonnull() && aspf.get()) {
98 throw cms::Exception(
"InvalidIsolationInput") <<
"The supplied candidate to be used as isolation "
99 <<
"was neither a reco::PFCandidate nor a pat::PackedCandidate!";
References citk::IsolationConeDefinitionBase::_coneSize2, _miniAODVertexCodes, _vetoConeSize2EB, _vetoConeSize2EE, reco::deltaR2(), EcalBarrel, Exception, edm::Ptr< T >::get(), edm::Ptr< T >::isNonnull(), mps_fire::result, SurveyInfoScenario_cff::seed, and reco::GsfElectron::superCluster().
◆ operator=()
◆ setConsumes()
◆ _isolateAgainst
const std::string ElectronPFIsolationWithConeVeto::_isolateAgainst |
|
private |
◆ _miniAODVertexCodes
const std::vector<unsigned> ElectronPFIsolationWithConeVeto::_miniAODVertexCodes |
|
private |
◆ _vetoConeSize2EB
const float ElectronPFIsolationWithConeVeto::_vetoConeSize2EB |
|
private |
◆ _vetoConeSize2EE
const float ElectronPFIsolationWithConeVeto::_vetoConeSize2EE |
|
private |
◆ _vtxToken