Private Types | |
enum | { kLoose, kMedium, kTight, kCustom } |
Private Attributes | |
int | discriminatorOption_ |
bool | doCaloMuonVeto_ |
double | dRmuonMatch_ |
bool | dRmuonMatchLimitedToJetArea_ |
double | hop_ |
int | maxNumberOfHitsLast2Stations_ |
int | maxNumberOfMatches_ |
int | maxWarnings_ |
std::string | moduleLabel_ |
edm::Handle< reco::MuonCollection > | muons_ |
edm::EDGetTokenT < reco::MuonCollection > | Muons_token |
int | numWarnings_ |
edm::InputTag | srcMuons_ |
int | verbosity_ |
Additional Inherited Members | |
Public Types inherited from TauDiscriminationProducerBase< TauType, TauDiscriminator > | |
typedef std::vector< TauType > | TauCollection |
typedef edm::Ref< TauCollection > | TauRef |
typedef edm::RefProd < TauCollection > | TauRefProd |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Protected Attributes inherited from TauDiscriminationProducerBase< TauType, TauDiscriminator > | |
std::string | moduleLabel_ |
double | prediscriminantFailValue_ |
edm::EDGetTokenT< TauCollection > | Tau_token |
edm::InputTag | TauProducer_ |
Compute tau Id. discriminator against muons.
Definition at line 29 of file PFRecoTauDiscriminationAgainstMuon2.cc.
|
private |
Enumerator | |
---|---|
kLoose | |
kMedium | |
kTight | |
kCustom |
Definition at line 31 of file PFRecoTauDiscriminationAgainstMuon2.cc.
|
inlineexplicit |
Definition at line 33 of file PFRecoTauDiscriminationAgainstMuon2.cc.
References discriminatorOption_, doCaloMuonVeto_, dRmuonMatch_, dRmuonMatchLimitedToJetArea_, edm::hlt::Exception, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), hop_, kCustom, kLoose, kMedium, kTight, maxNumberOfHitsLast2Stations_, maxNumberOfMatches_, maxWarnings_, Muons_token, numWarnings_, srcMuons_, AlCaHLTBitMon_QueryRunRegistry::string, edm::errors::UnimplementedFeature, and verbosity_.
|
inline |
Definition at line 58 of file PFRecoTauDiscriminationAgainstMuon2.cc.
|
overridevirtual |
Reimplemented from TauDiscriminationProducerBase< TauType, TauDiscriminator >.
Definition at line 81 of file PFRecoTauDiscriminationAgainstMuon2.cc.
References edm::Event::getByToken(), edm::InputTag::label(), muons_, Muons_token, and srcMuons_.
|
override |
Definition at line 123 of file PFRecoTauDiscriminationAgainstMuon2.cc.
References gather_cfg::cout, deltaR(), discriminatorOption_, doCaloMuonVeto_, PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, dRmuonMatch_, dRmuonMatchLimitedToJetArea_, edm::Ptr< T >::get(), hop_, edm::Ptr< T >::isNonnull(), edm::Ref< C, T, F >::isNonnull(), kCustom, edm::Ref< C, T, F >::key(), kLoose, kMedium, kTight, edm::InputTag::label(), singlePfTauSkim_cff::leadTrack, maxNumberOfHitsLast2Stations_, maxNumberOfMatches_, maxWarnings_, siStripFEDMonitor_P5_cff::Min, moduleLabel_, metsig::muon, muons_, reco::Muon::NoArbitration, patZpeak::numMuons, numWarnings_, reco::TrackBase::p(), Pi, srcMuons_, and verbosity_.
|
private |
Definition at line 66 of file PFRecoTauDiscriminationAgainstMuon2.cc.
Referenced by discriminate(), and PFRecoTauDiscriminationAgainstMuon2().
|
private |
Definition at line 69 of file PFRecoTauDiscriminationAgainstMuon2.cc.
Referenced by discriminate(), and PFRecoTauDiscriminationAgainstMuon2().
|
private |
Definition at line 74 of file PFRecoTauDiscriminationAgainstMuon2.cc.
Referenced by discriminate(), and PFRecoTauDiscriminationAgainstMuon2().
|
private |
Definition at line 75 of file PFRecoTauDiscriminationAgainstMuon2.cc.
Referenced by discriminate(), and PFRecoTauDiscriminationAgainstMuon2().
|
private |
Definition at line 67 of file PFRecoTauDiscriminationAgainstMuon2.cc.
Referenced by discriminate(), and PFRecoTauDiscriminationAgainstMuon2().
|
private |
Definition at line 70 of file PFRecoTauDiscriminationAgainstMuon2.cc.
Referenced by discriminate(), and PFRecoTauDiscriminationAgainstMuon2().
|
private |
Definition at line 68 of file PFRecoTauDiscriminationAgainstMuon2.cc.
Referenced by discriminate(), and PFRecoTauDiscriminationAgainstMuon2().
|
private |
Definition at line 77 of file PFRecoTauDiscriminationAgainstMuon2.cc.
Referenced by discriminate(), and PFRecoTauDiscriminationAgainstMuon2().
|
private |
Definition at line 65 of file PFRecoTauDiscriminationAgainstMuon2.cc.
Referenced by discriminate(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), and Modules.ESProducer::nameInProcessDesc_().
|
private |
Definition at line 72 of file PFRecoTauDiscriminationAgainstMuon2.cc.
Referenced by beginEvent(), and discriminate().
|
private |
Definition at line 73 of file PFRecoTauDiscriminationAgainstMuon2.cc.
Referenced by beginEvent(), and PFRecoTauDiscriminationAgainstMuon2().
|
mutableprivate |
Definition at line 76 of file PFRecoTauDiscriminationAgainstMuon2.cc.
Referenced by discriminate(), and PFRecoTauDiscriminationAgainstMuon2().
|
private |
Definition at line 71 of file PFRecoTauDiscriminationAgainstMuon2.cc.
Referenced by beginEvent(), discriminate(), and PFRecoTauDiscriminationAgainstMuon2().
|
private |
Definition at line 78 of file PFRecoTauDiscriminationAgainstMuon2.cc.
Referenced by discriminate(), and PFRecoTauDiscriminationAgainstMuon2().