17 for (
int i = 0;
i < 3;
i++) {
27 sprintf(
histo,
"EcalDigiTask Preshower digis multiplicity");
30 for (
int i = 0;
i < 3;
i++) {
31 sprintf(
histo,
"EcalDigiTask Preshower ADC pulse %02d",
i + 1);
53 std::vector<double> esADCCounts;
58 for (
unsigned int digis = 0; digis < EcalDigiES->
size(); ++digis) {
60 int nrSamples = esdf.
size();
75 LogDebug(
"DigiInfo") <<
"Preshower Digi for ESDetId: z side " << esid.
zside() <<
" plane " << esid.
plane()
76 << esid.
six() <<
',' << esid.
siy() <<
':' << esid.
strip();
77 for (
int i = 0;
i < 3;
i++) {
78 LogDebug(
"DigiInfo") <<
"sample " <<
i <<
" ADC = " << esADCCounts[
i];
82 for (
int i = 0;
i < 3;
i++) {
const ESDetId & id() const
MonitorElement * meESDigiADC_[3]
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
virtual void setCurrentFolder(std::string const &fullpath)
T const * product() const
MonitorElement * meESDigiMultiplicity_
T getUntrackedParameter(std::string const &, T const &) const
static const int MAXSAMPLES
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Analyze.
void reserve(size_t isize)
edm::EDGetTokenT< ESDigiCollection > ESdigiCollectionToken_
EcalPreshowerDigisValidation(const edm::ParameterSet &ps)
Constructor.
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())