#include <L1TriggerOffline/BSCTriggerSimulation/src/BSCTrigger.cc>
Public Member Functions | |
BSCTrigger (const edm::ParameterSet &) | |
~BSCTrigger () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
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 () override |
virtual void | endJob () override |
int | getBSCNum (int id, float z) |
bool | isInner (int id) |
bool | isZplus (int id) |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
std::vector< std::string > | names_ |
unsigned | nEvt_ |
int | nevt_ |
float | theCoincidence_ |
edm::InputTag | TheHits_tag_ |
int | theNinner_ |
int | theNouter_ |
float | theResolution_ |
std::vector< unsigned > | ttBits_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | 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::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 44 of file BSCTrigger.cc.
|
explicit |
Definition at line 80 of file BSCTrigger.cc.
References edm::ParameterSet::getParameter(), names_, nevt_, theCoincidence_, TheHits_tag_, theResolution_, and ttBits_.
BSCTrigger::~BSCTrigger | ( | ) |
Definition at line 92 of file BSCTrigger.cc.
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
private |
Definition at line 250 of file BSCTrigger.cc.
References edm::isDebugEnabled(), LogTrace, relativeConstraints::station, and HcalDigiParam_cfi::zside.
Referenced by produce().
|
private |
Definition at line 264 of file BSCTrigger.cc.
Referenced by produce().
|
private |
Definition at line 268 of file BSCTrigger.cc.
References DEFINE_FWK_MODULE.
Referenced by produce().
|
overrideprivatevirtual |
Definition at line 106 of file BSCTrigger.cc.
References funct::abs(), EnergyCorrector::c, edm::HandleBase::failedToGet(), getBSCNum(), edm::Event::getByLabel(), mps_fire::i, hcalTTPDigis_cfi::id, edm::isDebugEnabled(), isInner(), isZplus(), LogDebug, LogTrace, eostools::move(), names_, nevt_, convertSQLitetoXML_cfg::output, edm::Handle< T >::product(), edm::Event::put(), mathSSE::sqrt(), lumiQTWidget::t, theCoincidence_, TheHits_tag_, theResolution_, and ttBits_.
|
private |
Definition at line 58 of file BSCTrigger.cc.
Referenced by BSCTrigger(), and produce().
|
private |
Definition at line 59 of file BSCTrigger.cc.
|
private |
Definition at line 64 of file BSCTrigger.cc.
Referenced by BSCTrigger(), and produce().
|
private |
Definition at line 60 of file BSCTrigger.cc.
Referenced by BSCTrigger(), and produce().
|
private |
Definition at line 65 of file BSCTrigger.cc.
Referenced by BSCTrigger(), and produce().
|
private |
Definition at line 62 of file BSCTrigger.cc.
|
private |
Definition at line 63 of file BSCTrigger.cc.
|
private |
Definition at line 61 of file BSCTrigger.cc.
Referenced by BSCTrigger(), and produce().
|
private |
Definition at line 57 of file BSCTrigger.cc.
Referenced by BSCTrigger(), and produce().