◆ PhotonPFIsolationWithMapBasedVeto() [1/2]
PhotonPFIsolationWithMapBasedVeto::PhotonPFIsolationWithMapBasedVeto |
( |
const edm::ParameterSet & |
c | ) |
|
|
inline |
◆ PhotonPFIsolationWithMapBasedVeto() [2/2]
◆ ~PhotonPFIsolationWithMapBasedVeto()
PhotonPFIsolationWithMapBasedVeto::~PhotonPFIsolationWithMapBasedVeto |
( |
| ) |
|
|
inlineoverride |
◆ getEventInfo()
void PhotonPFIsolationWithMapBasedVeto::getEventInfo |
( |
const edm::Event & |
iEvent | ) |
|
|
inlineoverridevirtual |
◆ isInIsolationCone()
Implements citk::IsolationConeDefinitionBase.
Definition at line 111 of file PhotonPFIsolationWithMapBasedVeto.cc.
119 bool inFootprint =
false;
121 const float deltar2 =
125 if (aspacked.get()) {
126 inFootprint = isInFootprint(aspat_photonptr->associatedPackedPFCandidates(), aspacked);
129 if (aspacked->charge() != 0) {
130 bool is_vertex_allowed =
false;
133 is_vertex_allowed =
true;
138 result &= (is_vertex_allowed);
146 else if (aspf.get() && aspf.isNonnull()) {
154 throw cms::Exception(
"InvalidIsolationInput") <<
"The supplied candidate to be used as isolation "
155 <<
"was neither a reco::Photon nor a pat::Photon!";
References citk::IsolationConeDefinitionBase::_coneSize2, _miniAODVertexCodes, _vertexIndex, reco::deltaR2(), Exception, edm::Ptr< T >::get(), edm::Ptr< T >::isNonnull(), particleBasedIsolationMap, muons2muons_cfi::photon, and mps_fire::result.
◆ operator=()
◆ setConsumes()
◆ _isolateAgainst
const std::string PhotonPFIsolationWithMapBasedVeto::_isolateAgainst |
|
private |
◆ _miniAODVertexCodes
const std::vector<unsigned> PhotonPFIsolationWithMapBasedVeto::_miniAODVertexCodes |
|
private |
◆ _particleBasedIsolation
const edm::InputTag PhotonPFIsolationWithMapBasedVeto::_particleBasedIsolation |
|
private |
◆ _vertexCollection
const std::string PhotonPFIsolationWithMapBasedVeto::_vertexCollection |
|
private |
◆ _vertexIndex
const unsigned PhotonPFIsolationWithMapBasedVeto::_vertexIndex |
|
private |
◆ particleBasedIsolationMap
◆ particleBasedIsolationToken_