54 sprintf(
histo,
"EE+ Occupancy");
57 sprintf(
histo,
"EE- Occupancy");
60 sprintf(
histo,
"EE Amplitude");
63 sprintf(
histo,
"EE Pedestal");
66 sprintf(
histo,
"EE Jitter");
69 sprintf(
histo,
"EE Chi2");
72 sprintf(
histo,
"EE RecHit Max Sample Ratio");
75 sprintf(
histo,
"EE+ Occupancy gt 60 adc counts");
78 sprintf(
histo,
"EE- Occupancy gt 60 adc counts");
81 sprintf(
histo,
"EE Amplitude gt 60 adc counts");
84 sprintf(
histo,
"EE Pedestal gt 60 adc counts");
87 sprintf(
histo,
"EE Jitter gt 60 adc counts");
90 sprintf(
histo,
"EE Chi2 gt 60 adc counts");
93 sprintf(
histo,
"EE RecHit Max Sample Ratio gt 60 adc counts");
96 sprintf(
histo,
"EE Amplitude Full Map");
97 meEEUncalibRecHitsAmpFullMap_ = ibooker.
bookProfile2D(
histo,
histo, 100, 0., 100., 100, 0., 100., 200, 0., 4000.);
99 sprintf(
histo,
"EE Pedestal Full Map");
100 meEEUncalibRecHitsPedFullMap_ = ibooker.
bookProfile2D(
histo,
histo, 100, 0., 100., 100, 0., 100., 50, 194., 201.);
107 if (EcalUncalibRecHitEE.
isValid()) {
113 bool skipDigis =
false;
130 int mySide = EEid.
zside();
155 if (uncalibRecHit->amplitude() > 60) {
179 if (myDigi !=
EEDigi->end()) {
182 double analogSample = thisSample.
adc();
183 if (
eMax < analogSample) {
195 if (
eMax > (*it).mean_x1 + 5 * (*it).rms_x1 &&
eMax != 0) {
207 <<
"endcap, eMax = " <<
eMax <<
" Amplitude = " << uncalibRecHit->amplitude() + uncalibRecHit->pedestal();
EcalEndcapRecHitsValidation(const edm::ParameterSet &ps)
Constructor.
T getParameter(std::string const &) const
MonitorElement * bookProfile2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, double lowZ, double highZ, char const *option="s", FUNC onbooking=NOOP())
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
MonitorElement * meEEUncalibRecHitMaxSampleRatio_
virtual void setCurrentFolder(std::string const &fullpath)
edm::ESGetToken< EcalPedestals, EcalPedestalsRcd > ecalPeds
MonitorElement * meEEUncalibRecHitsChi2_
T const * product() const
std::vector< T >::const_iterator const_iterator
MonitorElement * meEEUncalibRecHitsPedestal_
MonitorElement * meEEUncalibRecHitsOccupancyPlusGt60adc_
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Analyze.
MonitorElement * meEEUncalibRecHitMaxSampleRatioGt60adc_
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * meEEUncalibRecHitsJitter_
MonitorElement * meEEUncalibRecHitsJitterGt60adc_
MonitorElement * meEEUncalibRecHitsOccupancyMinusGt60adc_
MonitorElement * meEEUncalibRecHitsOccupancyMinus_
MonitorElement * meEEUncalibRecHitsOccupancyPlus_
edm::EDGetTokenT< EEUncalibratedRecHitCollection > EEuncalibrechitCollection_token_
const_iterator find(uint32_t rawId) const
Namespace of DDCMS conversion namespace.
edm::EDGetTokenT< EEDigiCollection > EEdigiCollection_token_
MonitorElement * meEEUncalibRecHitsAmpFullMap_
MonitorElement * meEEUncalibRecHitsPedFullMap_
std::vector< Item >::const_iterator const_iterator
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
int adc() const
get the ADC sample (12 bits)
const self & getMap() const
const_iterator end() const
MonitorElement * meEEUncalibRecHitsChi2Gt60adc_
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
~EcalEndcapRecHitsValidation() override
Destructor.
MonitorElement * meEEUncalibRecHitsPedestalGt60adc_
MonitorElement * meEEUncalibRecHitsAmplitudeGt60adc_
MonitorElement * meEEUncalibRecHitsAmplitude_