Main Page
Namespaces
Classes
Package Documentation
DetectorDescription
DDCMS
plugins
DDTestVectors.cc
Go to the documentation of this file.
1
#include "
FWCore/Framework/interface/one/EDAnalyzer.h
"
2
#include "
FWCore/Framework/interface/MakerMacros.h
"
3
#include "
DetectorDescription/DDCMS/interface/DDRegistry.h
"
4
5
#include <iostream>
6
7
class
DDTestVectors
:
public
edm::one::EDAnalyzer
<> {
8
public
:
9
explicit
DDTestVectors
(
const
edm::ParameterSet
& ) {}
10
11
void
beginJob
()
override
{}
12
void
analyze
(
edm::Event
const
&
iEvent
,
edm::EventSetup
const
&)
override
;
13
void
endJob
()
override
{}
14
};
15
16
void
17
DDTestVectors::analyze
(
const
edm::Event
&,
const
edm::EventSetup
& )
18
{
19
std::cout
<<
"DDTestVectors::analyze:\n"
;
20
DDVectorRegistry
registry
;
21
22
std::cout
<<
"DD Vector Registry size: "
<< registry->size() <<
"\n"
;
23
for
(
const
auto
&
p
: *registry ) {
24
std::cout
<<
" "
<<
p
.first <<
" => "
;
25
for
(
const
auto
&
i
:
p
.second )
26
std::cout
<<
i
<<
", "
;
27
std::cout
<<
'\n'
;
28
}
29
}
30
31
DEFINE_FWK_MODULE
(
DDTestVectors
);
mps_fire.i
i
Definition:
mps_fire.py:269
DDTestVectors
Definition:
DDTestVectors.cc:7
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:17
MakerMacros.h
DDRegistry.h
DDTestVectors::analyze
void analyze(edm::Event const &iEvent, edm::EventSetup const &) override
Definition:
DDTestVectors.cc:17
iEvent
int iEvent
Definition:
GenABIO.cc:230
DDTestVectors::endJob
void endJob() override
Definition:
DDTestVectors.cc:13
DDTestVectors::beginJob
void beginJob() override
Definition:
DDTestVectors.cc:11
DDTestVectors::DDTestVectors
DDTestVectors(const edm::ParameterSet &)
Definition:
DDTestVectors.cc:9
edm::EventSetup
Definition:
EventSetup.h:52
EDAnalyzer.h
DDVectorRegistry
Definition:
DDRegistry.h:11
edm::ParameterSet
Definition:
ParameterSet.h:36
gather_cfg.cout
cout
Definition:
gather_cfg.py:143
PhysicsTools::registry
static Interceptor::Registry registry("Interceptor")
edm::Event
Definition:
Event.h:70
edm::one::EDAnalyzer
Definition:
EDAnalyzer.h:30
Generated for CMSSW Reference Manual by
1.8.11