#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 | |
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) |
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::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 ESProduct , Transition Tr = Transition::Event> | |
auto | esConsumes (eventsetup::EventSetupRecordKey const &, 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 38 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, dedefs::ETP, Exception, dedefs::GCT, edm::ParameterSet::getUntrackedParameter(), dedefs::GLT, dedefs::GMT, dedefs::HTP, mps_fire::i, dedefs::LTC, dedefs::RCT, dedefs::RPC, AlCaHLTBitMon_QueryRunRegistry::string, dedefs::SystLabel, and verbose.
|
override |
Definition at line 110 of file L1DummyProducer.cc.
|
inlineoverrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 47 of file L1DummyProducer.h.
References produce().
|
inlineoverrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 50 of file L1DummyProducer.h.
References data, and SimpleDigi().
|
overrideprivate |
define the data collections
fill candidate collections
put collection
Definition at line 114 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 73 of file L1DummyProducer.h.
Referenced by endJob(), and SimpleDigi().
|
inline |
Definition at line 78 of file L1DummyProducer.h.
References gather_cfg::cout, EBase_, EcalBarrel, ESigm_, createfilelist::int, EcalTriggerPrimitiveDigi::setSample(), EcalTriggerPrimitiveDigi::setSize(), and verbose().
|
inline |
Definition at line 101 of file L1DummyProducer.h.
References gather_cfg::cout, EBase_, ESigm_, createfilelist::int, HcalTriggerPrimitiveDigi::setSample(), HcalTriggerPrimitiveDigi::setSize(), and verbose().
|
inline |
Definition at line 122 of file L1DummyProducer.h.
References gather_cfg::cout, EBase_, ESigm_, createfilelist::int, nevt_, and verbose().
|
inline |
Definition at line 142 of file L1DummyProducer.h.
References gather_cfg::cout, EBase_, ESigm_, stringResolutionProvider_cfi::et, createfilelist::int, and verbose().
|
inline |
Definition at line 163 of file L1DummyProducer.h.
References gather_cfg::cout, EBase_, ESigm_, PVValHelper::eta, Exception, createfilelist::int, phi, verbose(), and globals_cff::x1.
|
inline |
Definition at line 195 of file L1DummyProducer.h.
References gather_cfg::cout, EBase_, ESigm_, PVValHelper::eta, Exception, createfilelist::int, reco::isTau(), phi, verbose(), and globals_cff::x1.
|
inline |
Definition at line 233 of file L1DummyProducer.h.
References ALCARECOTkAlJpsiMuMu_cff::charge, gather_cfg::cout, PVValHelper::eta, mps_fire::i, createfilelist::int, phi, Pi, EnergyCorrector::pt, jets_cff::quality, L1MuRegionalCand::setEtaValue(), L1MuRegionalCand::setPhiValue(), L1MuRegionalCand::setPtValue(), and verbose().
|
inline |
Definition at line 268 of file L1DummyProducer.h.
References gather_cfg::cout, L1MuRegionalCand::setBx(), L1MuRegionalCand::setDataWord(), SimpleDigi(), l1t::tracks, and verbose().
|
inline |
Definition at line 294 of file L1DummyProducer.h.
References gather_cfg::cout, mps_fire::i, createfilelist::int, l1t::tracks, and verbose().
|
inline |
Definition at line 327 of file L1DummyProducer.h.
References gather_cfg::cout, mps_fire::i, createfilelist::int, l1t::tracks, and verbose().
|
inline |
Definition at line 356 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 395 of file L1DummyProducer.h.
References gather_cfg::cout, EBase_, ESigm_, PVValHelper::eta, mps_fire::i, createfilelist::int, nevt_, 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 477 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 503 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 66 of file L1DummyProducer.h.
Referenced by SimpleDigi().
|
private |
Definition at line 67 of file L1DummyProducer.h.
Referenced by SimpleDigi().
|
private |
Definition at line 64 of file L1DummyProducer.h.
|
private |
Definition at line 63 of file L1DummyProducer.h.
|
private |
Definition at line 61 of file L1DummyProducer.h.
Referenced by SimpleDigi().
|
private |
Definition at line 59 of file L1DummyProducer.h.
Referenced by verbose().