Go to the documentation of this file.
9 thePedestalCovarianceSum(0),
11 thePedestalTimeCorrelationPlot(nullptr),
12 thePedestalNeighborCorrelationPlot(nullptr),
13 theNDigisPerChamberPlot(nullptr) {
27 for (
int i = 0;
i < 10; ++
i) {
29 sprintf(title1,
"CSCStripDigiResolution%d",
i + 1);
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;
96 double hitX =
hit.localPosition().
x();
97 double hitY =
hit.localPosition().
y();
MonitorElement * theResolutionPlots[10]
void fillSignalPlots(const CSCStripDigi &digi)
~CSCStripDigiValidation() override
edm::InputTag theInputTag
MonitorElement * theNDigisPerLayerPlot
float xOfStrip(int strip, float y=0.) const
void fillPedestalPlots(const CSCStripDigi &digi)
const CSCLayerGeometry * geometry() const
void bookHistograms(DQMStore::IBooker &, bool doSim)
CSCStripDigiValidation(const edm::InputTag &inputTag, edm::ConsumesCollector &&iC)
void analyze(const edm::Event &e, const edm::EventSetup &) override
edm::EDGetTokenT< CSCStripDigiCollection > strips_Token_
std::vector< int > const & getADCCounts() const
Get ADC readings.
MonitorElement * theNDigisPerEventPlot
MonitorElement * thePedestalPlot
void plotResolution(const PSimHit &hit, int strip, const CSCLayer *layer, int chamberType)
MonitorElement * theRatio4to5Plot
MonitorElement * theRatio6to5Plot
MonitorElement * theAmplitudePlot
strips
#turn off noise in all subdetectors simHcalUnsuppressedDigis.doNoise = False mix.digitizers....
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())