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  ~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;
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
L1EmEtScaleRcd.h
L1MuGMTChannelMask.h
L1RPCBxOrConfig.h
L1RPCHsbConfigRcd
Definition: L1RPCHsbConfigRcd.h:23
L1GtTriggerMenu.h
dttmaxenums::L
Definition: DTTMax.h:29
L1RPCConfigRcd.h
EDAnalyzer.h
L1RCTNoisyChannelMask.h
L1RCTChannelMaskRcd.h
L1MuDTPhiLut.h
L1RCTNoisyChannelMaskRcd
Definition: L1RCTNoisyChannelMaskRcd.h:12
L1GtTriggerMaskAlgoTrigRcd.h
L1RCTParameters.h
L1MuGMTParametersRcd.h
L1GtTriggerMask.h
ESHandle.h
L1GtParametersRcd.h
L1GtParameters.h
L1GctJetFinderParamsRcd.h
X
#define X(str)
Definition: MuonsGrabber.cc:38
L1TriggerKeyRcd
Definition: L1TriggerKeyRcd.h:30
L1MuTriggerPtScaleRcd.h
L1CaloEcalScaleRcd
Definition: L1CaloEcalScaleRcd.h:12
L1MuDTPtaLut.h
edm
HLT enums.
Definition: AlignableModifier.h:19
L1MuDTTFParameters.h
L1GtTriggerMenuRcd.h
gather_cfg.cout
cout
Definition: gather_cfg.py:144
L1RCTParametersRcd
Definition: L1RCTParametersRcd.h:12
L1DTConfigTraco_cff.DD
DD
single HTRIG enabling on first/second tracks
Definition: L1DTConfigTraco_cff.py:9
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
L1MuDTExtLut.h
L1MuDTQualPatternLut.h
L1MuDTTFMasksRcd
Definition: L1MuDTTFMasksRcd.h:10
L1GtTriggerMaskTechTrigRcd.h
L1GtStableParametersRcd.h
L1MuCSCTFConfigurationRcd
Definition: L1MuCSCTFConfigurationRcd.h:13
L1RPCConfigRcd
Definition: L1RPCConfigRcd.h:30
L1MuDTPtaLutRcd.h
L1MuCSCTFConfiguration::print
void print(std::ostream &) const
print all the L1 CSCTF Configuration Parameters
Definition: L1MuCSCTFConfiguration.cc:5
L1MuDTExtLutRcd.h
L1GtTriggerMaskVetoTechTrigRcd
Definition: L1GtTriggerMaskVetoTechTrigRcd.h:39
L1GtPsbSetupRcd
Definition: L1GtPsbSetupRcd.h:39
L1MuTriggerScalesRcd.h
edm::one::EDAnalyzer
Definition: EDAnalyzer.h:30
L1GtParameters::print
void print(std::ostream &) const
print all the L1 GT parameters
Definition: L1GtParameters.cc:58
L1GctJetFinderParams.h
L1GtPrescaleFactorsTechTrigRcd
Definition: L1GtPrescaleFactorsTechTrigRcd.h:38
L1RCTChannelMask.h
L1HfRingEtScaleRcd
Definition: L1HfRingEtScaleRcd.h:30
L1CaloHcalScale.h
L1MuGMTChannelMaskRcd.h
F
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
Definition: blowfish.cc:163
L1HtMissScaleRcd.h
L1RCTNoisyChannelMaskRcd.h
L1MuGMTParameters.h
MakerMacros.h
L1RPCConeDefinitionRcd.h
L1GtPsbSetup.h
L1GtPsbSetup::print
void print(std::ostream &) const
Definition: L1GtPsbSetup.cc:41
L1GctChannelMaskRcd.h
L1RPCHsbConfigRcd.h
L1TConfigDumper::~L1TConfigDumper
~L1TConfigDumper() override
Definition: L1TConfigDumper.cc:181
edm::EventSetup::get
T get() const
Definition: EventSetup.h:87
L1RCTChannelMask::print
void print(std::ostream &s) const
Definition: L1RCTChannelMask.h:11
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
L1TriggerKey.h
Exhume::I
const std::complex< double > I
Definition: I.h:8
L1TConfigDumper
Definition: L1TConfigDumper.cc:162
L1MuCSCTFAlignment.h
L1GctChannelMaskRcd
Definition: L1GctChannelMaskRcd.h:12
L1GtTriggerMaskTechTrigRcd
Definition: L1GtTriggerMaskTechTrigRcd.h:39
L1GtTriggerMenuRcd
Definition: L1GtTriggerMenuRcd.h:32
L1JetEtScaleRcd
Definition: L1JetEtScaleRcd.h:30
L1GtTriggerMaskAlgoTrigRcd
Definition: L1GtTriggerMaskAlgoTrigRcd.h:39
edm::ESHandle
Definition: DTSurvey.h:22
N
#define N
Definition: blowfish.cc:9
L1GctJetFinderParamsRcd
Definition: L1GctJetFinderParamsRcd.h:31
L1MuDTEtaPatternLutRcd
Definition: L1MuDTEtaPatternLutRcd.h:12
L1GtTriggerMenu::print
void print(std::ostream &, int &) const
Definition: L1GtTriggerMenu.cc:454
L1RPCBxOrConfigRcd.h
L1TConfigDumper::beginJob
void beginJob() override
Definition: L1TConfigDumper.cc:347
L1MuCSCTFAlignmentRcd
Definition: L1MuCSCTFAlignmentRcd.h:12
L1CaloGeometryRecord
Definition: L1CaloGeometryRecord.h:30
mitigatedMETSequence_cff.U
U
Definition: mitigatedMETSequence_cff.py:36
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
L1GtTriggerMaskVetoTechTrigRcd.h
S
double S(const TLorentzVector &, const TLorentzVector &)
Definition: Particle.cc:97
L1GtParametersRcd
Definition: L1GtParametersRcd.h:38
L1MuDTPhiLutRcd.h
L1MuDTTFMasks.h
L1MuCSCTFConfiguration.h
edm::ParameterSet
Definition: ParameterSet.h:47
L1GctChannelMask.h
DiLeptonHelp::MM
Definition: DiLeptonVertexHelpers.h:46
Event.h
L1RPCBxOrConfigRcd
Definition: L1RPCBxOrConfigRcd.h:23
L1MuGMTParametersRcd
Definition: L1MuGMTParametersRcd.h:12
L1CaloGeometryRecord.h
cms::cuda::V
uint32_t const T *__restrict__ const uint32_t *__restrict__ int32_t int Histo::index_type cudaStream_t V
Definition: HistoContainer.h:51
L1MuTriggerPtScale.h
L1MuCSCPtLutRcd
Definition: L1MuCSCPtLutRcd.h:12
L1RCTChannelMaskRcd
Definition: L1RCTChannelMaskRcd.h:12
L1GtPsbSetupRcd.h
iEvent
int iEvent
Definition: GenABIO.cc:224
L1MuTriggerScales.h
L1GtPrescaleFactorsAlgoTrigRcd.h
L1TriggerKeyList.h
L1MuDTQualPatternLutRcd
Definition: L1MuDTQualPatternLutRcd.h:12
L1TConfigDumper::endJob
void endJob() override
Definition: L1TConfigDumper.cc:349
L1HfRingEtScaleRcd.h
edm::EventSetup
Definition: EventSetup.h:58
L1MuTriggerPtScaleRcd
Definition: L1MuTriggerPtScaleRcd.h:12
get
#define get
L1TriggerKeyRcd.h
L1GtStableParametersRcd
Definition: L1GtStableParametersRcd.h:39
L1GtBoardMaps.h
L1GtTriggerMaskVetoAlgoTrigRcd
Definition: L1GtTriggerMaskVetoAlgoTrigRcd.h:39
L1MuTriggerScalesRcd
Definition: L1MuTriggerScalesRcd.h:12
L1MuDTPhiLutRcd
Definition: L1MuDTPhiLutRcd.h:12
L1MuCSCTFAlignmentRcd.h
L1CaloEtScale.h
L1CaloEcalScaleRcd.h
L1MuDTEtaPatternLutRcd.h
L1CaloHcalScaleRcd.h
L1DTConfigBti_cff.LL
LL
Definition: L1DTConfigBti_cff.py:25
L1RPCConeDefinitionRcd
Definition: L1RPCConeDefinitionRcd.h:16
EE
Definition: GlobalHaloAlgo.cc:15
TtFullHadDaughter::B
static const std::string B
Definition: TtFullHadronicEvent.h:9
MaterialEffects_cfi.A
A
Definition: MaterialEffects_cfi.py:11
funct::D
DecomposeProduct< arg, typename Div::arg > D
Definition: Factorize.h:141
L1HtMissScaleRcd
Definition: L1HtMissScaleRcd.h:30
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
L1TConfigDumper::L1TConfigDumper
L1TConfigDumper(const edm::ParameterSet &)
Definition: L1TConfigDumper.cc:177
L1MuCSCPtLut.h
L1MuGMTScales.h
L1CaloEcalScale.h
L1RPCConfig.h
L1MuDTQualPatternLutRcd.h
gen::C
C
Definition: PomwigHadronizer.cc:78
Frameworkfwd.h
L1MuDTEtaPatternLut.h
L1MuDTPtaLutRcd
Definition: L1MuDTPtaLutRcd.h:12
T
long double T
Definition: Basic3DVectorLD.h:48
L1EmEtScaleRcd
Definition: L1EmEtScaleRcd.h:30
data-class-funcs.H
H
Definition: data-class-funcs.py:33
EventSetup.h
BeamSpotPI::Y
Definition: BeamSpotPayloadInspectorHelper.h:32
L1MuGMTChannelMaskRcd
Definition: L1MuGMTChannelMaskRcd.h:10
S
Definition: CSCDBL1TPParametersExtended.h:16
L1TConfigDumper::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: L1TConfigDumper.cc:352
L1MuCSCPtLutRcd.h
L1MuGMTScalesRcd.h
L1TConfigDumper::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: L1TConfigDumper.cc:183
L1MuCSCTFConfigurationRcd.h
L1RCTParametersRcd.h
L1MuDTTFMasksRcd.h
L1MuGMTScalesRcd
Definition: L1MuGMTScalesRcd.h:12
ParameterSet.h
BeamSpotPI::Z
Definition: BeamSpotPayloadInspectorHelper.h:33
L1GtBoardMapsRcd
Definition: L1GtBoardMapsRcd.h:39
L1GtPrescaleFactorsAlgoTrigRcd
Definition: L1GtPrescaleFactorsAlgoTrigRcd.h:38
L1MuDTTFParametersRcd.h
P
std::pair< OmniClusterRef, TrackingParticleRef > P
Definition: BDHadronTrackMonitoringAnalyzer.cc:203
L1MuDTTFMasks::print
void print() const
Definition: L1MuDTTFMasks.cc:169
L1JetEtScaleRcd.h
L1GtTriggerMaskVetoAlgoTrigRcd.h
edm::Event
Definition: Event.h:73
L1TriggerKeyListRcd
Definition: L1TriggerKeyListRcd.h:24
L1MuDTExtLutRcd
Definition: L1MuDTExtLutRcd.h:12
edm::ConfigurationDescriptions::addDefault
void addDefault(ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:99
A
dttmaxenums::R
Definition: DTTMax.h:29
L1CaloGeometry.h
cmssw_cycle_finder.G
G
Definition: cmssw_cycle_finder.py:154
L1GtStableParameters.h
L1RPCConeDefinition.h
L1GtBoardMapsRcd.h
L1RPCHsbConfig.h
L1GtPrescaleFactors.h
L1TriggerKeyListRcd.h
L1CaloHcalScaleRcd
Definition: L1CaloHcalScaleRcd.h:13
L1MuDTTFParametersRcd
Definition: L1MuDTTFParametersRcd.h:10
L1GtPrescaleFactorsTechTrigRcd.h