#include <CSCStripDigiValidation.h>
Definition at line 10 of file CSCStripDigiValidation.h.
◆ CSCStripDigiValidation()
Definition at line 6 of file CSCStripDigiValidation.cc.
References edm::ParameterSet::getParameterSet(), inputTag_, muonDTDigis_cfi::pset, and strips_Token_.
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
ParameterSet const & getParameterSet(std::string const &) const
edm::EDGetTokenT< CSCStripDigiCollection > strips_Token_
CSCBaseValidation(const edm::ParameterSet &ps)
MonitorElement * theNDigisPerChamberPlot
MonitorElement * thePedestalTimeCorrelationPlot
MonitorElement * thePedestalNeighborCorrelationPlot
float thePedestalCovarianceSum
◆ ~CSCStripDigiValidation()
CSCStripDigiValidation::~CSCStripDigiValidation |
( |
| ) |
|
|
override |
◆ analyze()
Implements CSCBaseValidation.
Definition at line 43 of file CSCStripDigiValidation.cc.
References MillePedeFileConverter_cfg::e, edm::InputTag::encode(), dqm::impl::MonitorElement::Fill(), fillPedestalPlots(), fillSignalPlots(), inputTag_, dqmiolumiharvest::j, dqmdumpme::last, EcalCondDBWriter_cfi::pedestal, DigiDM_cff::strips, strips_Token_, theNDigisPerEventPlot, theNDigisPerLayerPlot, thePedestalCount, and thePedestalSum.
50 unsigned nDigisPerEvent = 0;
53 auto digiItr = (*j).second.first;
54 auto last = (*j).second.second;
56 int nDigis =
last - digiItr;
57 nDigisPerEvent += nDigis;
60 double maxAmplitude = 0.;
62 for (; digiItr !=
last; ++digiItr) {
64 std::vector<int> adcCounts = digiItr->getADCCounts();
69 if (adcCounts[4] -
pedestal > maxAmplitude) {
70 maxAmplitude = adcCounts[4] -
pedestal;
MonitorElement * theNDigisPerEventPlot
Log< level::Error, false > LogError
void fillSignalPlots(const CSCStripDigi &digi)
edm::EDGetTokenT< CSCStripDigiCollection > strips_Token_
MonitorElement * theNDigisPerLayerPlot
void fillPedestalPlots(const CSCStripDigi &digi)
strips
#turn off noise in all subdetectors simHcalUnsuppressedDigis.doNoise = False mix.digitizers.hcal.doNoise = False simEcalUnsuppressedDigis.doNoise = False mix.digitizers.ecal.doNoise = False simEcalUnsuppressedDigis.doESNoise = False simSiPixelDigis.AddNoise = False mix.digitizers.pixel.AddNoise = False simSiStripDigis.Noise = False mix.digitizers.strip.AddNoise = False
◆ bookHistograms()
Definition at line 21 of file CSCStripDigiValidation.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::NavigatorBase::setCurrentFolder(), theAmplitudePlot, theNDigisPerEventPlot, theNDigisPerLayerPlot, thePedestalPlot, theRatio4to5Plot, and theRatio6to5Plot.
25 theAmplitudePlot = iBooker.
book1D(
"CSCStripAmplitude",
"CSC Strip Amplitude;Strip Amplitude;Entries", 200, 0, 2000);
26 theRatio4to5Plot = iBooker.
book1D(
"CSCStrip4to5",
"CSC Strip Ratio tbin 4 to tbin 5;Strip Ratio;Entries", 100, 0, 1);
28 iBooker.
book1D(
"CSCStrip6to5",
"CSC Strip Ratio tbin 6 to tbin 5;Strip Ratio;Entries", 120, 0, 1.2);
30 iBooker.
book1D(
"CSCStripDigisPerLayer",
31 "Number of CSC Strip Digis per layer;Number of CSC Strip Digis per layer;Entries",
36 iBooker.
book1D(
"CSCStripDigisPerEvent",
37 "Number of CSC Strip Digis per event;Number of CSC Strip Digis per event;Entries",
MonitorElement * theNDigisPerEventPlot
virtual void setCurrentFolder(std::string const &fullpath)
MonitorElement * theRatio4to5Plot
MonitorElement * theRatio6to5Plot
MonitorElement * thePedestalPlot
MonitorElement * theNDigisPerLayerPlot
MonitorElement * theAmplitudePlot
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
◆ 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 |
|
) |
| |
◆ inputTag_
◆ 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