CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions
L1TConfigDumper Class Reference
Inheritance diagram for L1TConfigDumper:
edm::one::EDAnalyzer<> edm::one::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

 L1TConfigDumper (const edm::ParameterSet &)
 
 ~L1TConfigDumper () override
 
- Public Member Functions inherited from edm::one::EDAnalyzer<>
 EDAnalyzer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
- Public Member Functions inherited from edm::one::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDAnalyzerBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::one::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void beginJob () override
 
void endJob () override
 

Additional Inherited Members

- Public Types inherited from edm::one::EDAnalyzerBase
typedef EDAnalyzerBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

Definition at line 163 of file L1TConfigDumper.cc.

Constructor & Destructor Documentation

L1TConfigDumper::L1TConfigDumper ( const edm::ParameterSet iConfig)
explicit

Definition at line 180 of file L1TConfigDumper.cc.

182 {
183 
184 }
L1TConfigDumper::~L1TConfigDumper ( )
override

Definition at line 187 of file L1TConfigDumper.cc.

188 {
189 }

Member Function Documentation

void L1TConfigDumper::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivate

Definition at line 192 of file L1TConfigDumper.cc.

References patCaloMETCorrections_cff::A, TtFullHadDaughter::B, patCaloMETCorrections_cff::C, gather_cfg::cout, EE, F(), callgraph::G, edm::EventSetup::get(), class-composition::H, Exhume::I, dttmaxenums::L, N, L1RCTChannelMask::print(), L1MuCSCTFConfiguration::print(), L1GtPsbSetup::print(), L1MuDTTFMasks::print(), L1GtParameters::print(), L1RCTParameters::print(), L1GtTriggerMenu::print(), class-composition::Q, dttmaxenums::R, S(), mitigatedMETSequence_cff::U, X, DOFs::Y, and DOFs::Z.

193 {
194  using namespace edm;
195 
196 
198  iSetup.get< L1TriggerKeyListRcd >().get( A) ;
199 
201  iSetup.get< L1TriggerKeyRcd >().get( B) ;
202 
203  //edm::ESHandle< L1JetEtScale > C;
205  iSetup.get< L1JetEtScaleRcd >().get( C) ;
206 
207  //edm::ESHandle< L1EmEtScale > D;
209  iSetup.get< L1EmEtScaleRcd >().get( D) ;
210 
211  //edm::ESHandle< L1HtMissScale > E;
213  iSetup.get< L1HtMissScaleRcd >().get( E) ;
214 
215  //edm::ESHandle< L1HfRingEtScale > F;
217  iSetup.get< L1HfRingEtScaleRcd >().get( F) ;
218 
220  iSetup.get< L1MuTriggerScalesRcd >().get( G) ;
221 
223  iSetup.get< L1MuTriggerPtScaleRcd >().get( H) ;
224 
226  iSetup.get< L1MuGMTScalesRcd >().get( I) ;
227 
229  iSetup.get< L1MuCSCTFConfigurationRcd >().get( J) ;
230 
232  iSetup.get< L1MuCSCTFAlignmentRcd >().get( K) ;
233 
235  iSetup.get< L1MuCSCPtLutRcd >().get( L) ;
236 
238  iSetup.get< L1MuDTEtaPatternLutRcd >().get( M) ;
239 
241  iSetup.get< L1MuDTExtLutRcd >().get( N) ;
242 
244  iSetup.get< L1MuDTPhiLutRcd >().get( O) ;
245 
247  iSetup.get< L1MuDTPtaLutRcd >().get( P) ;
248 
250  iSetup.get< L1MuDTQualPatternLutRcd >().get( Q) ;
251 
253  iSetup.get< L1MuDTTFParametersRcd >().get( R) ;
254 
256  iSetup.get< L1RPCConfigRcd >().get( S) ;
257 
259  iSetup.get< L1RPCConeDefinitionRcd >().get( T) ;
260 
262  iSetup.get< L1RPCHsbConfigRcd >().get( U) ;
263 
265  iSetup.get< L1RPCBxOrConfigRcd >().get( V) ;
266 
268  iSetup.get< L1MuGMTParametersRcd >().get( W) ;
269 
271  iSetup.get< L1RCTParametersRcd >().get( X) ;
272 
274  iSetup.get< L1CaloEcalScaleRcd >().get( Y) ;
275 
277  iSetup.get< L1CaloHcalScaleRcd >().get( Z) ;
278 
280  iSetup.get< L1GctJetFinderParamsRcd >().get( AA) ;
281 
283  iSetup.get< L1GtBoardMapsRcd >().get( BB) ;
284 
286  iSetup.get< L1GtParametersRcd >().get( CC) ;
287 
289  iSetup.get< L1GtStableParametersRcd >().get( DD) ;
290 
291  //edm::ESHandle< L1GtTriggerMaskVetoAlgoTrig > EE;
293  iSetup.get< L1GtTriggerMaskVetoAlgoTrigRcd >().get( EE) ;
294 
296  iSetup.get< L1GtTriggerMenuRcd >().get( FF) ;
297 
299  iSetup.get< L1GtPsbSetupRcd >().get( GG) ;
300 
302  iSetup.get< L1CaloGeometryRecord >().get( HH) ; // Record spelled out
303 
305  iSetup.get< L1MuDTTFMasksRcd >().get( II) ;
306 
308  iSetup.get< L1MuGMTChannelMaskRcd >().get( JJ) ;
309 
311  iSetup.get< L1RCTChannelMaskRcd >().get( KK) ;
312 
314  iSetup.get< L1RCTNoisyChannelMaskRcd >().get( LL) ;
315 
317  iSetup.get< L1GctChannelMaskRcd >().get( MM) ;
318 
319  //edm::ESHandle< L1GtPrescaleFactorsAlgoTrig > NN;
321  iSetup.get< L1GtPrescaleFactorsAlgoTrigRcd >().get( NN) ;
322 
323  //edm::ESHandle< L1GtPrescaleFactorsTechTrig > OO;
325  iSetup.get< L1GtPrescaleFactorsTechTrigRcd >().get( OO) ;
326 
327  //edm::ESHandle< L1GtTriggerMaskAlgoTrig > PP;
329  iSetup.get< L1GtTriggerMaskAlgoTrigRcd >().get( PP) ;
330 
331  //edm::ESHandle< L1GtTriggerMaskTechTrig > QQ;
333  iSetup.get< L1GtTriggerMaskTechTrigRcd >().get( QQ) ;
334 
335  //edm::ESHandle< L1GtTriggerMaskVetoTechTrig > RR;
337  iSetup.get< L1GtTriggerMaskVetoTechTrigRcd >().get( RR) ;
338 
339  //edm::ESHandle< NumL1Cond > SS;
340  //iSetup.get< NumL1CondRcd >().get( SS) ;
341 
342  // config driven printout of payloads:
343  //rctParam->print(std::cout);
344 
345  //AA->print(std::cout); // no member named 'print'
346  CC->print(std::cout);
347  GG->print(std::cout);
348  int numberConditionChips = 1;
349  FF->print(std::cout, numberConditionChips);
350  J->print(std::cout);
351  II->print();
352  //W->print(std::cout); // no member named 'print'
353  KK->print(std::cout);
354  X->print(std::cout);
355  //U->print(std::cout); // no member named 'print'
356 
357 }
void print(std::ostream &s) const
#define X(str)
Definition: MuonsGrabber.cc:48
void print(std::ostream &) const
print all the L1 GT parameters
void print(std::ostream &s) const
void print() const
void print(std::ostream &) const
print all the L1 CSCTF Configuration Parameters
void print(std::ostream &, int &) const
const std::complex< double > I
Definition: I.h:8
static const std::string B
void print(std::ostream &) const
Definition: L1GtPsbSetup.cc:50
#define N
Definition: blowfish.cc:9
DecomposeProduct< arg, typename Div::arg > D
Definition: Factorize.h:151
std::pair< OmniClusterRef, TrackingParticleRef > P
double S(const TLorentzVector &, const TLorentzVector &)
Definition: Particle.cc:99
HLT enums.
T get() const
Definition: EventSetup.h:63
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
Definition: blowfish.cc:281
long double T
void L1TConfigDumper::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 360 of file L1TConfigDumper.cc.

361 {
362 }
void L1TConfigDumper::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 365 of file L1TConfigDumper.cc.

366 {
367 }
void L1TConfigDumper::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 371 of file L1TConfigDumper.cc.

References edm::ConfigurationDescriptions::addDefault(), DEFINE_FWK_MODULE, and edm::ParameterSetDescription::setUnknown().

371  {
372  //The following says we do not know what parameters are allowed so do no validation
373  // Please change this to state exactly what you do use, even if it is no parameters
375  desc.setUnknown();
376  descriptions.addDefault(desc);
377 }
void addDefault(ParameterSetDescription const &psetDescription)