CMS 3D CMS Logo

CSCRecHitValidation.cc
Go to the documentation of this file.
8 
9 
11 : theSimHitMap(ps.getParameter<edm::InputTag>("simHitsTag"), consumesCollector() ),
12  theCSCGeometry(0),
13  the2DValidation(0),
14  theSegmentValidation(0)
15 {
17  ps.getParameter<edm::InputTag>("recHitLabel"),
20  ps.getParameter<edm::InputTag>("segmentLabel"),
22 }
23 
25 {
26  delete the2DValidation;
27  delete theSegmentValidation;
28 }
29 
31 {
32  iBooker.setCurrentFolder("CSCRecHitsV/CSCRecHitTask");
33 
36 }
37 
39 {
40  theSimHitMap.fill(e);
41 
42  // find the geometry & conditions for this event
44  eventSetup.get<MuonGeometryRecord>().get( hGeom );
45  theCSCGeometry = &*hGeom;
46 
49 
52 
53  the2DValidation->analyze(e, eventSetup);
54  theSegmentValidation->analyze(e, eventSetup);
55 }
T getParameter(std::string const &) const
CSCRecHit2DValidation * the2DValidation
void fill(const edm::Event &e)
Definition: PSimHitMap.cc:4
CSCSegmentValidation * theSegmentValidation
void bookHistograms(DQMStore::IBooker &)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
void setGeometry(const CSCGeometry *geom)
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
CSCRecHitValidation(const edm::ParameterSet &)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
void setSimHitMap(const PSimHitMap *simHitMap)
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:277
const T & get() const
Definition: EventSetup.h:55
HLT enums.
void bookHistograms(DQMStore::IBooker &)
Definition: Run.h:43
const CSCGeometry * theCSCGeometry