#include <CSCWireDigiValidation.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | bookHistograms (DQMStore::IBooker &) |
CSCWireDigiValidation (const edm::InputTag &inputTag, edm::ConsumesCollector &&iC, bool doSim) | |
void | plotResolution (const PSimHit &hit, const CSCWireDigi &digi, const CSCLayer *layer, int chamberType) |
~CSCWireDigiValidation () override | |
Public Member Functions inherited from CSCBaseValidation | |
CSCBaseValidation (const edm::InputTag &inputTag) | |
void | setGeometry (const CSCGeometry *geom) |
void | setSimHitMap (const PSimHitMap *simHitMap) |
virtual | ~CSCBaseValidation () |
Private Attributes | |
bool | doSim_ |
MonitorElement * | theNDigisPerEventPlot |
MonitorElement * | theNDigisPerLayerPlots [10] |
MonitorElement * | theResolutionPlots [10] |
MonitorElement * | theTimeBinPlots [10] |
edm::EDGetTokenT< CSCWireDigiCollection > | wires_Token_ |
Additional Inherited Members | |
Public Types inherited from CSCBaseValidation | |
typedef dqm::legacy::DQMStore | DQMStore |
typedef dqm::legacy::MonitorElement | MonitorElement |
Protected Member Functions inherited from CSCBaseValidation | |
const CSCLayer * | findLayer (int detId) const |
Protected Attributes inherited from CSCBaseValidation | |
const CSCGeometry * | theCSCGeometry |
edm::InputTag | theInputTag |
const PSimHitMap * | theSimHitMap |
Definition at line 11 of file CSCWireDigiValidation.h.
CSCWireDigiValidation::CSCWireDigiValidation | ( | const edm::InputTag & | inputTag, |
edm::ConsumesCollector && | iC, | ||
bool | doSim | ||
) |
Definition at line 9 of file CSCWireDigiValidation.cc.
References SimL1EmulatorRepack_Full_cff::inputTag, and wires_Token_.
|
override |
Definition at line 14 of file CSCWireDigiValidation.cc.
|
overridevirtual |
Implements CSCBaseValidation.
Definition at line 29 of file CSCWireDigiValidation.cc.
References CSCLayer::chamber(), CSCChamberSpecs::chamberType(), doSim_, edm::InputTag::encode(), dqm::impl::MonitorElement::Fill(), CSCBaseValidation::findLayer(), edm::Event::getByToken(), PSimHitMap::hits(), edm::HandleBase::isValid(), dqmiolumiharvest::j, plotResolution(), FastTrackerRecHitCombiner_cfi::simHits, CSCChamber::specs(), CSCBaseValidation::theInputTag, theNDigisPerEventPlot, theNDigisPerLayerPlots, CSCBaseValidation::theSimHitMap, theTimeBinPlots, DigiDM_cff::wires, and wires_Token_.
Referenced by CSCDigiValidation::analyze().
void CSCWireDigiValidation::bookHistograms | ( | DQMStore::IBooker & | iBooker | ) |
Definition at line 16 of file CSCWireDigiValidation.cc.
References dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), mps_fire::i, theNDigisPerEventPlot, theNDigisPerLayerPlots, theResolutionPlots, and theTimeBinPlots.
Referenced by CSCDigiValidation::bookHistograms().
void CSCWireDigiValidation::plotResolution | ( | const PSimHit & | hit, |
const CSCWireDigi & | digi, | ||
const CSCLayer * | layer, | ||
int | chamberType | ||
) |
Definition at line 66 of file CSCWireDigiValidation.cc.
References dqm::impl::MonitorElement::Fill(), CSCLayer::geometry(), CSCWireDigi::getWireGroup(), PSimHit::localPosition(), theResolutionPlots, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and CSCLayerGeometry::yOfWireGroup().
Referenced by analyze().
|
private |
Definition at line 21 of file CSCWireDigiValidation.h.
Referenced by analyze().
|
private |
Definition at line 25 of file CSCWireDigiValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 23 of file CSCWireDigiValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 24 of file CSCWireDigiValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 22 of file CSCWireDigiValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 20 of file CSCWireDigiValidation.h.
Referenced by analyze(), and CSCWireDigiValidation().