CMS 3D CMS Logo

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 
166  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
167 
168 private:
169  void analyze(const edm::Event&, const edm::EventSetup&) override;
170 
171  // ----------member data ---------------------------
216 };
217 
219  : AToken_(esConsumes()),
220  BToken_(esConsumes()),
221  CToken_(esConsumes()),
222  DToken_(esConsumes()),
223  EToken_(esConsumes()),
224  FToken_(esConsumes()),
225  GToken_(esConsumes()),
226  HToken_(esConsumes()),
227  IToken_(esConsumes()),
228  JToken_(esConsumes()),
229  KToken_(esConsumes()),
230  LToken_(esConsumes()),
231  MToken_(esConsumes()),
232  NToken_(esConsumes()),
233  OToken_(esConsumes()),
234  PToken_(esConsumes()),
235  QToken_(esConsumes()),
236  RToken_(esConsumes()),
237  SToken_(esConsumes()),
238  TToken_(esConsumes()),
239  UToken_(esConsumes()),
240  VToken_(esConsumes()),
241  WToken_(esConsumes()),
242  XToken_(esConsumes()),
243  YToken_(esConsumes()),
244  ZToken_(esConsumes()),
245  AAToken_(esConsumes()),
246  BBToken_(esConsumes()),
247  CCToken_(esConsumes()),
248  DDToken_(esConsumes()),
249  EEToken_(esConsumes()),
250  FFToken_(esConsumes()),
251  GGToken_(esConsumes()),
252  HHToken_(esConsumes()),
253  IIToken_(esConsumes()),
254  JJToken_(esConsumes()),
255  KKToken_(esConsumes()),
256  LLToken_(esConsumes()),
257  MMToken_(esConsumes()),
258  NNToken_(esConsumes()),
259  OOToken_(esConsumes()),
260  PPToken_(esConsumes()),
261  QQToken_(esConsumes()),
262  RRToken_(esConsumes()) {}
263 
265  using namespace edm;
266 
268 
270 
272 
274 
276 
278 
280 
282 
284 
286 
288 
290 
292 
294 
296 
298 
300 
302 
304 
306 
308 
310 
312 
314 
316 
318 
320 
322 
324 
326 
328 
330 
332 
334 
336 
338 
340 
342 
344 
346 
348 
350 
352 
354 
355  //edm::ESHandle< NumL1Cond > SS;
356  //iSetup.get< NumL1CondRcd >().get( SS) ;
357 
358  // config driven printout of payloads:
359  //rctParam->print(std::cout);
360 
361  //AA->print(std::cout); // no member named 'print'
362  CC->print(std::cout);
363  GG->print(std::cout);
364  int numberConditionChips = 1;
365  FF->print(std::cout, numberConditionChips);
366  J->print(std::cout);
367  II->print();
368  //W->print(std::cout); // no member named 'print'
369  KK->print(std::cout);
370  X->print(std::cout);
371  //U->print(std::cout); // no member named 'print'
372 }
373 
374 // ------------ method fills 'descriptions' with the allowed parameters for the module ------------
376  //The following says we do not know what parameters are allowed so do no validation
377  // Please change this to state exactly what you do use, even if it is no parameters
379  desc.setUnknown();
380  descriptions.addDefault(desc);
381 }
382 
383 //define this as a plug-in
edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskAlgoTrigRcd > PPToken_
edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskVetoAlgoTrigRcd > EEToken_
edm::ESGetToken< L1MuDTPtaLut, L1MuDTPtaLutRcd > PToken_
edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskTechTrigRcd > QQToken_
ESGetTokenH3DDVariant esConsumes(std::string const &Record, edm::ConsumesCollector &)
Definition: DeDxTools.cc:283
edm::ESGetToken< L1RPCHsbConfig, L1RPCHsbConfigRcd > UToken_
Definition: APVGainStruct.h:7
edm::ESGetToken< L1MuGMTParameters, L1MuGMTParametersRcd > WToken_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void analyze(const edm::Event &, const edm::EventSetup &) override
void print(std::ostream &) const
print all the L1 GT parameters
void print(std::ostream &s) const
edm::ESGetToken< L1MuTriggerPtScale, L1MuTriggerPtScaleRcd > HToken_
edm::ESGetToken< L1MuDTTFMasks, L1MuDTTFMasksRcd > IIToken_
edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskVetoTechTrigRcd > RRToken_
edm::ESGetToken< L1MuDTQualPatternLut, L1MuDTQualPatternLutRcd > QToken_
edm::ESGetToken< L1MuTriggerScales, L1MuTriggerScalesRcd > GToken_
edm::ESGetToken< L1GtPrescaleFactors, L1GtPrescaleFactorsTechTrigRcd > OOToken_
edm::ESGetToken< L1MuDTEtaPatternLut, L1MuDTEtaPatternLutRcd > MToken_
edm::ESGetToken< L1TriggerKeyList, L1TriggerKeyListRcd > AToken_
edm::ESGetToken< L1RPCConfig, L1RPCConfigRcd > SToken_
edm::ESGetToken< L1CaloEcalScale, L1CaloEcalScaleRcd > YToken_
void print(std::ostream &) const
Definition: L1GtPsbSetup.cc:41
#define X(str)
Definition: MuonsGrabber.cc:38
edm::ESGetToken< L1RCTChannelMask, L1RCTChannelMaskRcd > KKToken_
L1TConfigDumper(const edm::ParameterSet &)
edm::ESGetToken< L1RCTParameters, L1RCTParametersRcd > XToken_
edm::ESGetToken< L1GctChannelMask, L1GctChannelMaskRcd > MMToken_
edm::ESGetToken< L1GtPsbSetup, L1GtPsbSetupRcd > GGToken_
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
edm::ESGetToken< L1MuCSCTFAlignment, L1MuCSCTFAlignmentRcd > KToken_
edm::ESGetToken< L1MuCSCTFConfiguration, L1MuCSCTFConfigurationRcd > JToken_
constexpr Matriplex::idx_t NN
Definition: Matrix.h:48
void print(std::ostream &, int &) const
const std::complex< double > I
Definition: I.h:8
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
edm::ESGetToken< L1MuDTTFParameters, L1MuDTTFParametersRcd > RToken_
edm::ESGetToken< L1RPCBxOrConfig, L1RPCBxOrConfigRcd > VToken_
edm::ESGetToken< L1GtTriggerMenu, L1GtTriggerMenuRcd > FFToken_
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
Definition: EventSetup.h:130
void print() const
edm::ESGetToken< L1CaloEtScale, L1EmEtScaleRcd > DToken_
edm::ESGetToken< L1CaloHcalScale, L1CaloHcalScaleRcd > ZToken_
#define N
Definition: blowfish.cc:9
constexpr Matriplex::idx_t HH
Definition: Matrix.h:51
void print(std::ostream &) const
print all the L1 CSCTF Configuration Parameters
DecomposeProduct< arg, typename Div::arg > D
Definition: Factorize.h:141
edm::ESGetToken< L1MuGMTChannelMask, L1MuGMTChannelMaskRcd > JJToken_
std::pair< OmniClusterRef, TrackingParticleRef > P
edm::ESGetToken< L1GctJetFinderParams, L1GctJetFinderParamsRcd > AAToken_
DD
single HTRIG enabling on first/second tracks
edm::ESGetToken< L1MuCSCPtLut, L1MuCSCPtLutRcd > LToken_
HLT enums.
edm::ESGetToken< L1MuGMTScales, L1MuGMTScalesRcd > IToken_
edm::ESGetToken< L1GtPrescaleFactors, L1GtPrescaleFactorsAlgoTrigRcd > NNToken_
edm::ESGetToken< L1GtParameters, L1GtParametersRcd > CCToken_
edm::ESGetToken< L1CaloEtScale, L1JetEtScaleRcd > CToken_
edm::ESGetToken< L1RPCConeDefinition, L1RPCConeDefinitionRcd > TToken_
edm::ESGetToken< L1TriggerKey, L1TriggerKeyRcd > BToken_
Definition: APVGainStruct.h:7
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
Definition: blowfish.cc:163
long double T
edm::ESGetToken< L1CaloEtScale, L1HfRingEtScaleRcd > FToken_
edm::ESGetToken< L1CaloEtScale, L1HtMissScaleRcd > EToken_
edm::ESGetToken< L1GtBoardMaps, L1GtBoardMapsRcd > BBToken_
edm::ESGetToken< L1MuDTExtLut, L1MuDTExtLutRcd > NToken_
edm::ESGetToken< L1MuDTPhiLut, L1MuDTPhiLutRcd > OToken_
edm::ESGetToken< L1RCTNoisyChannelMask, L1RCTNoisyChannelMaskRcd > LLToken_
edm::ESGetToken< L1CaloGeometry, L1CaloGeometryRecord > HHToken_
edm::ESGetToken< L1GtStableParameters, L1GtStableParametersRcd > DDToken_