#include <CSCWireDigiValidation.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | bookHistograms (DQMStore::IBooker &) |
CSCWireDigiValidation (const edm::ParameterSet &ps, edm::ConsumesCollector &&iC) | |
void | plotResolution (const PSimHit &hit, const CSCWireDigi &digi, const CSCLayer *layer, int chamberType) |
~CSCWireDigiValidation () override | |
Public Member Functions inherited from CSCBaseValidation | |
CSCBaseValidation (const edm::ParameterSet &ps) | |
void | setGeometry (const CSCGeometry *geom) |
void | setSimHitMap (const PSimHitMap *simHitMap) |
virtual | ~CSCBaseValidation () |
Private Attributes | |
edm::InputTag | inputTag_ |
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 |
bool | isSimTrackGood (const SimTrack &t) const |
Protected Attributes inherited from CSCBaseValidation | |
bool | doSim_ |
double | simTrackMaxEta_ |
double | simTrackMinEta_ |
double | simTrackMinPt_ |
const CSCGeometry * | theCSCGeometry |
const PSimHitMap * | theSimHitMap |
Definition at line 10 of file CSCWireDigiValidation.h.
CSCWireDigiValidation::CSCWireDigiValidation | ( | const edm::ParameterSet & | ps, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 9 of file CSCWireDigiValidation.cc.
References edm::ParameterSet::getParameterSet(), inputTag_, TrackValidation_cff::pset, and wires_Token_.
|
override |
Definition at line 16 of file CSCWireDigiValidation.cc.
|
overridevirtual |
Implements CSCBaseValidation.
Definition at line 43 of file CSCWireDigiValidation.cc.
References CSCLayer::chamber(), CSCChamberSpecs::chamberType(), CSCBaseValidation::doSim_, edm::InputTag::encode(), dqm::impl::MonitorElement::Fill(), CSCBaseValidation::findLayer(), edm::Event::getByToken(), PSimHitMap::hits(), inputTag_, edm::HandleBase::isValid(), dqmiolumiharvest::j, phase1PixelTopology::layer, plotResolution(), trackerHits::simHits, CSCChamber::specs(), theNDigisPerEventPlot, theNDigisPerLayerPlots, CSCBaseValidation::theSimHitMap, theTimeBinPlots, DigiDM_cff::wires, and wires_Token_.
void CSCWireDigiValidation::bookHistograms | ( | DQMStore::IBooker & | iBooker | ) |
Definition at line 18 of file CSCWireDigiValidation.cc.
References dqm::implementation::IBooker::book1D(), CSCDetId::chamberName(), mps_fire::i, dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, theNDigisPerEventPlot, theNDigisPerLayerPlots, theResolutionPlots, and theTimeBinPlots.
void CSCWireDigiValidation::plotResolution | ( | const PSimHit & | hit, |
const CSCWireDigi & | digi, | ||
const CSCLayer * | layer, | ||
int | chamberType | ||
) |
Definition at line 80 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 20 of file CSCWireDigiValidation.h.
Referenced by analyze(), and CSCWireDigiValidation().
|
private |
Definition at line 24 of file CSCWireDigiValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 22 of file CSCWireDigiValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 23 of file CSCWireDigiValidation.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 21 of file CSCWireDigiValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 19 of file CSCWireDigiValidation.h.
Referenced by analyze(), and CSCWireDigiValidation().