|
| L1DummyProducer (const edm::ParameterSet &) |
|
template<> |
void | SimpleDigi (CLHEP::HepRandomEngine *, std::unique_ptr< LTCDigiCollection > &data, int type) |
|
template<class T > |
void | SimpleDigi (CLHEP::HepRandomEngine *, std::unique_ptr< T > &data, int type=0) |
|
template<> |
void | SimpleDigi (CLHEP::HepRandomEngine *engine, std::unique_ptr< CSCCorrelatedLCTDigiCollection > &data, int type) |
|
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< L1CSCTrackCollection > &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< 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< L1MuDTTrackContainer > &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 *engine, std::unique_ptr< L1MuRegionalCandCollection > &data, int type) |
|
| ~L1DummyProducer () override |
|
| EDProducer () |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () |
|
SerialTaskQueue * | globalRunsQueue () |
|
ModuleDescription const & | moduleDescription () const |
|
| ~EDProducer () override |
|
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 |
|
std::vector< bool > const & | recordProvenanceList () 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) |
|
TypeLabelList const & | typeLabelList () const |
| used by the fwk to register the list of products of this module More...
|
|
| ~ProducerBase () noexcept(false) override |
|
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 &&)=default |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
std::vector< ESProxyIndex > const & | esGetTokenIndicesVector (edm::Transition iTrans) const |
|
std::vector< ESRecordIndex > const & | esGetTokenRecordIndicesVector (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 & | operator= (EDConsumerBase &&)=default |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
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) |
|
|
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 |
|
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 () |
|
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 39 of file L1DummyProducer.h.
assertions/temporary
list of collections to be produced
rnd # settings
Definition at line 9 of file L1DummyProducer.cc.
13 std::cout <<
"L1DummyProducer::L1DummyProducer...\n" << std::flush;
15 std::vector<unsigned int> compColls = iConfig.
getUntrackedParameter<std::vector<unsigned int> >(
"DO_SYSTEM");
21 std::cout <<
"[L1DummyProducer] do sys? ";
33 for (
int j = 0;
j < 5;
j++)
36 CollInstName[
GCT][0] +=
"isoEm";
37 CollInstName[
GCT][1] +=
"nonIsoEm";
38 CollInstName[
GCT][2] +=
"cenJets";
39 CollInstName[
GCT][3] +=
"forJets";
40 CollInstName[
GCT][4] +=
"tauJets";
41 CollInstName[
DTF][0] +=
"DT";
42 CollInstName[
DTF][1] +=
"DTTF";
43 CollInstName[
CTF][0] +=
"CSC";
44 CollInstName[
CTF][1] +=
"";
45 CollInstName[
RPC][0] +=
"RPCb";
46 CollInstName[
RPC][1] +=
"RPCf";
49 for (
int j = 0;
j < 5;
j++)
53 std::cout <<
"[L1DummyProducer] instName:\n";
55 for (
int j = 0;
j < 5;
j++)
77 produces<EcalTrigPrimDigiCollection>(
instName[
ETP][0]);
79 produces<HcalTrigPrimDigiCollection>(
instName[
HTP][0]);
99 produces<L1MuRegionalCandCollection>(
instName[
DTF][0]);
103 produces<CSCCorrelatedLCTDigiCollection>(
instName[
CTP][0]);
105 produces<L1MuRegionalCandCollection>(
instName[
CTF][0]);
109 produces<L1MuRegionalCandCollection>(
instName[
RPC][0]);
111 produces<L1MuRegionalCandCollection>(
instName[
RPC][1]);
117 produces<L1MuGMTReadoutCollection>(
instName[
GMT][0]);
119 produces<L1GlobalTriggerReadoutRecord>(
instName[
GLT][0]);
121 produces<L1GlobalTriggerEvmReadoutRecord>(
instName[
GLT][0]);
123 produces<L1GlobalTriggerObjectMapRecord>(
instName[
GLT][0]);
129 <<
"L1DummyProducer requires the RandomNumberGeneratorService\n"
130 "which is not present in the configuration file. You must add the service\n"
131 "in the configuration file or remove the modules that require it.";
References cms::cuda::assert(), 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, edm::Service< T >::isAvailable(), dqmiolumiharvest::j, dedefs::LTC, dedefs::RCT, dedefs::RPC, AlCaHLTBitMon_QueryRunRegistry::string, dedefs::SystLabel, and verbose.
define the data collections
fill candidate collections
put collection
Implements edm::EDProducer.
Definition at line 141 of file L1DummyProducer.cc.
146 std::cout <<
"L1DummyProducer::produce...\n" << std::flush;
277 std::cout <<
"L1DummyProducer::produce end.\n" << std::flush;
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, iEvent, dedefs::LTC, eostools::move(), dedefs::RCT, dedefs::RPC, and verbose.
template<>
void L1DummyProducer::SimpleDigi |
( |
CLHEP::HepRandomEngine * |
engine, |
|
|
std::unique_ptr< L1MuGMTReadoutCollection > & |
data, |
|
|
int |
type |
|
) |
| |
|
inline |
tbd: add GMT extended cand(!)
Definition at line 398 of file L1DummyProducer.h.
402 std::cout <<
"L1DummyProducer::SimpleDigi<L1MuGMTReadoutCollection>....\n" << std::flush;
416 for (
int i = 0;
i < 4;
i++) {
417 rec.setInputCand(
i, trks_dttf->at(
i));
418 rec.setInputCand(
i + 4, trks_rpcb->at(
i));
419 rec.setInputCand(
i + 8, trks_csc->at(
i));
420 rec.setInputCand(
i + 12, trks_rpcf->at(
i));
422 for (
int nr = 0;
nr < 4;
nr++) {
424 rec.setGMTBrlCand(
nr, eng & 0x11, eng & 0x11);
425 rec.setGMTFwdCand(
nr, eng & 0x11, eng & 0x11);
426 rec.setGMTCand(
nr, eng & 0x11);
427 int eta = (
int)(14 * engine->flat());
428 int phi = (
int)(18 * engine->flat());
430 rec.setQuietbit(
eta,
phi);
432 data->addRecord(rec);
443 std::cout <<
"L1DummyProducer::SimpleDigi<L1MuGMTReadoutCollection> end.\n" << std::flush;
References gather_cfg::cout, data, 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().