#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) |
This provides an alternative signature that includes extra information. More... | |
bool | operator() (const pat::Muon &muon, pat::strbitset &ret) |
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::Muonconst &t) |
This provides an alternative signature without the second ret. More... | |
virtual bool | operator() (pat::Muonconst &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 16 of file MuonVPlusJetsIDSelectionFunctor.h.
Enumerator | |
---|---|
SUMMER08 | |
FIRSTDATA | |
SPRING10 | |
FALL10 | |
N_VERSIONS | |
KITQCD |
Definition at line 22 of file MuonVPlusJetsIDSelectionFunctor.h.
|
inline |
Definition at line 24 of file MuonVPlusJetsIDSelectionFunctor.h.
|
inline |
Definition at line 27 of file MuonVPlusJetsIDSelectionFunctor.h.
References beamLineSrc_, beamLineSrcToken_, edm::ConsumesCollector::consumes(), pvSrc_, and pvSrcToken_.
|
inline |
Definition at line 35 of file MuonVPlusJetsIDSelectionFunctor.h.
References gather_cfg::cout, edm::hlt::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, verbose_, and relval_steps::version.
|
inline |
Definition at line 88 of file MuonVPlusJetsIDSelectionFunctor.h.
References Selector< pat::Muon >::getBitTemplate(), initialize(), HLT_25ns14e33_v1_cff::minPixelHits, and Selector< pat::Muon >::retInternal_.
|
inline |
Definition at line 377 of file MuonVPlusJetsIDSelectionFunctor.h.
References beamLineSrc_, SiPixelRawToDigiRegional_cfi::beamSpot, reco::BeamSpot::BeamWidthX(), reco::BeamSpot::BeamWidthY(), Selector< pat::Muon >::cut(), pat::Muon::dB(), pat::Muon::ecalIso(), pat::Muon::edB(), reco::MuonIsolation::emVetoEt, edm::hlt::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(), pat::Muon::normChi2(), reco::Muon::numberOfMatches(), pat::Muon::numberOfValidHits(), Selector< pat::Muon >::passCut(), EnergyCorrector::pt, reco::LeafCandidate::pt(), pvSrc_, recalcDBFromBSp_, run_regression::ret, 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 267 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(), pat::Muon::normChi2(), pat::Muon::numberOfValidHits(), Selector< pat::Muon >::passCut(), EnergyCorrector::pt, reco::LeafCandidate::pt(), run_regression::ret, pat::strbitset::set(), Selector< pat::Muon >::setIgnored(), and pat::Muon::trackIso().
Referenced by operator()().
|
inline |
Definition at line 111 of file MuonVPlusJetsIDSelectionFunctor.h.
References Selector< pat::Muon >::bits_, FALL10, FIRSTDATA, indexChi2_, indexD0_, indexECalVeto_, indexED0_, indexHCalVeto_, indexLepZ_, indexNHits_, indexNValMuHits_, indexPixHits_, indexRelIso_, indexSD0_, indexStations_, HLT_25ns14e33_v1_cff::minPixelHits, Selector< pat::Muon >::push_back(), Selector< pat::Muon >::set(), SPRING10, SUMMER08, relval_steps::version, and version_.
Referenced by MuonVPlusJetsIDSelectionFunctor().
|
inline |
Definition at line 473 of file MuonVPlusJetsIDSelectionFunctor.h.
References beamLineSrc_, SiPixelRawToDigiRegional_cfi::beamSpot, reco::BeamSpot::BeamWidthX(), reco::BeamSpot::BeamWidthY(), Selector< pat::Muon >::cut(), pat::Muon::dB(), pat::Muon::ecalIso(), pat::Muon::edB(), reco::MuonIsolation::emVetoEt, edm::hlt::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(), pat::Muon::normChi2(), reco::Muon::numberOfMatches(), pat::Muon::numberOfValidHits(), Selector< pat::Muon >::passCut(), EnergyCorrector::pt, reco::LeafCandidate::pt(), pvSrc_, recalcDBFromBSp_, run_regression::ret, 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()().
|
inlinevirtual |
This provides an alternative signature that includes extra information.
Reimplemented from Selector< pat::Muon >.
Definition at line 198 of file MuonVPlusJetsIDSelectionFunctor.h.
References gather_cfg::cout, FALL10, fall10Cuts(), FIRSTDATA, firstDataCuts(), KITQCD, kitQCDCuts(), SPRING10, spring10Cuts(), SUMMER08, summer08Cuts(), verbose_, and version_.
|
inlinevirtual |
This provides the interface for base classes to select objects.
Implements Selector< pat::Muon >.
Definition at line 215 of file MuonVPlusJetsIDSelectionFunctor.h.
References edm::hlt::Exception, FALL10, FIRSTDATA, firstDataCuts(), SPRING10, SUMMER08, summer08Cuts(), and version_.
|
inline |
Definition at line 303 of file MuonVPlusJetsIDSelectionFunctor.h.
References beamLineSrc_, SiPixelRawToDigiRegional_cfi::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(), pat::Muon::normChi2(), pat::Muon::numberOfValidHits(), Selector< pat::Muon >::passCut(), EnergyCorrector::pt, reco::LeafCandidate::pt(), recalcDBFromBSp_, run_regression::ret, 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 233 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(), pat::Muon::normChi2(), pat::Muon::numberOfValidHits(), Selector< pat::Muon >::passCut(), EnergyCorrector::pt, reco::LeafCandidate::pt(), run_regression::ret, pat::strbitset::set(), Selector< pat::Muon >::setIgnored(), and pat::Muon::trackIso().
Referenced by operator()().
|
private |
Definition at line 585 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), kitQCDCuts(), MuonVPlusJetsIDSelectionFunctor(), and spring10Cuts().
|
private |
Definition at line 587 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by MuonVPlusJetsIDSelectionFunctor().
|
private |
Definition at line 594 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), firstDataCuts(), initialize(), kitQCDCuts(), spring10Cuts(), and summer08Cuts().
|
private |
Definition at line 595 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(), firstDataCuts(), initialize(), kitQCDCuts(), spring10Cuts(), and summer08Cuts().
|
private |
Definition at line 596 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), firstDataCuts(), initialize(), kitQCDCuts(), and spring10Cuts().
|
private |
Definition at line 601 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), firstDataCuts(), initialize(), kitQCDCuts(), spring10Cuts(), and summer08Cuts().
|
private |
Definition at line 603 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), initialize(), and kitQCDCuts().
|
private |
Definition at line 598 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), firstDataCuts(), initialize(), kitQCDCuts(), spring10Cuts(), and summer08Cuts().
|
private |
Definition at line 599 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), initialize(), kitQCDCuts(), and spring10Cuts().
|
private |
Definition at line 604 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), initialize(), and kitQCDCuts().
|
private |
Definition at line 602 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 605 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), initialize(), and kitQCDCuts().
|
private |
Definition at line 589 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), kitQCDCuts(), and MuonVPlusJetsIDSelectionFunctor().
|
private |
Definition at line 591 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by MuonVPlusJetsIDSelectionFunctor().
|
private |
Definition at line 584 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by fall10Cuts(), kitQCDCuts(), MuonVPlusJetsIDSelectionFunctor(), and spring10Cuts().
bool MuonVPlusJetsIDSelectionFunctor::verbose_ |
Definition at line 20 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by MuonVPlusJetsIDSelectionFunctor(), and operator()().
|
private |
Definition at line 583 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by initialize(), and operator()().