MuonPFIsolationWithConeVeto::MuonPFIsolationWithConeVeto |
( |
const edm::ParameterSet & |
c | ) |
|
|
inline |
virtual MuonPFIsolationWithConeVeto::~MuonPFIsolationWithConeVeto |
( |
| ) |
|
|
inlinevirtual |
Implements citk::IsolationConeDefinitionBase.
Definition at line 46 of file MuonPFIsolationWithConeVeto.cc.
References pat::PackedCandidate::charge(), reco::deltaR2(), Exception, pat::PackedCandidate::fromPV(), edm::Ptr< T >::get(), edm::Ptr< T >::isNonnull(), pat::PackedCandidate::pt(), and mps_fire::result.
53 if( aspacked.isNonnull() && aspacked.get() ) {
54 if( aspacked->charge() != 0 ) {
55 bool is_vertex_allowed =
false;
57 if( vtxtype == aspacked->fromPV() ) {
58 is_vertex_allowed =
true;
62 result *= ( is_vertex_allowed );
65 }
else if ( aspf.isNonnull() && aspf.get() ) {
69 <<
"The supplied candidate to be used as isolation " 70 <<
"was neither a reco::PFCandidate nor a pat::PackedCandidate!";
const double _vetoConeSize2
const double _vetoThreshold
T1 deltaR2(T1 eta1, T2 phi1, T3 eta2, T4 phi2)
const std::vector< unsigned > _miniAODVertexCodes
const std::vector<unsigned> MuonPFIsolationWithConeVeto::_miniAODVertexCodes |
|
private |
const double MuonPFIsolationWithConeVeto::_vetoConeSize2 |
|
private |
const double MuonPFIsolationWithConeVeto::_vetoThreshold |
|
private |