MuonPFIsolationWithConeVeto::MuonPFIsolationWithConeVeto |
( |
const edm::ParameterSet & |
c | ) |
|
|
inline |
MuonPFIsolationWithConeVeto::~MuonPFIsolationWithConeVeto |
( |
| ) |
|
|
inlineoverride |
Implements citk::IsolationConeDefinitionBase.
Definition at line 46 of file MuonPFIsolationWithConeVeto.cc.
References reco::deltaR2(), Exception, edm::Ptr< T >::get(), edm::Ptr< T >::isNonnull(), 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 = 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
constexpr auto deltaR2(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
const std::vector< unsigned > _miniAODVertexCodes
const std::vector<unsigned> MuonPFIsolationWithConeVeto::_miniAODVertexCodes |
|
private |
const double MuonPFIsolationWithConeVeto::_vetoConeSize2 |
|
private |
const double MuonPFIsolationWithConeVeto::_vetoThreshold |
|
private |