◆ PhotonPFIsolationWithConeVeto() [1/2]
PhotonPFIsolationWithConeVeto::PhotonPFIsolationWithConeVeto |
( |
const edm::ParameterSet & |
c | ) |
|
|
inline |
◆ PhotonPFIsolationWithConeVeto() [2/2]
◆ ~PhotonPFIsolationWithConeVeto()
PhotonPFIsolationWithConeVeto::~PhotonPFIsolationWithConeVeto |
( |
| ) |
|
|
inlineoverride |
◆ isInIsolationCone()
Implements citk::IsolationConeDefinitionBase.
Definition at line 73 of file PhotonPFIsolationWithConeVeto.cc.
References citk::IsolationConeDefinitionBase::_coneSize2, _miniAODVertexCodes, _vertexIndex, _vetoConeSize2EB, _vetoConeSize2EE, reco::deltaR2(), EcalBarrel, Exception, edm::Ptr< T >::get(), electrons_cff::isEB, edm::Ptr< T >::isNonnull(), displacedMuons_cfi::photon, mps_fire::result, and fileCollector::seed.
83 if (aspacked.isNonnull() && aspacked.get()) {
84 if (aspacked->charge() != 0) {
85 bool is_vertex_allowed =
false;
88 is_vertex_allowed =
true;
92 result &= (is_vertex_allowed);
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!";
const unsigned _vertexIndex
const std::vector< unsigned > _miniAODVertexCodes
const float _vetoConeSize2EB
const float _vetoConeSize2EE
constexpr auto deltaR2(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
◆ operator=()
◆ setConsumes()
◆ _isolateAgainst
const std::string PhotonPFIsolationWithConeVeto::_isolateAgainst |
|
private |
◆ _miniAODVertexCodes
const std::vector<unsigned> PhotonPFIsolationWithConeVeto::_miniAODVertexCodes |
|
private |
◆ _vertexIndex
const unsigned PhotonPFIsolationWithConeVeto::_vertexIndex |
|
private |
◆ _vetoConeSize2EB
const float PhotonPFIsolationWithConeVeto::_vetoConeSize2EB |
|
private |
◆ _vetoConeSize2EE
const float PhotonPFIsolationWithConeVeto::_vetoConeSize2EE |
|
private |
◆ _vtxToken