#include <CSCWireDigiValidation.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) |
CSCWireDigiValidation (DQMStore *dbe, const edm::InputTag &inputTag, edm::ConsumesCollector &&iC, bool doSim) | |
void | plotResolution (const PSimHit &hit, const CSCWireDigi &digi, const CSCLayer *layer, int chamberType) |
~CSCWireDigiValidation () | |
Public Member Functions inherited from CSCBaseValidation | |
CSCBaseValidation (DQMStore *dbe, const edm::InputTag &inputTag) | |
void | setGeometry (const CSCGeometry *geom) |
void | setSimHitMap (const PSimHitMap *simHitMap) |
virtual | ~CSCBaseValidation () |
Private Attributes | |
bool | theDoSimFlag |
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 | |
DQMStore * | dbe_ |
const CSCGeometry * | theCSCGeometry |
edm::InputTag | theInputTag |
const PSimHitMap * | theSimHitMap |
Definition at line 12 of file CSCWireDigiValidation.h.
CSCWireDigiValidation::CSCWireDigiValidation | ( | DQMStore * | dbe, |
const edm::InputTag & | inputTag, | ||
edm::ConsumesCollector && | iC, | ||
bool | doSim | ||
) |
Definition at line 11 of file CSCWireDigiValidation.cc.
References DQMStore::book1D(), CSCBaseValidation::dbe_, i, theNDigisPerLayerPlots, theResolutionPlots, theTimeBinPlots, and wires_Token_.
CSCWireDigiValidation::~CSCWireDigiValidation | ( | ) |
Definition at line 37 of file CSCWireDigiValidation.cc.
|
virtual |
Implements CSCBaseValidation.
Definition at line 50 of file CSCWireDigiValidation.cc.
References CSCLayer::chamber(), CSCChamberSpecs::chamberType(), edm::InputTag::encode(), MonitorElement::Fill(), CSCBaseValidation::findLayer(), edm::Event::getByToken(), PSimHitMap::hits(), edm::HandleBase::isValid(), j, plotResolution(), trackerHits::simHits, CSCChamber::specs(), theDoSimFlag, CSCBaseValidation::theInputTag, theNDigisPerEventPlot, theNDigisPerLayerPlots, CSCBaseValidation::theSimHitMap, theTimeBinPlots, and wires_Token_.
Referenced by CSCDigiValidation::analyze().
void CSCWireDigiValidation::plotResolution | ( | const PSimHit & | hit, |
const CSCWireDigi & | digi, | ||
const CSCLayer * | layer, | ||
int | chamberType | ||
) |
Definition at line 93 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 27 of file CSCWireDigiValidation.h.
Referenced by analyze().
|
private |
Definition at line 31 of file CSCWireDigiValidation.h.
Referenced by analyze().
|
private |
Definition at line 29 of file CSCWireDigiValidation.h.
Referenced by analyze(), and CSCWireDigiValidation().
|
private |
Definition at line 30 of file CSCWireDigiValidation.h.
Referenced by CSCWireDigiValidation(), and plotResolution().
|
private |
Definition at line 28 of file CSCWireDigiValidation.h.
Referenced by analyze(), and CSCWireDigiValidation().
|
private |
Definition at line 26 of file CSCWireDigiValidation.h.
Referenced by analyze(), and CSCWireDigiValidation().