#include <CSCStripDigiValidation.h>
Definition at line 11 of file CSCStripDigiValidation.h.
◆ CSCStripDigiValidation()
◆ ~CSCStripDigiValidation()
CSCStripDigiValidation::~CSCStripDigiValidation |
( |
| ) |
|
|
override |
◆ analyze()
Implements CSCBaseValidation.
Definition at line 35 of file CSCStripDigiValidation.cc.
42 unsigned nDigisPerEvent = 0;
45 std::vector<CSCStripDigi>::const_iterator digiItr = (*j).second.first;
46 std::vector<CSCStripDigi>::const_iterator
last = (*j).second.second;
47 int nDigis =
last - digiItr;
48 nDigisPerEvent += nDigis;
51 double maxAmplitude = 0.;
54 for (; digiItr !=
last; ++digiItr) {
56 std::vector<int> adcCounts = digiItr->getADCCounts();
61 if (adcCounts[4] -
pedestal > maxAmplitude) {
63 maxAmplitude = adcCounts[4] -
pedestal;
References MillePedeFileConverter_cfg::e, edm::InputTag::encode(), dqm::impl::MonitorElement::Fill(), fillPedestalPlots(), fillSignalPlots(), dqmiolumiharvest::j, dqmdumpme::last, EcalCondDBWriter_cfi::pedestal, DigiDM_cff::strips, strips_Token_, CSCBaseValidation::theInputTag, theNDigisPerEventPlot, theNDigisPerLayerPlot, thePedestalCount, and thePedestalSum.
◆ bookHistograms()
void CSCStripDigiValidation::bookHistograms |
( |
DQMStore::IBooker & |
iBooker, |
|
|
bool |
doSim |
|
) |
| |
Definition at line 19 of file CSCStripDigiValidation.cc.
27 for (
int i = 0;
i < 10; ++
i) {
29 sprintf(title1,
"CSCStripDigiResolution%d",
i + 1);
References dqm::implementation::IBooker::book1D(), cscDigiValidation_cfi::doSim, mps_fire::i, theAmplitudePlot, theNDigisPerEventPlot, theNDigisPerLayerPlot, thePedestalPlot, theRatio4to5Plot, theRatio6to5Plot, and theResolutionPlots.
◆ fillPedestalPlots()
void CSCStripDigiValidation::fillPedestalPlots |
( |
const CSCStripDigi & |
digi | ) |
|
|
private |
◆ fillSignalPlots()
void CSCStripDigiValidation::fillSignalPlots |
( |
const CSCStripDigi & |
digi | ) |
|
|
private |
◆ plotResolution()
void CSCStripDigiValidation::plotResolution |
( |
const PSimHit & |
hit, |
|
|
int |
strip, |
|
|
const CSCLayer * |
layer, |
|
|
int |
chamberType |
|
) |
| |
◆ setGeometry()
void CSCStripDigiValidation::setGeometry |
( |
const CSCGeometry * |
geom | ) |
|
|
inline |
◆ strips_Token_
◆ theAmplitudePlot
◆ theNDigisPerChamberPlot
◆ theNDigisPerEventPlot
◆ theNDigisPerLayerPlot
◆ thePedestalCount
int CSCStripDigiValidation::thePedestalCount |
|
private |
◆ thePedestalCovarianceSum
float CSCStripDigiValidation::thePedestalCovarianceSum |
|
private |
◆ thePedestalNeighborCorrelationPlot
MonitorElement* CSCStripDigiValidation::thePedestalNeighborCorrelationPlot |
|
private |
◆ thePedestalPlot
◆ thePedestalSum
float CSCStripDigiValidation::thePedestalSum |
|
private |
◆ thePedestalTimeCorrelationPlot
MonitorElement* CSCStripDigiValidation::thePedestalTimeCorrelationPlot |
|
private |
◆ theRatio4to5Plot
◆ theRatio6to5Plot
◆ theResolutionPlots
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())