CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
L1TConfigDumper.cc
Go to the documentation of this file.
1 
2 // system include files
3 #include <memory>
4 
5 // user include files
8 
11 
13 
16 
19 
22 
24 //#include "CondFormats/L1TObjects/interface/L1JetEtScale.h"
26 
28 //#include "CondFormats/L1TObjects/interface/L1EmEtScale.h"
30 
32 //#include "CondFormats/L1TObjects/interface/L1HtMissScale.h"
34 
36 //#include "CondFormats/L1TObjects/interface/L1HfRingEtScale.h"
38 
41 
44 
47 
50 
53 
56 
59 
62 
65 
68 
71 
74 
77 
80 
83 
86 
89 
92 
95 
98 
101 
104 
107 
110 
112 //#include "CondFormats/L1TObjects/interface/L1GtTriggerMaskVetoAlgoTrig.h"
114 
117 
120 
121 #include "CondFormats/DataRecord/interface/L1CaloGeometryRecord.h" //Record spelled out
123 
126 
129 
132 
135 
138 
140 //#include "CondFormats/L1TObjects/interface/L1GtPrescaleFactorsAlgoTrig.h"
142 
144 //#include "CondFormats/L1TObjects/interface/L1GtPrescaleFactorsTechTrig.h"
146 
148 //#include "CondFormats/L1TObjects/interface/L1GtTriggerMaskAlgoTrig.h"
150 
152 //#include "CondFormats/L1TObjects/interface/L1GtTriggerMaskTechTrig.h"
154 
156 //#include "CondFormats/L1TObjects/interface/L1GtTriggerMaskVetoTechTrig.h"
158 
159 //#include "CondFormats/DataRecord/interface/NumL1CondRcd.h"
160 //#include "CondFormats/L1TObjects/interface/NumL1Cond.h"
161 
163 public:
164  explicit L1TConfigDumper(const edm::ParameterSet&);
165  ~L1TConfigDumper() override;
166 
167  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
168 
169 private:
170  void beginJob() override;
171  void analyze(const edm::Event&, const edm::EventSetup&) override;
172  void endJob() override;
173 
174  // ----------member data ---------------------------
175 };
176 
178 
179 {}
180 
182 
184  using namespace edm;
185 
187  iSetup.get<L1TriggerKeyListRcd>().get(A);
188 
190  iSetup.get<L1TriggerKeyRcd>().get(B);
191 
192  //edm::ESHandle< L1JetEtScale > C;
194  iSetup.get<L1JetEtScaleRcd>().get(C);
195 
196  //edm::ESHandle< L1EmEtScale > D;
198  iSetup.get<L1EmEtScaleRcd>().get(D);
199 
200  //edm::ESHandle< L1HtMissScale > E;
202  iSetup.get<L1HtMissScaleRcd>().get(E);
203 
204  //edm::ESHandle< L1HfRingEtScale > F;
206  iSetup.get<L1HfRingEtScaleRcd>().get(F);
207 
209  iSetup.get<L1MuTriggerScalesRcd>().get(G);
210 
212  iSetup.get<L1MuTriggerPtScaleRcd>().get(H);
213 
215  iSetup.get<L1MuGMTScalesRcd>().get(I);
216 
218  iSetup.get<L1MuCSCTFConfigurationRcd>().get(J);
219 
221  iSetup.get<L1MuCSCTFAlignmentRcd>().get(K);
222 
224  iSetup.get<L1MuCSCPtLutRcd>().get(L);
225 
227  iSetup.get<L1MuDTEtaPatternLutRcd>().get(M);
228 
230  iSetup.get<L1MuDTExtLutRcd>().get(N);
231 
233  iSetup.get<L1MuDTPhiLutRcd>().get(O);
234 
236  iSetup.get<L1MuDTPtaLutRcd>().get(P);
237 
239  iSetup.get<L1MuDTQualPatternLutRcd>().get(Q);
240 
242  iSetup.get<L1MuDTTFParametersRcd>().get(R);
243 
245  iSetup.get<L1RPCConfigRcd>().get(S);
246 
248  iSetup.get<L1RPCConeDefinitionRcd>().get(T);
249 
251  iSetup.get<L1RPCHsbConfigRcd>().get(U);
252 
254  iSetup.get<L1RPCBxOrConfigRcd>().get(V);
255 
257  iSetup.get<L1MuGMTParametersRcd>().get(W);
258 
260  iSetup.get<L1RCTParametersRcd>().get(X);
261 
263  iSetup.get<L1CaloEcalScaleRcd>().get(Y);
264 
266  iSetup.get<L1CaloHcalScaleRcd>().get(Z);
267 
269  iSetup.get<L1GctJetFinderParamsRcd>().get(AA);
270 
272  iSetup.get<L1GtBoardMapsRcd>().get(BB);
273 
275  iSetup.get<L1GtParametersRcd>().get(CC);
276 
278  iSetup.get<L1GtStableParametersRcd>().get(DD);
279 
280  //edm::ESHandle< L1GtTriggerMaskVetoAlgoTrig > EE;
282  iSetup.get<L1GtTriggerMaskVetoAlgoTrigRcd>().get(EE);
283 
285  iSetup.get<L1GtTriggerMenuRcd>().get(FF);
286 
288  iSetup.get<L1GtPsbSetupRcd>().get(GG);
289 
291  iSetup.get<L1CaloGeometryRecord>().get(HH); // Record spelled out
292 
294  iSetup.get<L1MuDTTFMasksRcd>().get(II);
295 
297  iSetup.get<L1MuGMTChannelMaskRcd>().get(JJ);
298 
300  iSetup.get<L1RCTChannelMaskRcd>().get(KK);
301 
303  iSetup.get<L1RCTNoisyChannelMaskRcd>().get(LL);
304 
306  iSetup.get<L1GctChannelMaskRcd>().get(MM);
307 
308  //edm::ESHandle< L1GtPrescaleFactorsAlgoTrig > NN;
310  iSetup.get<L1GtPrescaleFactorsAlgoTrigRcd>().get(NN);
311 
312  //edm::ESHandle< L1GtPrescaleFactorsTechTrig > OO;
314  iSetup.get<L1GtPrescaleFactorsTechTrigRcd>().get(OO);
315 
316  //edm::ESHandle< L1GtTriggerMaskAlgoTrig > PP;
318  iSetup.get<L1GtTriggerMaskAlgoTrigRcd>().get(PP);
319 
320  //edm::ESHandle< L1GtTriggerMaskTechTrig > QQ;
322  iSetup.get<L1GtTriggerMaskTechTrigRcd>().get(QQ);
323 
324  //edm::ESHandle< L1GtTriggerMaskVetoTechTrig > RR;
326  iSetup.get<L1GtTriggerMaskVetoTechTrigRcd>().get(RR);
327 
328  //edm::ESHandle< NumL1Cond > SS;
329  //iSetup.get< NumL1CondRcd >().get( SS) ;
330 
331  // config driven printout of payloads:
332  //rctParam->print(std::cout);
333 
334  //AA->print(std::cout); // no member named 'print'
335  CC->print(std::cout);
336  GG->print(std::cout);
337  int numberConditionChips = 1;
338  FF->print(std::cout, numberConditionChips);
339  J->print(std::cout);
340  II->print();
341  //W->print(std::cout); // no member named 'print'
342  KK->print(std::cout);
343  X->print(std::cout);
344  //U->print(std::cout); // no member named 'print'
345 }
346 
348 
350 
351 // ------------ method fills 'descriptions' with the allowed parameters for the module ------------
353  //The following says we do not know what parameters are allowed so do no validation
354  // Please change this to state exactly what you do use, even if it is no parameters
356  desc.setUnknown();
357  descriptions.addDefault(desc);
358 }
359 
360 //define this as a plug-in
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
~L1TConfigDumper() override
void analyze(const edm::Event &, const edm::EventSetup &) override
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
void beginJob() override
#define X(str)
Definition: MuonsGrabber.cc:38
L1TConfigDumper(const edm::ParameterSet &)
int iEvent
Definition: GenABIO.cc:224
void addDefault(ParameterSetDescription const &psetDescription)
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t V
const std::complex< double > I
Definition: I.h:8
static const std::string B
#define N
Definition: blowfish.cc:9
DecomposeProduct< arg, typename Div::arg > D
Definition: Factorize.h:141
std::pair< OmniClusterRef, TrackingParticleRef > P
double S(const TLorentzVector &, const TLorentzVector &)
Definition: Particle.cc:97
void endJob() override
T get() const
Definition: EventSetup.h:88
tuple cout
Definition: gather_cfg.py:144
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
Definition: blowfish.cc:163
long double T