#include <MuonVPlusJetsIDSelectionFunctor.h>
Public Types | |
enum | Version_t { SUMMER08, FIRSTDATA, SPRING10, FALL10, N_VERSIONS, KITQCD } |
Public Types inherited from Selector< pat::Muon > | |
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 |
This provides an alternative signature that includes extra information. More... | |
bool | operator() (const pat::Muon &muon, pat::strbitset &ret) override |
This provides the interface for base classes to select objects. More... | |
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) |
This provides an alternative signature without the second ret. 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 21 of file MuonVPlusJetsIDSelectionFunctor.h.
|
inline |
Definition at line 23 of file MuonVPlusJetsIDSelectionFunctor.h.
|
inline |
Definition at line 26 of file MuonVPlusJetsIDSelectionFunctor.h.
References beamLineSrc_, beamLineSrcToken_, edm::ConsumesCollector::consumes(), pvSrc_, and pvSrcToken_.
|
inline |
Definition at line 33 of file MuonVPlusJetsIDSelectionFunctor.h.
References gather_cfg::cout, Exception, FALL10, FIRSTDATA, Selector< pat::Muon >::getBitTemplate(), initialize(), KITQCD, N_VERSIONS, pvSrc_, recalcDBFromBSp_, Selector< pat::Muon >::retInternal_, Selector< pat::Muon >::setIgnoredCuts(), SPRING10, AlCaHLTBitMon_QueryRunRegistry::string, SUMMER08, verbose_, and BeamSplash_cfg::version.
|
inline |
Definition at line 81 of file MuonVPlusJetsIDSelectionFunctor.h.
References nano_mu_local_reco_cff::chi2, d0, Selector< pat::Muon >::getBitTemplate(), initialize(), beam_dqm_sourceclient-live_cfg::minPixelHits, TrackingDataMCValidation_Standalone_cff::nhits, Selector< pat::Muon >::retInternal_, and BeamSplash_cfg::version.
|
inline |
Definition at line 388 of file MuonVPlusJetsIDSelectionFunctor.h.
References beamLineSrc_, pwdgSkimBPark_cfi::beamSpot, Selector< pat::Muon >::cut(), run3scouting_cff::ecalIso, Exception, run3scouting_cff::hcalIso, Selector< pat::Muon >::ignoreCut(), indexChi2_, indexD0_, indexECalVeto_, indexED0_, indexHCalVeto_, indexLepZ_, indexNHits_, indexNValMuHits_, indexPixHits_, indexRelIso_, indexSD0_, indexStations_, susybsm::HSCParticleType::innerTrack, edm::HandleBase::isValid(), TrackingDataMCValidation_Standalone_cff::nhits, Selector< pat::Muon >::passCut(), DiDispStaMuonMonitor_cfi::pt, pvSrc_, recalcDBFromBSp_, objects.autophobj::relIso, runTheMatrix::ret, Selector< pat::Muon >::setIgnored(), mathSSE::sqrt(), and egamma_custom_cff::trkIso.
Referenced by operator()().
|
inline |
Definition at line 269 of file MuonVPlusJetsIDSelectionFunctor.h.
References Selector< pat::Muon >::cut(), run3scouting_cff::ecalIso, run3scouting_cff::hcalIso, Selector< pat::Muon >::ignoreCut(), indexChi2_, indexD0_, indexECalVeto_, indexED0_, indexHCalVeto_, indexNHits_, indexRelIso_, indexSD0_, TrackingDataMCValidation_Standalone_cff::nhits, Selector< pat::Muon >::passCut(), DiDispStaMuonMonitor_cfi::pt, objects.autophobj::relIso, runTheMatrix::ret, Selector< pat::Muon >::setIgnored(), and egamma_custom_cff::trkIso.
Referenced by operator()().
|
inline |
Definition at line 112 of file MuonVPlusJetsIDSelectionFunctor.h.
References Selector< pat::Muon >::bits_, nano_mu_local_reco_cff::chi2, d0, FALL10, FIRSTDATA, indexChi2_, indexD0_, indexECalVeto_, indexED0_, indexHCalVeto_, indexLepZ_, indexNHits_, indexNValMuHits_, indexPixHits_, indexRelIso_, indexSD0_, indexStations_, beam_dqm_sourceclient-live_cfg::minPixelHits, TrackingDataMCValidation_Standalone_cff::nhits, Selector< pat::Muon >::push_back(), SPRING10, SUMMER08, BeamSplash_cfg::version, and version_.
Referenced by MuonVPlusJetsIDSelectionFunctor().
|
inline |
Definition at line 492 of file MuonVPlusJetsIDSelectionFunctor.h.
References beamLineSrc_, pwdgSkimBPark_cfi::beamSpot, Selector< pat::Muon >::cut(), run3scouting_cff::ecalIso, Exception, run3scouting_cff::hcalIso, Selector< pat::Muon >::ignoreCut(), indexChi2_, indexD0_, indexECalVeto_, indexED0_, indexHCalVeto_, indexLepZ_, indexNHits_, indexNValMuHits_, indexPixHits_, indexRelIso_, indexSD0_, indexStations_, susybsm::HSCParticleType::innerTrack, edm::HandleBase::isValid(), TrackingDataMCValidation_Standalone_cff::nhits, Selector< pat::Muon >::passCut(), DiDispStaMuonMonitor_cfi::pt, pvSrc_, recalcDBFromBSp_, objects.autophobj::relIso, runTheMatrix::ret, Selector< pat::Muon >::setIgnored(), mathSSE::sqrt(), and egamma_custom_cff::trkIso.
Referenced by operator()().
|
inlineoverridevirtual |
This provides an alternative signature that includes extra information.
Reimplemented from Selector< pat::Muon >.
Definition at line 196 of file MuonVPlusJetsIDSelectionFunctor.h.
References gather_cfg::cout, FALL10, fall10Cuts(), FIRSTDATA, firstDataCuts(), KITQCD, kitQCDCuts(), runTheMatrix::ret, SPRING10, spring10Cuts(), SUMMER08, summer08Cuts(), verbose_, and version_.
|
inlineoverridevirtual |
This provides the interface for base classes to select objects.
Implements Selector< pat::Muon >.
Definition at line 215 of file MuonVPlusJetsIDSelectionFunctor.h.
References Exception, FALL10, FIRSTDATA, firstDataCuts(), runTheMatrix::ret, SPRING10, SUMMER08, summer08Cuts(), and version_.
|
inline |
Definition at line 311 of file MuonVPlusJetsIDSelectionFunctor.h.
References beamLineSrc_, pwdgSkimBPark_cfi::beamSpot, Selector< pat::Muon >::cut(), run3scouting_cff::ecalIso, run3scouting_cff::hcalIso, Selector< pat::Muon >::ignoreCut(), indexChi2_, indexD0_, indexECalVeto_, indexED0_, indexHCalVeto_, indexNHits_, indexNValMuHits_, indexRelIso_, indexSD0_, susybsm::HSCParticleType::innerTrack, edm::HandleBase::isValid(), TrackingDataMCValidation_Standalone_cff::nhits, Selector< pat::Muon >::passCut(), DiDispStaMuonMonitor_cfi::pt, recalcDBFromBSp_, objects.autophobj::relIso, runTheMatrix::ret, Selector< pat::Muon >::setIgnored(), mathSSE::sqrt(), and egamma_custom_cff::trkIso.
Referenced by operator()().
|
inline |
Definition at line 233 of file MuonVPlusJetsIDSelectionFunctor.h.
References Selector< pat::Muon >::cut(), run3scouting_cff::ecalIso, run3scouting_cff::hcalIso, Selector< pat::Muon >::ignoreCut(), indexChi2_, indexD0_, indexECalVeto_, indexHCalVeto_, indexNHits_, indexRelIso_, TrackingDataMCValidation_Standalone_cff::nhits, Selector< pat::Muon >::passCut(), DiDispStaMuonMonitor_cfi::pt, objects.autophobj::relIso, runTheMatrix::ret, Selector< pat::Muon >::setIgnored(), and egamma_custom_cff::trkIso.
Referenced by operator()().
|
private |
Definition at line 604 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), kitQCDCuts(), MuonVPlusJetsIDSelectionFunctor(), and spring10Cuts().
|
private |
Definition at line 606 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by MuonVPlusJetsIDSelectionFunctor().
|
private |
Definition at line 613 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), firstDataCuts(), initialize(), kitQCDCuts(), spring10Cuts(), and summer08Cuts().
|
private |
Definition at line 614 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), firstDataCuts(), initialize(), kitQCDCuts(), spring10Cuts(), and summer08Cuts().
|
private |
Definition at line 619 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), firstDataCuts(), initialize(), kitQCDCuts(), spring10Cuts(), and summer08Cuts().
|
private |
Definition at line 615 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), firstDataCuts(), initialize(), kitQCDCuts(), and spring10Cuts().
|
private |
Definition at line 620 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), firstDataCuts(), initialize(), kitQCDCuts(), spring10Cuts(), and summer08Cuts().
|
private |
Definition at line 622 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), initialize(), and kitQCDCuts().
|
private |
Definition at line 617 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), firstDataCuts(), initialize(), kitQCDCuts(), spring10Cuts(), and summer08Cuts().
|
private |
Definition at line 618 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), initialize(), kitQCDCuts(), and spring10Cuts().
|
private |
Definition at line 623 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), initialize(), and kitQCDCuts().
|
private |
Definition at line 621 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), firstDataCuts(), initialize(), kitQCDCuts(), spring10Cuts(), and summer08Cuts().
|
private |
Definition at line 616 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), firstDataCuts(), initialize(), kitQCDCuts(), and spring10Cuts().
|
private |
Definition at line 624 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), initialize(), and kitQCDCuts().
|
private |
Definition at line 608 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), kitQCDCuts(), and MuonVPlusJetsIDSelectionFunctor().
|
private |
Definition at line 610 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by MuonVPlusJetsIDSelectionFunctor().
|
private |
Definition at line 603 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), kitQCDCuts(), MuonVPlusJetsIDSelectionFunctor(), and spring10Cuts().
bool MuonVPlusJetsIDSelectionFunctor::verbose_ |
Definition at line 19 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by MuonVPlusJetsIDSelectionFunctor(), and operator()().
|
private |
Definition at line 602 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by initialize(), and operator()().