![]() |
![]() |
#include <MuonVPlusJetsIDSelectionFunctor.h>
Public Types | |
enum | Version_t { SUMMER08, FIRSTDATA, SPRING10, N_VERSIONS } |
![]() | |
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 | 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) |
MuonVPlusJetsIDSelectionFunctor () | |
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) | |
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) |
![]() | |
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 () |
Additional Inherited Members | |
![]() | |
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 13 of file MuonVPlusJetsIDSelectionFunctor.h.
Enumerator | |
---|---|
SUMMER08 | |
FIRSTDATA | |
SPRING10 | |
N_VERSIONS |
Definition at line 17 of file MuonVPlusJetsIDSelectionFunctor.h.
|
inline |
Definition at line 19 of file MuonVPlusJetsIDSelectionFunctor.h.
|
inline |
Definition at line 21 of file MuonVPlusJetsIDSelectionFunctor.h.
References beamLineSrc_, edm::hlt::Exception, edm::ParameterSet::exists(), FIRSTDATA, Selector< pat::Muon >::getBitTemplate(), edm::ParameterSet::getParameter(), initialize(), N_VERSIONS, recalcDBFromBSp_, Selector< pat::Muon >::retInternal_, Selector< pat::Muon >::setIgnoredCuts(), SPRING10, SUMMER08, and AlCaRecoCosmics_cfg::version.
|
inline |
Definition at line 60 of file MuonVPlusJetsIDSelectionFunctor.h.
References ExpressReco_HICollisions_FallBack::chi2, debug_cff::d0, and initialize().
|
inline |
Definition at line 201 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(), reco::LeafCandidate::pt(), ExpressReco_HICollisions_FallBack::pt, runTheMatrix::ret, pat::strbitset::set(), Selector< pat::Muon >::setIgnored(), and pat::Muon::trackIso().
Referenced by operator()().
|
inline |
Definition at line 77 of file MuonVPlusJetsIDSelectionFunctor.h.
References Selector< pat::Muon >::bits_, ExpressReco_HICollisions_FallBack::chi2, debug_cff::d0, FIRSTDATA, indexChi2_, indexD0_, indexECalVeto_, indexED0_, indexHCalVeto_, indexNHits_, indexNValMuHits_, indexRelIso_, indexSD0_, Selector< pat::Muon >::push_back(), Selector< pat::Muon >::set(), SPRING10, SUMMER08, AlCaRecoCosmics_cfg::version, and version_.
Referenced by MuonVPlusJetsIDSelectionFunctor().
|
inlinevirtual |
This provides an alternative signature that includes extra information.
Reimplemented from Selector< pat::Muon >.
Definition at line 137 of file MuonVPlusJetsIDSelectionFunctor.h.
References FIRSTDATA, firstDataCuts(), SPRING10, spring10Cuts(), SUMMER08, summer08Cuts(), and version_.
|
inlinevirtual |
This provides the interface for base classes to select objects.
Implements Selector< pat::Muon >.
Definition at line 149 of file MuonVPlusJetsIDSelectionFunctor.h.
References edm::hlt::Exception, FIRSTDATA, firstDataCuts(), SPRING10, SUMMER08, summer08Cuts(), and version_.
|
inline |
Definition at line 237 of file MuonVPlusJetsIDSelectionFunctor.h.
References beamLineSrc_, ExpressReco_HICollisions_FallBack::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(), reco::LeafCandidate::pt(), ExpressReco_HICollisions_FallBack::pt, recalcDBFromBSp_, runTheMatrix::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 167 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(), reco::LeafCandidate::pt(), ExpressReco_HICollisions_FallBack::pt, runTheMatrix::ret, pat::strbitset::set(), Selector< pat::Muon >::setIgnored(), and pat::Muon::trackIso().
Referenced by operator()().
|
private |
Definition at line 312 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by MuonVPlusJetsIDSelectionFunctor(), and spring10Cuts().
|
private |
Definition at line 315 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by firstDataCuts(), initialize(), spring10Cuts(), and summer08Cuts().
|
private |
Definition at line 316 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by firstDataCuts(), initialize(), spring10Cuts(), and summer08Cuts().
|
private |
Definition at line 321 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by firstDataCuts(), initialize(), spring10Cuts(), and summer08Cuts().
|
private |
Definition at line 317 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by firstDataCuts(), initialize(), and spring10Cuts().
|
private |
Definition at line 322 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by firstDataCuts(), initialize(), spring10Cuts(), and summer08Cuts().
|
private |
Definition at line 319 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by firstDataCuts(), initialize(), spring10Cuts(), and summer08Cuts().
|
private |
Definition at line 320 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by initialize(), and spring10Cuts().
|
private |
Definition at line 323 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by firstDataCuts(), initialize(), spring10Cuts(), and summer08Cuts().
|
private |
Definition at line 318 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by firstDataCuts(), initialize(), and spring10Cuts().
|
private |
Definition at line 311 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by MuonVPlusJetsIDSelectionFunctor(), and spring10Cuts().
|
private |
Definition at line 310 of file MuonVPlusJetsIDSelectionFunctor.h.
Referenced by initialize(), and operator()().