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;
177 SimpleDigi(
nevt, engine, ecal_tp_data);
179 SimpleDigi(
nevt, engine, hcal_tp_data);
181 SimpleDigi(
nevt, engine, rct_em_data);
183 SimpleDigi(
nevt, engine, rct_rgn_data);
185 SimpleDigi(
nevt, engine, gct_isolaem_data, 0);
187 SimpleDigi(
nevt, engine, gct_noisoem_data, 1);
189 SimpleDigi(
nevt, engine, gct_cenjets_data, 0);
191 SimpleDigi(
nevt, engine, gct_forjets_data, 1);
193 SimpleDigi(
nevt, engine, gct_taujets_data, 2);
195 SimpleDigi(
nevt, engine, dtp_ph_data);
197 SimpleDigi(
nevt, engine, dtp_th_data);
199 SimpleDigi(
nevt, engine, dtf_data, 0);
201 SimpleDigi(
nevt, engine, dtf_trk_data);
203 SimpleDigi(
nevt, engine, ctp_data);
205 SimpleDigi(
nevt, engine, ctf_data, 2);
207 SimpleDigi(
nevt, engine, ctf_trk_data);
209 SimpleDigi(
nevt, engine, rpc_cen_data, 1);
211 SimpleDigi(
nevt, engine, rpc_for_data, 3);
213 SimpleDigi(
nevt, engine, ltc_data);
215 SimpleDigi(
nevt, engine, gmt_data);
217 SimpleDigi(
nevt, engine, gmt_rdt_data);
219 SimpleDigi(
nevt, engine, glt_rdt_data);
221 SimpleDigi(
nevt, engine, glt_evm_data);
223 SimpleDigi(
nevt, engine, glt_obj_data);
276 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
const std::string SystLabel[DEnsys]
~L1DummyProducer() override
std::vector< L1CaloRegion > L1CaloRegionCollection
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
std::vector< L1MuGMTCand > L1MuGMTCandCollection
std::vector< L1GctEmCand > L1GctEmCandCollection