MuonPFIsolationWithConeVeto::MuonPFIsolationWithConeVeto |
( |
const edm::ParameterSet & |
c | ) |
|
|
inline |
MuonPFIsolationWithConeVeto::~MuonPFIsolationWithConeVeto |
( |
| ) |
|
|
inlineoverride |
Implements citk::IsolationConeDefinitionBase.
Definition at line 42 of file MuonPFIsolationWithConeVeto.cc.
References reco::deltaR2(), Exception, edm::Ptr< T >::get(), edm::Ptr< T >::isNonnull(), and mps_fire::result.
49 if (aspacked.isNonnull() && aspacked.get()) {
50 if (aspacked->charge() != 0) {
51 bool is_vertex_allowed =
false;
53 if (vtxtype == aspacked->fromPV()) {
54 is_vertex_allowed =
true;
58 result = result && (is_vertex_allowed);
61 }
else if (aspf.isNonnull() && aspf.get()) {
64 throw cms::Exception(
"InvalidIsolationInput") <<
"The supplied candidate to be used as isolation " 65 <<
"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 |