#include <MuonVPlusJetsIDSelectionFunctor.h>
Public Types | |
enum | Version_t { SUMMER08, FIRSTDATA, SPRING10, FALL10, N_VERSIONS, KITQCD } |
Public Types inherited from Selector< pat::Muon > | |
typedef std::binary_function< pat::Muon, pat::strbitset, bool > | base_type |
typedef std::pair< index_type, size_t > | cut_flow_item |
typedef std::vector< cut_flow_item > | cut_flow_map |
typedef pat::Muon | data_type |
typedef std::map< index_type, double > | double_map |
typedef pat::strbitset::index_type | index_type |
typedef std::map< index_type, int > | int_map |
Public Member Functions | |
bool | fall10Cuts (const pat::Muon &muon, edm::EventBase const &event, pat::strbitset &ret) |
bool | firstDataCuts (const pat::Muon &muon, pat::strbitset &ret) |
void | initialize (Version_t version, double chi2=10.0, double d0=999.0, double ed0=999.0, double sd0=3.0, int nhits=11, int nValidMuonHits=0, double ecalveto=4.0, double hcalveto=6.0, double reliso=0.05, double maxLepZ=1.0, int minPixelHits=1, int minNMatches=1) |
bool | kitQCDCuts (const pat::Muon &muon, edm::EventBase const &event, pat::strbitset &ret) |
MuonVPlusJetsIDSelectionFunctor () | |
MuonVPlusJetsIDSelectionFunctor (edm::ParameterSet const ¶meters, edm::ConsumesCollector &iC) | |
MuonVPlusJetsIDSelectionFunctor (edm::ParameterSet const ¶meters) | |
MuonVPlusJetsIDSelectionFunctor (Version_t version, double chi2=10.0, double d0=0.2, double ed0=999.0, double sd0=999.0, int nhits=11, int nValidMuonHits=0, double ecalveto=4.0, double hcalveto=6.0, double reliso=0.05, double maxLepZ=1.0, int minPixelHits=1, int minNMatches=1) | |
bool | operator() (const pat::Muon &muon, edm::EventBase const &event, pat::strbitset &ret) override |
bool | operator() (const pat::Muon &muon, pat::strbitset &ret) override |
bool | spring10Cuts (const pat::Muon &muon, edm::EventBase const &event, pat::strbitset &ret) |
bool | summer08Cuts (const pat::Muon &muon, pat::strbitset &ret) |
Public Member Functions inherited from Selector< pat::Muon > | |
void | clear (std::string const &s) |
Turn off a given selection cut. More... | |
void | clear (index_type const &i) |
bool | considerCut (std::string const &s) const |
consider the cut at index "s" More... | |
bool | considerCut (index_type const &i) const |
int | cut (index_type const &i, int val) const |
Access the int cut values at index "s". More... | |
double | cut (index_type const &i, double val) const |
Access the double cut values at index "s". More... | |
int | cut (std::string s, int val) const |
Access the int cut values at index "s". More... | |
double | cut (std::string s, double val) const |
Access the double cut values at index "s". More... | |
pat::strbitset | getBitTemplate () const |
Get an empty bitset with the proper names. More... | |
double | getPasses (std::string const &s) const |
Return the number of passing cases. More... | |
double | getPasses (index_type const &i) const |
bool | ignoreCut (std::string const &s) const |
ignore the cut at index "s" More... | |
bool | ignoreCut (index_type const &i) const |
virtual bool | operator() (pat::Muon const &t, pat::strbitset &ret)=0 |
This provides the interface for base classes to select objects. More... | |
virtual bool | operator() (pat::Muon const &t) |
This provides an alternative signature without the second ret. More... | |
virtual bool | operator() (pat::Muon const &t, edm::EventBase const &e, pat::strbitset &ret) |
This provides an alternative signature that includes extra information. More... | |
virtual bool | operator() (pat::Muon const &t, edm::EventBase const &e) |
This provides an alternative signature that includes extra information. More... | |
bool | operator[] (std::string const &s) const |
bool | operator[] (index_type const &i) const |
void | passCut (pat::strbitset &ret, std::string const &s) |
Passing cuts. More... | |
void | passCut (pat::strbitset &ret, index_type const &i) |
void | print (std::ostream &out) const |
Print the cut flow. More... | |
void | printActiveCuts (std::ostream &out) const |
Print the cuts being considered. More... | |
virtual void | push_back (std::string const &s) |
This is the registration of an individual cut string. More... | |
virtual void | push_back (std::string const &s, int cut) |
This is the registration of an individual cut string, with an int cut value. More... | |
virtual void | push_back (std::string const &s, double cut) |
This is the registration of an individual cut string, with a double cut value. More... | |
Selector () | |
Constructor clears the bits. More... | |
void | set (std::string const &s, bool val=true) |
Set a given selection cut, on or off. More... | |
void | set (index_type const &i, bool val=true) |
void | set (std::string const &s, int cut, bool val=true) |
Set a given selection cut, on or off, and reset int cut value. More... | |
void | set (index_type const &i, int cut, bool val=true) |
void | set (std::string const &s, double cut, bool val=true) |
Set a given selection cut, on or off, and reset int cut value. More... | |
void | set (index_type const &i, double cut, bool val=true) |
void | setIgnored (pat::strbitset &ret) |
set ignored bits More... | |
void | setIgnoredCuts (std::vector< std::string > const &bitsToIgnore) |
set the bits to ignore from a vector More... | |
virtual | ~Selector () |
Public Attributes | |
bool | verbose_ |
Additional Inherited Members | |
Protected Attributes inherited from Selector< pat::Muon > | |
pat::strbitset | bits_ |
the bitset indexed by strings More... | |
cut_flow_map | cutFlow_ |
map of cut flows in "human" order More... | |
double_map | doubleCuts_ |
the double-value cut map More... | |
int_map | intCuts_ |
the int-value cut map More... | |
pat::strbitset | retInternal_ |
internal ret if users don't care about return bits More... | |
Definition at line 17 of file MuonVPlusJetsIDSelectionFunctor.h.
Enumerator | |
---|---|
SUMMER08 | |
FIRSTDATA | |
SPRING10 | |
FALL10 | |
N_VERSIONS | |
KITQCD |
Definition at line 23 of file MuonVPlusJetsIDSelectionFunctor.h.
|
inline |
Definition at line 25 of file MuonVPlusJetsIDSelectionFunctor.h.
|
inline |
Definition at line 28 of file MuonVPlusJetsIDSelectionFunctor.h.
References beamLineSrc_, beamLineSrcToken_, edm::ConsumesCollector::consumes(), pvSrc_, and pvSrcToken_.
|
inline |
Definition at line 36 of file MuonVPlusJetsIDSelectionFunctor.h.
References gather_cfg::cout, Exception, edm::ParameterSet::exists(), FALL10, FIRSTDATA, Selector< pat::Muon >::getBitTemplate(), edm::ParameterSet::getParameter(), initialize(), KITQCD, N_VERSIONS, pvSrc_, recalcDBFromBSp_, Selector< pat::Muon >::retInternal_, Selector< pat::Muon >::setIgnoredCuts(), SPRING10, AlCaHLTBitMon_QueryRunRegistry::string, SUMMER08, and jets_cff::version.
|
inline |
Definition at line 89 of file MuonVPlusJetsIDSelectionFunctor.h.
References vertices_cff::chi2, allConversions_cfi::d0, Selector< pat::Muon >::getBitTemplate(), initialize(), lostTracks_cfi::minPixelHits, nhits, and Selector< pat::Muon >::retInternal_.
|
inline |
Definition at line 378 of file MuonVPlusJetsIDSelectionFunctor.h.
References beamLineSrc_, ecalDrivenElectronSeedsParameters_cff::beamSpot, reco::BeamSpot::BeamWidthX(), reco::BeamSpot::BeamWidthY(), Selector< pat::Muon >::cut(), pat::Muon::dB(), pat::Muon::ecalIso(), pat::Muon::edB(), reco::MuonIsolation::emVetoEt, Exception, pat::Muon::globalTrack(), reco::MuonIsolation::hadVetoEt, pat::Muon::hcalIso(), Selector< pat::Muon >::ignoreCut(), indexChi2_, indexD0_, indexECalVeto_, indexED0_, indexHCalVeto_, indexLepZ_, indexNHits_, indexNValMuHits_, indexPixHits_, indexRelIso_, indexSD0_, indexStations_, susybsm::HSCParticleType::innerTrack, pat::Muon::innerTrack(), reco::Muon::isolationR03(), edm::HandleBase::isValid(), nhits, pat::Muon::normChi2(), reco::Muon::numberOfMatches(), pat::Muon::numberOfValidHits(), Selector< pat::Muon >::passCut(), EnergyCorrector::pt, reco::LeafCandidate::pt(), pvSrc_, recalcDBFromBSp_, objects.autophobj::relIso, pat::strbitset::set(), Selector< pat::Muon >::setIgnored(), mathSSE::sqrt(), pat::Muon::trackIso(), reco::LeafCandidate::vertex(), reco::BeamSpot::x0(), reco::BeamSpot::y0(), and reco::BeamSpot::z0().
Referenced by operator()().
|
inline |
Definition at line 268 of file MuonVPlusJetsIDSelectionFunctor.h.
References Selector< pat::Muon >::cut(), pat::Muon::dB(), pat::Muon::ecalIso(), pat::Muon::edB(), reco::MuonIsolation::emVetoEt, reco::MuonIsolation::hadVetoEt, pat::Muon::hcalIso(), Selector< pat::Muon >::ignoreCut(), indexChi2_, indexD0_, indexECalVeto_, indexED0_, indexHCalVeto_, indexNHits_, indexRelIso_, indexSD0_, reco::Muon::isolationR03(), nhits, pat::Muon::normChi2(), pat::Muon::numberOfValidHits(), Selector< pat::Muon >::passCut(), EnergyCorrector::pt, reco::LeafCandidate::pt(), objects.autophobj::relIso, pat::strbitset::set(), Selector< pat::Muon >::setIgnored(), and pat::Muon::trackIso().
Referenced by operator()().
|
inline |
Definition at line 112 of file MuonVPlusJetsIDSelectionFunctor.h.
References Selector< pat::Muon >::bits_, vertices_cff::chi2, allConversions_cfi::d0, FALL10, funct::false, FIRSTDATA, indexChi2_, indexD0_, indexECalVeto_, indexED0_, indexHCalVeto_, indexLepZ_, indexNHits_, indexNValMuHits_, indexPixHits_, indexRelIso_, indexSD0_, indexStations_, lostTracks_cfi::minPixelHits, nhits, Selector< pat::Muon >::push_back(), SPRING10, SUMMER08, jets_cff::version, and version_.
Referenced by MuonVPlusJetsIDSelectionFunctor().
|
inline |
Definition at line 474 of file MuonVPlusJetsIDSelectionFunctor.h.
References beamLineSrc_, ecalDrivenElectronSeedsParameters_cff::beamSpot, reco::BeamSpot::BeamWidthX(), reco::BeamSpot::BeamWidthY(), Selector< pat::Muon >::cut(), pat::Muon::dB(), pat::Muon::ecalIso(), pat::Muon::edB(), reco::MuonIsolation::emVetoEt, Exception, pat::Muon::globalTrack(), reco::MuonIsolation::hadVetoEt, pat::Muon::hcalIso(), Selector< pat::Muon >::ignoreCut(), indexChi2_, indexD0_, indexECalVeto_, indexED0_, indexHCalVeto_, indexLepZ_, indexNHits_, indexNValMuHits_, indexPixHits_, indexRelIso_, indexSD0_, indexStations_, susybsm::HSCParticleType::innerTrack, pat::Muon::innerTrack(), reco::Muon::isolationR03(), edm::HandleBase::isValid(), nhits, pat::Muon::normChi2(), reco::Muon::numberOfMatches(), pat::Muon::numberOfValidHits(), Selector< pat::Muon >::passCut(), EnergyCorrector::pt, reco::LeafCandidate::pt(), pvSrc_, recalcDBFromBSp_, objects.autophobj::relIso, pat::strbitset::set(), Selector< pat::Muon >::setIgnored(), mathSSE::sqrt(), pat::Muon::trackIso(), reco::LeafCandidate::vertex(), reco::BeamSpot::x0(), reco::BeamSpot::y0(), and reco::BeamSpot::z0().
Referenced by operator()().
|
inlineoverride |
Definition at line 199 of file MuonVPlusJetsIDSelectionFunctor.h.
References gather_cfg::cout, FALL10, fall10Cuts(), FIRSTDATA, firstDataCuts(), kitQCDCuts(), SPRING10, spring10Cuts(), SUMMER08, summer08Cuts(), and version_.
|
inlineoverride |
Definition at line 216 of file MuonVPlusJetsIDSelectionFunctor.h.
References Exception, FALL10, FIRSTDATA, firstDataCuts(), Utilities::operator, SPRING10, SUMMER08, summer08Cuts(), and version_.
|
inline |
Definition at line 304 of file MuonVPlusJetsIDSelectionFunctor.h.
References beamLineSrc_, ecalDrivenElectronSeedsParameters_cff::beamSpot, reco::BeamSpot::BeamWidthX(), reco::BeamSpot::BeamWidthY(), Selector< pat::Muon >::cut(), pat::Muon::dB(), pat::Muon::ecalIso(), pat::Muon::edB(), reco::MuonIsolation::emVetoEt, pat::Muon::globalTrack(), reco::MuonIsolation::hadVetoEt, pat::Muon::hcalIso(), Selector< pat::Muon >::ignoreCut(), indexChi2_, indexD0_, indexECalVeto_, indexED0_, indexHCalVeto_, indexNHits_, indexNValMuHits_, indexRelIso_, indexSD0_, susybsm::HSCParticleType::innerTrack, pat::Muon::innerTrack(), reco::Muon::isolationR03(), edm::HandleBase::isValid(), nhits, pat::Muon::normChi2(), pat::Muon::numberOfValidHits(), Selector< pat::Muon >::passCut(), EnergyCorrector::pt, reco::LeafCandidate::pt(), recalcDBFromBSp_, objects.autophobj::relIso, pat::strbitset::set(), Selector< pat::Muon >::setIgnored(), mathSSE::sqrt(), pat::Muon::trackIso(), reco::BeamSpot::x0(), reco::BeamSpot::y0(), and reco::BeamSpot::z0().
Referenced by operator()().
|
inline |
Definition at line 234 of file MuonVPlusJetsIDSelectionFunctor.h.
References Selector< pat::Muon >::cut(), pat::Muon::dB(), pat::Muon::ecalIso(), reco::MuonIsolation::emVetoEt, reco::MuonIsolation::hadVetoEt, pat::Muon::hcalIso(), Selector< pat::Muon >::ignoreCut(), indexChi2_, indexD0_, indexECalVeto_, indexHCalVeto_, indexNHits_, indexRelIso_, reco::Muon::isolationR03(), nhits, pat::Muon::normChi2(), pat::Muon::numberOfValidHits(), Selector< pat::Muon >::passCut(), EnergyCorrector::pt, reco::LeafCandidate::pt(), objects.autophobj::relIso, pat::strbitset::set(), Selector< pat::Muon >::setIgnored(), and pat::Muon::trackIso().
Referenced by operator()().
|
private |
Definition at line 586 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), kitQCDCuts(), MuonVPlusJetsIDSelectionFunctor(), and spring10Cuts().
|
private |
Definition at line 588 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by MuonVPlusJetsIDSelectionFunctor().
|
private |
Definition at line 595 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), firstDataCuts(), initialize(), kitQCDCuts(), spring10Cuts(), and summer08Cuts().
|
private |
Definition at line 596 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), firstDataCuts(), initialize(), kitQCDCuts(), spring10Cuts(), and summer08Cuts().
|
private |
Definition at line 601 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), firstDataCuts(), initialize(), kitQCDCuts(), spring10Cuts(), and summer08Cuts().
|
private |
Definition at line 597 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), firstDataCuts(), initialize(), kitQCDCuts(), and spring10Cuts().
|
private |
Definition at line 602 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), firstDataCuts(), initialize(), kitQCDCuts(), spring10Cuts(), and summer08Cuts().
|
private |
Definition at line 604 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), initialize(), and kitQCDCuts().
|
private |
Definition at line 599 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), firstDataCuts(), initialize(), kitQCDCuts(), spring10Cuts(), and summer08Cuts().
|
private |
Definition at line 600 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), initialize(), kitQCDCuts(), and spring10Cuts().
|
private |
Definition at line 605 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), initialize(), and kitQCDCuts().
|
private |
Definition at line 603 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), firstDataCuts(), initialize(), kitQCDCuts(), spring10Cuts(), and summer08Cuts().
|
private |
Definition at line 598 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), firstDataCuts(), initialize(), kitQCDCuts(), and spring10Cuts().
|
private |
Definition at line 606 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), initialize(), and kitQCDCuts().
|
private |
Definition at line 590 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), kitQCDCuts(), and MuonVPlusJetsIDSelectionFunctor().
|
private |
Definition at line 592 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by MuonVPlusJetsIDSelectionFunctor().
|
private |
Definition at line 585 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), kitQCDCuts(), MuonVPlusJetsIDSelectionFunctor(), and spring10Cuts().
bool MuonVPlusJetsIDSelectionFunctor::verbose_ |
Definition at line 21 of file MuonVPlusJetsIDSelectionFunctor.h.
|
private |
Definition at line 584 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by initialize(), and operator()().