Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsInputProcessBlocks () |
static bool | wantsProcessBlocks () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Private Types | |
typedef std::map< unsigned int, std::vector< PSimHit > > | simhit_map |
typedef simhit_map::iterator | simhit_map_iterator |
Private Member Functions | |
void | beginRun (const edm::Run &, const edm::EventSetup &) override |
edm::DetSet< TotemRPDigi > | convertRPStripDetSet (const edm::DetSet< TotemRPDigi > &) |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
edm::ParameterSet | conf_ |
DeadChannelsManager | deadChannelsManager |
CLHEP::HepRandomEngine * | rndEngine_ = nullptr |
std::vector< std::string > | RP_hit_containers_ |
bool | simulateDeadChannels |
std::map< RPDetId, std::unique_ptr < RPDetDigitizer > > | theAlgoMap |
edm::ESGetToken < TotemAnalysisMask, TotemReadoutRcd > | tokenAnalysisMask |
edm::EDGetTokenT < CrossingFrame< PSimHit > > | tokenCrossingFrameTotemRP |
int | verbosity_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::ProducerBase | |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 52 of file RPDigiProducer.cc.
|
private |
Definition at line 67 of file RPDigiProducer.cc.
|
private |
Definition at line 68 of file RPDigiProducer.cc.
|
explicit |
Definition at line 90 of file RPDigiProducer.cc.
References edm::EDConsumerBase::esConsumes(), edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), HLT_FULL_cff::InputTag, RP_hit_containers_, simulateDeadChannels, tokenAnalysisMask, tokenCrossingFrameTotemRP, and verbosity_.
|
overridedefault |
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 200 of file RPDigiProducer.cc.
References deadChannelsManager, edm::EventSetup::getData(), simulateDeadChannels, and tokenAnalysisMask.
|
private |
Definition at line 208 of file RPDigiProducer.cc.
References edm::DetSet< T >::data, edm::DetSet< T >::detId(), edm::DetSet< T >::reserve(), and edm::DetSet< T >::size().
Referenced by produce().
|
static |
Definition at line 221 of file RPDigiProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overrideprivatevirtual |
Implements edm::EDProducer.
Definition at line 115 of file RPDigiProducer.cc.
References MixCollection< T >::MixItr::bunch(), cuy::col, conf_, convertRPStripDetSet(), submitPVResolutionJobs::count, edm::DetSet< T >::data, Exception, edm::Event::getByLabel(), edm::RandomNumberGenerator::getEngine(), MixCollection< T >::MixItr::getTrigger(), edm::Service< T >::isAvailable(), eostools::move(), edm::Event::put(), rndEngine_, submitPVValidationJobs::run, edm::Event::streamID(), theAlgoMap, and verbosity_.
|
private |
Definition at line 70 of file RPDigiProducer.cc.
Referenced by produce().
|
private |
this variable answers the question whether given channel is dead or not
Definition at line 79 of file RPDigiProducer.cc.
Referenced by beginRun().
|
private |
Definition at line 73 of file RPDigiProducer.cc.
Referenced by produce().
|
private |
Definition at line 66 of file RPDigiProducer.cc.
Referenced by RPDigiProducer().
|
private |
this variable indicates whether we take into account dead channels or simulate as if all channels work ok (by default we do not simulate dead channels)
Definition at line 84 of file RPDigiProducer.cc.
Referenced by beginRun(), and RPDigiProducer().
|
private |
Definition at line 71 of file RPDigiProducer.cc.
Referenced by produce().
|
private |
Definition at line 87 of file RPDigiProducer.cc.
Referenced by beginRun(), and RPDigiProducer().
|
private |
Definition at line 86 of file RPDigiProducer.cc.
Referenced by RPDigiProducer().
|
private |
Definition at line 74 of file RPDigiProducer.cc.
Referenced by produce(), and RPDigiProducer().