CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
CSCRecHitValidation Class Reference

#include <CSCRecHitValidation.h>

Inheritance diagram for CSCRecHitValidation:
DQMEDAnalyzer edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
 CSCRecHitValidation (const edm::ParameterSet &)
 
 ~CSCRecHitValidation () override
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &event, edm::EventSetup const &setup) final
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
void beginStream (edm::StreamID id) final
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer ()
 
void endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
 EDProducer ()=default
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 

Private Attributes

edm::ESGetToken< CSCGeometry, MuonGeometryRecordgeomToken_
 
CSCRecHit2DValidationthe2DValidation
 
CSCSegmentValidationtheSegmentValidation
 
PSimHitMap theSimHitMap
 

Additional Inherited Members

- Public Types inherited from DQMEDAnalyzer
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static void globalEndJob (DQMEDAnalyzerGlobalCache const *)
 
static void globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context)
 
static void globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context)
 
static std::unique_ptr< DQMEDAnalyzerGlobalCacheinitializeGlobalCache (edm::ParameterSet const &)
 
- Protected Member Functions inherited from DQMEDAnalyzer
uint64_t meId () const
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
unsigned int streamId_
 

Detailed Description

Definition at line 19 of file CSCRecHitValidation.h.

Constructor & Destructor Documentation

◆ CSCRecHitValidation()

CSCRecHitValidation::CSCRecHitValidation ( const edm::ParameterSet ps)
explicit

Definition at line 7 of file CSCRecHitValidation.cc.

8  : theSimHitMap(ps.getParameter<edm::InputTag>("simHitsTag"), consumesCollector()),
9  the2DValidation(nullptr),
10  theSegmentValidation(nullptr) {
11  the2DValidation = new CSCRecHit2DValidation(ps.getParameter<edm::InputTag>("recHitLabel"), consumesCollector());
12  theSegmentValidation = new CSCSegmentValidation(ps.getParameter<edm::InputTag>("segmentLabel"), consumesCollector());
13  geomToken_ = esConsumes<CSCGeometry, MuonGeometryRecord>();
14 }

References geomToken_, edm::ParameterSet::getParameter(), the2DValidation, and theSegmentValidation.

◆ ~CSCRecHitValidation()

CSCRecHitValidation::~CSCRecHitValidation ( )
override

Definition at line 16 of file CSCRecHitValidation.cc.

16  {
17  delete the2DValidation;
18  delete theSegmentValidation;
19 }

References the2DValidation, and theSegmentValidation.

Member Function Documentation

◆ analyze()

void CSCRecHitValidation::analyze ( const edm::Event e,
const edm::EventSetup eventSetup 
)
overridevirtual

◆ bookHistograms()

void CSCRecHitValidation::bookHistograms ( DQMStore::IBooker iBooker,
edm::Run const &  iRun,
edm::EventSetup const &   
)
overridevirtual

Member Data Documentation

◆ geomToken_

edm::ESGetToken<CSCGeometry, MuonGeometryRecord> CSCRecHitValidation::geomToken_
private

Definition at line 28 of file CSCRecHitValidation.h.

Referenced by analyze(), and CSCRecHitValidation().

◆ the2DValidation

CSCRecHit2DValidation* CSCRecHitValidation::the2DValidation
private

◆ theSegmentValidation

CSCSegmentValidation* CSCRecHitValidation::theSegmentValidation
private

◆ theSimHitMap

PSimHitMap CSCRecHitValidation::theSimHitMap
private

Definition at line 27 of file CSCRecHitValidation.h.

Referenced by analyze().

CSCSegmentValidation::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: CSCSegmentValidation.cc:51
CSCRecHit2DValidation::bookHistograms
void bookHistograms(DQMStore::IBooker &)
Definition: CSCRecHit2DValidation.cc:18
CSCRecHitValidation::theSegmentValidation
CSCSegmentValidation * theSegmentValidation
Definition: CSCRecHitValidation.h:31
CSCSegmentValidation::bookHistograms
void bookHistograms(DQMStore::IBooker &)
Definition: CSCSegmentValidation.cc:12
dqm::implementation::NavigatorBase::setCurrentFolder
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
CSCBaseValidation::setGeometry
void setGeometry(const CSCGeometry *geom)
Definition: CSCBaseValidation.h:21
CSCGeometry
Definition: CSCGeometry.h:24
PSimHitMap::fill
void fill(const edm::Event &e)
Definition: PSimHitMap.cc:4
CSCRecHit2DValidation::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: CSCRecHit2DValidation.cc:45
CSCSegmentValidation
Definition: CSCSegmentValidation.h:11
edm::EventSetup::getData
bool getData(T &iHolder) const
Definition: EventSetup.h:120
CSCRecHitValidation::the2DValidation
CSCRecHit2DValidation * the2DValidation
Definition: CSCRecHitValidation.h:30
CSCRecHitValidation::theSimHitMap
PSimHitMap theSimHitMap
Definition: CSCRecHitValidation.h:27
CSCBaseValidation::setSimHitMap
void setSimHitMap(const PSimHitMap *simHitMap)
Definition: CSCBaseValidation.h:22
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
CSCRecHitValidation::geomToken_
edm::ESGetToken< CSCGeometry, MuonGeometryRecord > geomToken_
Definition: CSCRecHitValidation.h:28
edm::InputTag
Definition: InputTag.h:15
CSCRecHit2DValidation
Definition: CSCRecHit2DValidation.h:11
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37