15 for (
int channel = 1; channel < 6; channel++) {
18 histoname =
"EM_P_" + std::to_string(channel) +
"_1";
30 histoname =
"EM_M_" + std::to_string(channel) +
"_1";
41 for (
int channel = 1; channel < 5; channel++) {
44 histoname =
"HAD_P_" + std::to_string(channel) +
"_" + std::to_string(channel + 2);
56 histoname =
"HAD_M_" + std::to_string(channel) +
"_" + std::to_string(channel + 2);
67 for (
int channel = 1; channel < 17; channel++) {
70 histoname =
"RPD_P_" + std::to_string(channel) +
"_2";
82 histoname =
"RPD_M_" + std::to_string(channel) +
"_2";
100 for (
auto it = digis->
begin(); it != digis->
end(); it++) {
int samples() const
total number of samples in the digi
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX)
T getUntrackedParameter(std::string const &, T const &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
ZDCQIE10Task(edm::ParameterSet const &)
void setCurrentFolder(std::string const &fullpath)
edm::EDGetTokenT< QIE10DigiCollection > _tokQIE10
const_iterator begin() const
#define DEFINE_FWK_MODULE(type)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
DetId detid() const
Get the detector id.
constexpr int adc(sample_type sample)
get the ADC sample (12 bits)
std::map< uint32_t, MonitorElement * > _cADC_vs_TS_EChannel
const_iterator end() const
std::map< uint32_t, MonitorElement * > _cADC_EChannel
void analyze(edm::Event const &, edm::EventSetup const &) override