CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
DDTestSpecPars Class Reference
Inheritance diagram for DDTestSpecPars:

Public Member Functions

void analyze (Event const &iEvent, EventSetup const &) override
 
void beginJob () override
 
 DDTestSpecPars (const ParameterSet &iConfig)
 
void endJob () override
 

Private Attributes

const ESInputTag m_tag
 

Detailed Description

Definition at line 15 of file DDTestSpecPars.cc.

Constructor & Destructor Documentation

DDTestSpecPars::DDTestSpecPars ( const ParameterSet iConfig)
inlineexplicit

Definition at line 17 of file DDTestSpecPars.cc.

18  : m_tag(iConfig.getParameter<ESInputTag>("DDDetector")) {}
T getParameter(std::string const &) const
const ESInputTag m_tag

Member Function Documentation

void DDTestSpecPars::analyze ( Event const &  iEvent,
EventSetup const &   
)
override

Definition at line 29 of file DDTestSpecPars.cc.

References DEFINE_FWK_MODULE, edm::EventSetup::get(), mps_fire::i, gen::k, checklumidiff::l, edm::LogVerbatim::log(), cmsBatch::log, funct::m, PhysicsTools::registry, and cms::DDSpecParRegistry::specpars.

30 {
31  LogVerbatim("Geometry") << "DDTestSpecPars::analyze: " << m_tag;
33  iEventSetup.get<DDSpecParRegistryRcd>().get(m_tag.module(), registry);
34 
35  LogVerbatim("Geometry").log([&registry](auto& log) {
36  log << "DD SpecPar Registry size: " << registry->specpars.size();
37  for(const auto& i: registry->specpars) {
38  log << " " << i.first << " => ";
39  for(const auto& k : i.second.paths)
40  log << k << ", ";
41  for(const auto& l : i.second.spars) {
42  log << l.first << " => ";
43  for(const auto& il : l.second) {
44  log << il << ", ";
45  }
46  }
47  for(const auto& m : i.second.numpars) {
48  log << m.first << " => ";
49  for(const auto& im : m.second) {
50  log << im << ", ";
51  }
52  }
53  log << '\n';
54  }
55  });
56 }
const ESInputTag m_tag
LogVerbatim & log(F &&iF)
int k[5][pyjets_maxn]
static Interceptor::Registry registry("Interceptor")
const std::string & module() const
Definition: ESInputTag.h:99
void DDTestSpecPars::beginJob ( void  )
inlineoverride

Definition at line 20 of file DDTestSpecPars.cc.

References analyze(), and iEvent.

20 {}
void DDTestSpecPars::endJob ( void  )
inlineoverride

Definition at line 22 of file DDTestSpecPars.cc.

22 {}

Member Data Documentation

const ESInputTag DDTestSpecPars::m_tag
private

Definition at line 25 of file DDTestSpecPars.cc.