#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 | |
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 12 of file CSCWireDigiValidation.h.
CSCWireDigiValidation::CSCWireDigiValidation | ( | const edm::InputTag & | inputTag, |
edm::ConsumesCollector && | iC, | ||
bool | doSim | ||
) |
Definition at line 9 of file CSCWireDigiValidation.cc.
References HiClusterCompatibility_cfi::inputTag, and wires_Token_.
|
override |
Definition at line 20 of file CSCWireDigiValidation.cc.
|
overridevirtual |
Implements CSCBaseValidation.
Definition at line 39 of file CSCWireDigiValidation.cc.
References CSCLayer::chamber(), CSCChamberSpecs::chamberType(), doSim_, edm::InputTag::encode(), MonitorElement::Fill(), CSCBaseValidation::findLayer(), edm::Event::getByToken(), PSimHitMap::hits(), edm::HandleBase::isValid(), plotResolution(), trackerHits::simHits, CSCChamber::specs(), CSCBaseValidation::theInputTag, theNDigisPerEventPlot, theNDigisPerLayerPlots, CSCBaseValidation::theSimHitMap, theTimeBinPlots, muonCSCDigis_cfi::wires, and wires_Token_.
Referenced by CSCDigiValidation::analyze().
void CSCWireDigiValidation::bookHistograms | ( | DQMStore::IBooker & | iBooker | ) |
Definition at line 24 of file CSCWireDigiValidation.cc.
References 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 82 of file CSCWireDigiValidation.cc.
References 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 26 of file CSCWireDigiValidation.h.
Referenced by analyze().
|
private |
Definition at line 30 of file CSCWireDigiValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 28 of file CSCWireDigiValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 29 of file CSCWireDigiValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 27 of file CSCWireDigiValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 25 of file CSCWireDigiValidation.h.
Referenced by analyze(), and CSCWireDigiValidation().