#include <L1DummyProducer.h>
Public Member Functions | |
L1DummyProducer (const edm::ParameterSet &) | |
template<class T > | |
void | SimpleDigi (CLHEP::HepRandomEngine *, std::unique_ptr< T > &data, int type=0) |
template<> | |
void | SimpleDigi (CLHEP::HepRandomEngine *engine, std::unique_ptr< EcalTrigPrimDigiCollection > &data, int type) |
template<> | |
void | SimpleDigi (CLHEP::HepRandomEngine *engine, std::unique_ptr< HcalTrigPrimDigiCollection > &data, int type) |
template<> | |
void | SimpleDigi (CLHEP::HepRandomEngine *engine, std::unique_ptr< L1CaloEmCollection > &data, int type) |
template<> | |
void | SimpleDigi (CLHEP::HepRandomEngine *engine, std::unique_ptr< L1CaloRegionCollection > &data, int type) |
template<> | |
void | SimpleDigi (CLHEP::HepRandomEngine *engine, std::unique_ptr< L1GctEmCandCollection > &data, int type) |
template<> | |
void | SimpleDigi (CLHEP::HepRandomEngine *engine, std::unique_ptr< L1GctJetCandCollection > &data, int type) |
template<> | |
void | SimpleDigi (CLHEP::HepRandomEngine *engine, std::unique_ptr< L1MuRegionalCandCollection > &data, int type) |
template<> | |
void | SimpleDigi (CLHEP::HepRandomEngine *engine, std::unique_ptr< L1MuDTTrackContainer > &data, int type) |
template<> | |
void | SimpleDigi (CLHEP::HepRandomEngine *engine, std::unique_ptr< L1MuDTChambPhContainer > &data, int type) |
template<> | |
void | SimpleDigi (CLHEP::HepRandomEngine *engine, std::unique_ptr< L1MuDTChambThContainer > &data, int type) |
template<> | |
void | SimpleDigi (CLHEP::HepRandomEngine *engine, std::unique_ptr< L1MuGMTCandCollection > &data, int type) |
template<> | |
void | SimpleDigi (CLHEP::HepRandomEngine *engine, std::unique_ptr< L1MuGMTReadoutCollection > &data, int type) |
template<> | |
void | SimpleDigi (CLHEP::HepRandomEngine *, std::unique_ptr< LTCDigiCollection > &data, int type) |
template<> | |
void | SimpleDigi (CLHEP::HepRandomEngine *engine, std::unique_ptr< CSCCorrelatedLCTDigiCollection > &data, int type) |
template<> | |
void | SimpleDigi (CLHEP::HepRandomEngine *engine, std::unique_ptr< L1CSCTrackCollection > &data, int type) |
~L1DummyProducer () override | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
SerialTaskQueue * | globalLuminosityBlocksQueue () |
SerialTaskQueue * | globalRunsQueue () |
ModuleDescription const & | moduleDescription () const |
~EDProducer () override | |
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 () | |
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
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, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
~ProducerBase () noexcept(false) override | |
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 | |
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
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 |
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
void | beginJob (void) override |
void | endJob () override |
void | produce (edm::Event &, const edm::EventSetup &) override |
int | verbose () |
Private Attributes | |
double | EBase_ |
double | ESigm_ |
std::string | instName [dedefs::DEnsys][5] |
bool | m_doSys [dedefs::DEnsys] |
int | nevt_ |
int | verbose_ |
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 |
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 | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
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) |
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<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) |
Definition at line 37 of file L1DummyProducer.h.
|
explicit |
assertions/temporary
list of collections to be produced
rnd # settings
Definition at line 9 of file L1DummyProducer.cc.
References gather_cfg::cout, dedefs::CTF, dedefs::CTP, dedefs::DEnsys, dedefs::DTF, dedefs::DTP, relativeConstraints::empty, dedefs::ETP, Exception, dedefs::GCT, edm::ParameterSet::getUntrackedParameter(), dedefs::GLT, dedefs::GMT, dedefs::HTP, mps_fire::i, dqmiolumiharvest::j, dedefs::LTC, dedefs::RCT, dedefs::RPC, AlCaHLTBitMon_QueryRunRegistry::string, dedefs::SystLabel, and verbose.
|
override |
Definition at line 139 of file L1DummyProducer.cc.
|
inlineoverrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 43 of file L1DummyProducer.h.
References produce().
|
inlineoverrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 46 of file L1DummyProducer.h.
References data, and SimpleDigi().
|
overrideprivate |
define the data collections
fill candidate collections
put collection
Definition at line 141 of file L1DummyProducer.cc.
References gather_cfg::cout, dedefs::CTF, dedefs::CTP, dedefs::DTF, dedefs::DTP, dedefs::ETP, dedefs::GCT, edm::RandomNumberGenerator::getEngine(), dedefs::GLT, dedefs::GMT, dedefs::HTP, dedefs::LTC, eostools::move(), edm::Event::put(), dedefs::RCT, dedefs::RPC, edm::Event::streamID(), and verbose.
Referenced by beginJob().
void L1DummyProducer::SimpleDigi | ( | CLHEP::HepRandomEngine * | , |
std::unique_ptr< T > & | data, | ||
int | type = 0 |
||
) |
Definition at line 65 of file L1DummyProducer.h.
Referenced by endJob(), and SimpleDigi().
|
inline |
Definition at line 70 of file L1DummyProducer.h.
References gather_cfg::cout, EBase_, EcalBarrel, HCALHighEnergyHPDFilter_cfi::energy, ESigm_, LEDCalibrationChannels::ieta, createfilelist::int, LEDCalibrationChannels::iphi, EcalTriggerPrimitiveDigi::setSample(), EcalTriggerPrimitiveDigi::setSize(), and verbose().
|
inline |
Definition at line 94 of file L1DummyProducer.h.
References gather_cfg::cout, EBase_, HCALHighEnergyHPDFilter_cfi::energy, ESigm_, LEDCalibrationChannels::ieta, createfilelist::int, LEDCalibrationChannels::iphi, HcalTriggerPrimitiveDigi::setSample(), HcalTriggerPrimitiveDigi::setSize(), and verbose().
|
inline |
Definition at line 116 of file L1DummyProducer.h.
References l1GtPatternGenerator_cfi::bx, gather_cfg::cout, EBase_, HCALHighEnergyHPDFilter_cfi::energy, ESigm_, createfilelist::int, nevt_, HLT_2018_cff::region, and verbose().
|
inline |
Definition at line 137 of file L1DummyProducer.h.
References gather_cfg::cout, EBase_, HCALHighEnergyHPDFilter_cfi::energy, ESigm_, EgHLTOffHistBins_cfi::et, createfilelist::int, and verbose().
|
inline |
Definition at line 159 of file L1DummyProducer.h.
References gather_cfg::cout, EBase_, HCALHighEnergyHPDFilter_cfi::energy, ESigm_, PVValHelper::eta, Exception, createfilelist::int, phi, verbose(), and testProducerWithPsetDescEmpty_cfi::x1.
|
inline |
Definition at line 192 of file L1DummyProducer.h.
References gather_cfg::cout, EBase_, HCALHighEnergyHPDFilter_cfi::energy, ESigm_, PVValHelper::eta, Exception, createfilelist::int, reco::isTau(), phi, verbose(), and testProducerWithPsetDescEmpty_cfi::x1.
|
inline |
Definition at line 231 of file L1DummyProducer.h.
References l1GtPatternGenerator_cfi::bx, ALCARECOTkAlJpsiMuMu_cff::charge, gather_cfg::cout, PVValHelper::eta, mps_fire::i, createfilelist::int, phi, Pi, DiDispStaMuonMonitor_cfi::pt, qcdUeDQM_cfi::quality, L1MuRegionalCand::setEtaValue(), L1MuRegionalCand::setPhiValue(), L1MuRegionalCand::setPtValue(), and verbose().
|
inline |
Definition at line 267 of file L1DummyProducer.h.
References gather_cfg::cout, L1MuRegionalCand::setBx(), L1MuRegionalCand::setDataWord(), SimpleDigi(), PDWG_EXOHSCP_cff::tracks, and verbose().
|
inline |
Definition at line 293 of file L1DummyProducer.h.
References gather_cfg::cout, mps_fire::i, createfilelist::int, PDWG_EXOHSCP_cff::tracks, and verbose().
|
inline |
Definition at line 327 of file L1DummyProducer.h.
References gather_cfg::cout, mps_fire::i, createfilelist::int, dqmiolumiharvest::j, PDWG_EXOHSCP_cff::tracks, and verbose().
|
inline |
Definition at line 357 of file L1DummyProducer.h.
References gather_cfg::cout, EBase_, ESigm_, PVValHelper::eta, nevt_, phi, Pi, alignCSCRings::r, L1MuGMTCand::setBx(), L1MuGMTCand::setChargePacked(), L1MuGMTCand::setEtaPacked(), L1MuGMTCand::setEtaValue(), L1MuGMTCand::setIsolation(), L1MuGMTCand::setMIP(), L1MuGMTCand::setPhiPacked(), L1MuGMTCand::setPhiValue(), L1MuGMTCand::setPtPacked(), L1MuGMTCand::setPtValue(), and verbose().
|
inline |
tbd: add GMT extended cand(!)
Definition at line 396 of file L1DummyProducer.h.
References gather_cfg::cout, EBase_, ESigm_, PVValHelper::eta, mps_fire::i, createfilelist::int, nevt_, EgHLTOffHistBins_cfi::nr, phi, L1MuGMTReadoutRecord::setBxInEvent(), L1MuGMTReadoutRecord::setBxNr(), L1MuGMTReadoutRecord::setEvNr(), L1MuGMTReadoutRecord::setGMTBrlCand(), L1MuGMTReadoutRecord::setGMTCand(), L1MuGMTReadoutRecord::setGMTFwdCand(), L1MuGMTReadoutRecord::setInputCand(), L1MuGMTReadoutRecord::setMIPbit(), L1MuGMTReadoutRecord::setQuietbit(), SimpleDigi(), and verbose().
|
inline |
|
inline |
Definition at line 479 of file L1DummyProducer.h.
References CSCCorrelatedLCTDigi::clear(), gather_cfg::cout, RecoEcal_EventContent_cff::ec, createfilelist::int, emtf::MAX_ENDCAP, emtf::MIN_ENDCAP, and verbose().
|
inline |
Definition at line 507 of file L1DummyProducer.h.
References L1MuRegionalCand::bx(), gather_cfg::cout, L1MuRegionalCand::etaValue(), L1MuRegionalCand::getDataWord(), L1MuRegionalCand::phiValue(), L1MuRegionalCand::ptValue(), L1MuRegionalCand::setBx(), L1MuRegionalCand::setDataWord(), L1MuRegionalCand::setEtaValue(), L1MuRegionalCand::setPhiValue(), L1MuRegionalCand::setPtValue(), SimpleDigi(), and verbose().
|
inlineprivate |
|
private |
Definition at line 60 of file L1DummyProducer.h.
Referenced by SimpleDigi().
|
private |
Definition at line 61 of file L1DummyProducer.h.
Referenced by SimpleDigi().
|
private |
Definition at line 58 of file L1DummyProducer.h.
|
private |
Definition at line 57 of file L1DummyProducer.h.
|
private |
Definition at line 55 of file L1DummyProducer.h.
Referenced by SimpleDigi().
|
private |
Definition at line 53 of file L1DummyProducer.h.
Referenced by verbose().