#include <CSCWireDigiValidation.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) |
CSCWireDigiValidation (DQMStore *dbe, const edm::InputTag &inputTag, 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] |
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 9 of file CSCWireDigiValidation.h.
CSCWireDigiValidation::CSCWireDigiValidation | ( | DQMStore * | dbe, |
const edm::InputTag & | inputTag, | ||
bool | doSim | ||
) |
Definition at line 12 of file CSCWireDigiValidation.cc.
References DQMStore::book1D(), CSCBaseValidation::dbe_, i, theNDigisPerLayerPlots, theResolutionPlots, and theTimeBinPlots.
CSCWireDigiValidation::~CSCWireDigiValidation | ( | ) |
Definition at line 33 of file CSCWireDigiValidation.cc.
|
virtual |
Implements CSCBaseValidation.
Definition at line 46 of file CSCWireDigiValidation.cc.
References CSCLayer::chamber(), CSCChamberSpecs::chamberType(), edm::InputTag::encode(), MonitorElement::Fill(), CSCBaseValidation::findLayer(), edm::Event::getByLabel(), PSimHitMap::hits(), edm::HandleBase::isValid(), j, plotResolution(), trackerHits::simHits, CSCChamber::specs(), theDoSimFlag, CSCBaseValidation::theInputTag, theNDigisPerEventPlot, theNDigisPerLayerPlots, CSCBaseValidation::theSimHitMap, and theTimeBinPlots.
Referenced by CSCDigiValidation::analyze().
void CSCWireDigiValidation::plotResolution | ( | const PSimHit & | hit, |
const CSCWireDigi & | digi, | ||
const CSCLayer * | layer, | ||
int | chamberType | ||
) |
Definition at line 88 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 22 of file CSCWireDigiValidation.h.
Referenced by analyze().
|
private |
Definition at line 26 of file CSCWireDigiValidation.h.
Referenced by analyze().
|
private |
Definition at line 24 of file CSCWireDigiValidation.h.
Referenced by analyze(), and CSCWireDigiValidation().
|
private |
Definition at line 25 of file CSCWireDigiValidation.h.
Referenced by CSCWireDigiValidation(), and plotResolution().
|
private |
Definition at line 23 of file CSCWireDigiValidation.h.
Referenced by analyze(), and CSCWireDigiValidation().