#include <SUSYBSMAnalysis/HSCParticleProducer/interface/HSCParticleProducer.h>
Public Member Functions | |
HSCParticleProducer (const edm::ParameterSet &) | |
~HSCParticleProducer () | |
Public Member Functions inherited from edm::EDFilter | |
EDFilter () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDFilter () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
virtual void | beginJob () |
virtual void | endJob () |
virtual bool | filter (edm::Event &, const edm::EventSetup &) |
std::vector< susybsm::HSCParticle > | getHSCPSeedCollection (edm::Handle< reco::TrackCollection > &trackCollectionHandle, edm::Handle< reco::MuonCollection > &muonCollectionHandle, edm::Handle< reco::MuonCollection > &MTmuonCollectionHandle) |
Private Attributes | |
BetaCalculatorECAL * | beta_calculator_ECAL |
BetaCalculatorMUON * | beta_calculator_MUON |
BetaCalculatorRPC * | beta_calculator_RPC |
BetaCalculatorTK * | beta_calculator_TK |
bool | Filter_ |
edm::EDGetTokenT< reco::MuonCollection > | m_MTmuonsToken |
edm::EDGetTokenT< reco::MuonCollection > | m_muonsToken |
edm::EDGetTokenT< reco::TrackCollection > | m_trackIsoToken |
edm::EDGetTokenT< reco::TrackCollection > | m_trackToken |
float | maxInvPtDiff |
float | maxTkChi2 |
float | minDR |
float | minMTDR |
float | minMTMuPt |
float | minMuP |
float | minSAMuPt |
unsigned int | minTkHits |
float | minTkP |
std::vector< CandidateSelector * > | Selectors |
bool | useBetaFromEcal |
bool | useBetaFromMuon |
bool | useBetaFromRpc |
bool | useBetaFromTk |
Additional Inherited Members | |
Public Types inherited from edm::EDFilter | |
typedef EDFilter | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDFilter | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
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) |
Description: Producer for HSCP candidates, merging tracker dt information and rpc information
Implementation: <Notes on="" implementation>="">
Definition at line 54 of file HSCParticleProducer.h.
|
explicit |
Definition at line 25 of file HSCParticleProducer.cc.
References edm::ParameterSet::getParameter(), mps_fire::i, HSCParticleProducer_cff::maxInvPtDiff, HSCParticleProducer_cff::maxTkChi2, heepIdVarValueMapProducer_cfi::minDR, HSCParticleProducer_cff::minMTDR, HSCParticleProducer_cff::minMTMuPt, HSCParticleProducer_cff::minMuP, HSCParticleProducer_cff::minSAMuPt, HSCParticleProducer_cff::minTkHits, HSCParticleProducer_cff::minTkP, HSCParticleProducer_cff::SelectionParameters, HSCParticleProducer_cff::useBetaFromEcal, HSCParticleProducer_cff::useBetaFromMuon, HSCParticleProducer_cff::useBetaFromRpc, and HSCParticleProducer_cff::useBetaFromTk.
HSCParticleProducer::~HSCParticleProducer | ( | ) |
Definition at line 71 of file HSCParticleProducer.cc.
|
privatevirtual |
Reimplemented from edm::EDFilter.
Definition at line 201 of file HSCParticleProducer.cc.
|
privatevirtual |
Reimplemented from edm::EDFilter.
Definition at line 206 of file HSCParticleProducer.cc.
|
privatevirtual |
Definition at line 82 of file HSCParticleProducer.cc.
References deltaR(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, allElectronIsolations_cfi::dRMin, runEdmFileComparison::found, edm::Event::getByToken(), mps_fire::i, createfilelist::int, edm::Ref< C, T, F >::isNull(), HSCParticleProducer_cff::maxInvPtDiff, heepIdVarValueMapProducer_cfi::minDR, eostools::move(), edm::Event::put(), mps_fire::result, alignCSCRings::s, lumiQTWidget::t, HiIsolationCommonParameters_cff::track, HSCParticleProducer_cff::useBetaFromEcal, HSCParticleProducer_cff::useBetaFromMuon, HSCParticleProducer_cff::useBetaFromRpc, and HSCParticleProducer_cff::useBetaFromTk.
|
private |
Definition at line 209 of file HSCParticleProducer.cc.
References DEFINE_FWK_MODULE, deltaR(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, allElectronIsolations_cfi::dRMin, runEdmFileComparison::found, mps_fire::i, reco::isMuon(), edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::isNull(), funct::m, HSCParticleProducer_cff::maxInvPtDiff, HSCParticleProducer_cff::maxTkChi2, heepIdVarValueMapProducer_cfi::minDR, HSCParticleProducer_cff::minMTDR, HSCParticleProducer_cff::minMTMuPt, HSCParticleProducer_cff::minMuP, HSCParticleProducer_cff::minSAMuPt, HSCParticleProducer_cff::minTkHits, HSCParticleProducer_cff::minTkP, susybsm::HSCParticle::setMTMuon(), susybsm::HSCParticle::setMuon(), susybsm::HSCParticle::setTrack(), lumiQTWidget::t, HiIsolationCommonParameters_cff::track, and l1t::tracks.
|
private |
Definition at line 92 of file HSCParticleProducer.h.
|
private |
Definition at line 90 of file HSCParticleProducer.h.
|
private |
Definition at line 91 of file HSCParticleProducer.h.
|
private |
Definition at line 89 of file HSCParticleProducer.h.
|
private |
Definition at line 67 of file HSCParticleProducer.h.
|
private |
Definition at line 72 of file HSCParticleProducer.h.
|
private |
Definition at line 71 of file HSCParticleProducer.h.
|
private |
Definition at line 70 of file HSCParticleProducer.h.
|
private |
Definition at line 69 of file HSCParticleProducer.h.
|
private |
Definition at line 87 of file HSCParticleProducer.h.
|
private |
Definition at line 80 of file HSCParticleProducer.h.
|
private |
Definition at line 85 of file HSCParticleProducer.h.
|
private |
Definition at line 86 of file HSCParticleProducer.h.
|
private |
Definition at line 84 of file HSCParticleProducer.h.
|
private |
Definition at line 82 of file HSCParticleProducer.h.
|
private |
Definition at line 83 of file HSCParticleProducer.h.
|
private |
Definition at line 81 of file HSCParticleProducer.h.
|
private |
Definition at line 79 of file HSCParticleProducer.h.
|
private |
Definition at line 94 of file HSCParticleProducer.h.
|
private |
Definition at line 77 of file HSCParticleProducer.h.
|
private |
Definition at line 75 of file HSCParticleProducer.h.
|
private |
Definition at line 76 of file HSCParticleProducer.h.
|
private |
Definition at line 74 of file HSCParticleProducer.h.