13 std::cout <<
"L1DummyProducer::L1DummyProducer...\n" << std::flush;
15 std::vector<unsigned int> compColls = iConfig.
getUntrackedParameter<std::vector<unsigned int> >(
"DO_SYSTEM");
18 m_doSys[
i] = compColls[
i];
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++)
50 instName[
i][
j] = CollInstName[
i][
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]);
81 produces<L1CaloEmCollection>(instName[
RCT][0]);
83 produces<L1CaloRegionCollection>(instName[
RCT][0]);
85 produces<L1GctEmCandCollection>(instName[
GCT][0]);
87 produces<L1GctEmCandCollection>(instName[
GCT][1]);
89 produces<L1GctJetCandCollection>(instName[
GCT][2]);
91 produces<L1GctJetCandCollection>(instName[
GCT][3]);
93 produces<L1GctJetCandCollection>(instName[
GCT][4]);
95 produces<L1MuDTChambPhContainer>(instName[
DTP][0]);
97 produces<L1MuDTChambThContainer>(instName[
DTP][0]);
99 produces<L1MuRegionalCandCollection>(instName[
DTF][0]);
101 produces<L1MuDTTrackContainer>(instName[
DTF][1]);
103 produces<CSCCorrelatedLCTDigiCollection>(instName[
CTP][0]);
105 produces<L1MuRegionalCandCollection>(instName[
CTF][0]);
107 produces<L1CSCTrackCollection>(instName[
CTF][1]);
109 produces<L1MuRegionalCandCollection>(instName[
RPC][0]);
111 produces<L1MuRegionalCandCollection>(instName[
RPC][1]);
113 produces<LTCDigiCollection>(instName[
LTC][0]);
115 produces<L1MuGMTCandCollection>(instName[
GMT][0]);
117 produces<L1MuGMTReadoutCollection>(instName[
GMT][0]);
119 produces<L1GlobalTriggerReadoutRecord>(instName[
GLT][0]);
121 produces<L1GlobalTriggerEvmReadoutRecord>(instName[
GLT][0]);
123 produces<L1GlobalTriggerObjectMapRecord>(instName[
GLT][0]);
127 if (!rng.isAvailable()) {
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.";
146 std::cout <<
"L1DummyProducer::produce...\n" << std::flush;
176 SimpleDigi(engine, ecal_tp_data);
178 SimpleDigi(engine, hcal_tp_data);
180 SimpleDigi(engine, rct_em_data);
182 SimpleDigi(engine, rct_rgn_data);
184 SimpleDigi(engine, gct_isolaem_data, 0);
186 SimpleDigi(engine, gct_noisoem_data, 1);
188 SimpleDigi(engine, gct_cenjets_data, 0);
190 SimpleDigi(engine, gct_forjets_data, 1);
192 SimpleDigi(engine, gct_taujets_data, 2);
194 SimpleDigi(engine, dtp_ph_data);
196 SimpleDigi(engine, dtp_th_data);
198 SimpleDigi(engine, dtf_data, 0);
200 SimpleDigi(engine, dtf_trk_data);
202 SimpleDigi(engine, ctp_data);
204 SimpleDigi(engine, ctf_data, 2);
206 SimpleDigi(engine, ctf_trk_data);
208 SimpleDigi(engine, rpc_cen_data, 1);
210 SimpleDigi(engine, rpc_for_data, 3);
212 SimpleDigi(engine, ltc_data);
214 SimpleDigi(engine, gmt_data);
216 SimpleDigi(engine, gmt_rdt_data);
218 SimpleDigi(engine, glt_rdt_data);
220 SimpleDigi(engine, glt_evm_data);
222 SimpleDigi(engine, glt_obj_data);
277 std::cout <<
"L1DummyProducer::produce end.\n" << std::flush;
std::vector< L1CaloEmCand > L1CaloEmCollection
std::vector< L1CSCTrack > L1CSCTrackCollection
virtual CLHEP::HepRandomEngine & getEngine(StreamID const &)=0
Use this engine in event methods.
T getUntrackedParameter(std::string const &, T const &) const
std::vector< L1GctJetCand > L1GctJetCandCollection
L1DummyProducer(const edm::ParameterSet &)
std::vector< LTCDigi > LTCDigiCollection
std::vector< L1MuRegionalCand > L1MuRegionalCandCollection
void produce(edm::Event &, const edm::EventSetup &) override
const std::string SystLabel[DEnsys]
~L1DummyProducer() override
std::vector< L1CaloRegion > L1CaloRegionCollection
std::vector< L1MuGMTCand > L1MuGMTCandCollection
std::vector< L1GctEmCand > L1GctEmCandCollection