![]() |
![]() |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
![]() | |
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::EDGetTokenT< CrossingFrame< PSimHit > > | tokenCrossingFrameTotemRP |
int | verbosity_ |
Additional Inherited Members | |
![]() | |
typedef EDProducer | ModuleType |
![]() | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
![]() | |
typedef ProductLabels | Labels |
![]() | |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
ProducesCollector | producesCollector () |
![]() | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Definition at line 53 of file RPDigiProducer.cc.
|
private |
Definition at line 68 of file RPDigiProducer.cc.
|
private |
Definition at line 69 of file RPDigiProducer.cc.
|
explicit |
Definition at line 90 of file RPDigiProducer.cc.
References edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), HLT_FULL_cff::InputTag, RP_hit_containers_, simulateDeadChannels, tokenCrossingFrameTotemRP, and verbosity_.
|
override |
Definition at line 107 of file RPDigiProducer.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 201 of file RPDigiProducer.cc.
References deadChannelsManager, edm::EventSetup::get(), get, and simulateDeadChannels.
|
private |
Definition at line 210 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 223 of file RPDigiProducer.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overrideprivatevirtual |
Implements edm::EDProducer.
Definition at line 116 of file RPDigiProducer.cc.
References MixCollection< T >::MixItr::bunch(), cuy::col, conf_, convertRPStripDetSet(), submitPVResolutionJobs::count, edm::DetSet< T >::data, Exception, edm::RandomNumberGenerator::getEngine(), MixCollection< T >::MixItr::getTrigger(), iEvent, edm::Service< T >::isAvailable(), eostools::move(), edm::Handle< T >::product(), rndEngine_, writedatasetfile::run, theAlgoMap, and verbosity_.
|
private |
Definition at line 71 of file RPDigiProducer.cc.
Referenced by produce().
|
private |
this variable answers the question whether given channel is dead or not
Definition at line 80 of file RPDigiProducer.cc.
Referenced by beginRun().
|
private |
Definition at line 74 of file RPDigiProducer.cc.
Referenced by produce().
|
private |
Definition at line 67 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 85 of file RPDigiProducer.cc.
Referenced by beginRun(), and RPDigiProducer().
|
private |
Definition at line 72 of file RPDigiProducer.cc.
Referenced by produce().
|
private |
Definition at line 87 of file RPDigiProducer.cc.
Referenced by RPDigiProducer().
|
private |
Definition at line 75 of file RPDigiProducer.cc.
Referenced by produce(), and RPDigiProducer().