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()) {
108 EEUncalibRecHit = EcalUncalibRecHitEE.
product();
113 bool skipDigis =
false;
126 uncalibRecHit != EEUncalibRecHit->
end();
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();
T getUntrackedParameter(std::string const &, T const &) const
EcalEndcapRecHitsValidation(const edm::ParameterSet &ps)
Constructor.
const edm::EventSetup & c
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
bool getByToken(EDGetToken token, Handle< PROD > &result) const
const self & getMap() const
MonitorElement * meEEUncalibRecHitsChi2_
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_
bool getData(T &iHolder) const
const_iterator find(id_type i) const
MonitorElement * meEEUncalibRecHitsJitter_
MonitorElement * meEEUncalibRecHitsJitterGt60adc_
MonitorElement * meEEUncalibRecHitsOccupancyMinusGt60adc_
MonitorElement * meEEUncalibRecHitsOccupancyMinus_
MonitorElement * meEEUncalibRecHitsOccupancyPlus_
edm::EDGetTokenT< EEUncalibratedRecHitCollection > EEuncalibrechitCollection_token_
const_iterator end() const
T const * product() const
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())
T getParameter(std::string const &) const
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
const_iterator end() const
const_iterator find(uint32_t rawId) 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_
const_iterator begin() const
MonitorElement * meEEUncalibRecHitsAmplitudeGt60adc_
MonitorElement * meEEUncalibRecHitsAmplitude_
int adc() const
get the ADC sample (12 bits)