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 hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndRuns () const final
 

Private Attributes

CSCRecHit2DValidationthe2DValidation
 
const CSCGeometrytheCSCGeometry
 
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 18 of file CSCRecHitValidation.h.

Constructor & Destructor Documentation

◆ CSCRecHitValidation()

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

Definition at line 9 of file CSCRecHitValidation.cc.

10  : theSimHitMap(ps.getParameter<edm::InputTag>("simHitsTag"), consumesCollector()),
11  theCSCGeometry(nullptr),
12  the2DValidation(nullptr),
13  theSegmentValidation(nullptr) {
14  the2DValidation = new CSCRecHit2DValidation(ps.getParameter<edm::InputTag>("recHitLabel"), consumesCollector());
15  theSegmentValidation = new CSCSegmentValidation(ps.getParameter<edm::InputTag>("segmentLabel"), consumesCollector());
16 }

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

◆ ~CSCRecHitValidation()

CSCRecHitValidation::~CSCRecHitValidation ( )
override

Definition at line 18 of file CSCRecHitValidation.cc.

18  {
19  delete the2DValidation;
20  delete theSegmentValidation;
21 }

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

Implements DQMEDAnalyzer.

Definition at line 23 of file CSCRecHitValidation.cc.

23  {
24  iBooker.setCurrentFolder("CSCRecHitsV/CSCRecHitTask");
25 
28 }

References CSCRecHit2DValidation::bookHistograms(), CSCSegmentValidation::bookHistograms(), dqm::implementation::NavigatorBase::setCurrentFolder(), the2DValidation, and theSegmentValidation.

Member Data Documentation

◆ the2DValidation

CSCRecHit2DValidation* CSCRecHitValidation::the2DValidation
private

◆ theCSCGeometry

const CSCGeometry* CSCRecHitValidation::theCSCGeometry
private

Definition at line 27 of file CSCRecHitValidation.h.

Referenced by analyze().

◆ theSegmentValidation

CSCSegmentValidation* CSCRecHitValidation::theSegmentValidation
private

◆ theSimHitMap

PSimHitMap CSCRecHitValidation::theSimHitMap
private

Definition at line 26 of file CSCRecHitValidation.h.

Referenced by analyze().

CSCSegmentValidation::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: CSCSegmentValidation.cc:51
CSCRecHitValidation::theCSCGeometry
const CSCGeometry * theCSCGeometry
Definition: CSCRecHitValidation.h:27
CSCRecHit2DValidation::bookHistograms
void bookHistograms(DQMStore::IBooker &)
Definition: CSCRecHit2DValidation.cc:18
CSCRecHitValidation::theSegmentValidation
CSCSegmentValidation * theSegmentValidation
Definition: CSCRecHitValidation.h:30
CSCSegmentValidation::bookHistograms
void bookHistograms(DQMStore::IBooker &)
Definition: CSCSegmentValidation.cc:12
CSCBaseValidation::setGeometry
void setGeometry(const CSCGeometry *geom)
Definition: CSCBaseValidation.h:22
edm::EventSetup::get
T get() const
Definition: EventSetup.h:73
PSimHitMap::fill
void fill(const edm::Event &e)
Definition: PSimHitMap.cc:4
edm::ESHandle< CSCGeometry >
CSCRecHit2DValidation::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: CSCRecHit2DValidation.cc:45
CSCSegmentValidation
Definition: CSCSegmentValidation.h:11
get
#define get
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
CSCRecHitValidation::the2DValidation
CSCRecHit2DValidation * the2DValidation
Definition: CSCRecHitValidation.h:29
CSCRecHitValidation::theSimHitMap
PSimHitMap theSimHitMap
Definition: CSCRecHitValidation.h:26
CSCBaseValidation::setSimHitMap
void setSimHitMap(const PSimHitMap *simHitMap)
Definition: CSCBaseValidation.h:23
MuonGeometryRecord
Definition: MuonGeometryRecord.h:34
edm::InputTag
Definition: InputTag.h:15
CSCRecHit2DValidation
Definition: CSCRecHit2DValidation.h:11
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37