Public Member Functions | |
RPDigiProducer (const edm::ParameterSet &) | |
~RPDigiProducer () override=default | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
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::ESGetToken< CTPPSRPAlignmentCorrectionsData, VeryForwardMisalignedGeometryRecord > | alignmentToken |
edm::ParameterSet | conf_ |
DeadChannelsManager | deadChannelsManager |
edm::ESGetToken< CTPPSGeometry, VeryForwardRealGeometryRecord > | geomToken |
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::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Definition at line 55 of file RPDigiProducer.cc.
|
private |
Definition at line 70 of file RPDigiProducer.cc.
|
private |
Definition at line 71 of file RPDigiProducer.cc.
|
explicit |
Definition at line 95 of file RPDigiProducer.cc.
References alignmentToken, deDxTools::esConsumes(), edm::ParameterSet::exists(), geomToken, edm::ParameterSet::getParameter(), HLT_2022v15_cff::InputTag, RP_hit_containers_, simulateDeadChannels, tokenAnalysisMask, tokenCrossingFrameTotemRP, and verbosity_.
|
overridedefault |
|
overrideprivate |
Definition at line 213 of file RPDigiProducer.cc.
References deadChannelsManager, edm::EventSetup::getData(), simulateDeadChannels, and tokenAnalysisMask.
|
private |
Definition at line 221 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 234 of file RPDigiProducer.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overrideprivate |
Definition at line 122 of file RPDigiProducer.cc.
References alignmentToken, MixCollection< T >::MixItr::bunch(), cuy::col, conf_, convertRPStripDetSet(), submitPVResolutionJobs::count, edm::DetSet< T >::data, Exception, relativeConstraints::geom, geomToken, edm::EventSetup::getData(), edm::RandomNumberGenerator::getEngine(), MixCollection< T >::MixItr::getTrigger(), iEvent, edm::Service< T >::isAvailable(), eostools::move(), edm::Handle< T >::product(), rndEngine_, writedatasetfile::run, theAlgoMap, edm::EventSetup::tryToGet(), and verbosity_.
|
private |
Definition at line 91 of file RPDigiProducer.cc.
Referenced by produce(), and RPDigiProducer().
|
private |
Definition at line 73 of file RPDigiProducer.cc.
Referenced by produce().
|
private |
this variable answers the question whether given channel is dead or not
Definition at line 82 of file RPDigiProducer.cc.
Referenced by beginRun().
|
private |
Definition at line 92 of file RPDigiProducer.cc.
Referenced by produce(), and RPDigiProducer().
|
private |
Definition at line 76 of file RPDigiProducer.cc.
Referenced by produce().
|
private |
Definition at line 69 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 87 of file RPDigiProducer.cc.
Referenced by beginRun(), and RPDigiProducer().
|
private |
Definition at line 74 of file RPDigiProducer.cc.
Referenced by produce().
|
private |
Definition at line 90 of file RPDigiProducer.cc.
Referenced by beginRun(), and RPDigiProducer().
|
private |
Definition at line 89 of file RPDigiProducer.cc.
Referenced by RPDigiProducer().
|
private |
Definition at line 77 of file RPDigiProducer.cc.
Referenced by produce(), and RPDigiProducer().