Go to the documentation of this file.
16 std::cout <<
"CastorLEDMonitor Constructor: " <<
this << std::endl;
28 sprintf(
s,
"CastorLEDqMap(cumulative)");
31 sprintf(
s,
"CastorLED_QmeanMap");
43 std::cout <<
"CastorLEDMonitor::processEvent (start)" << std::endl;
54 std::cout <<
"CastorLEDMonitor::processEvent NO Castor Digis" << std::endl;
63 for (
int i = 0;
i < digi.
size();
i++) {
75 if (
ievt_ % 100 == 0) {
84 std::cout <<
"CastorLEDMonitor::processEvent(end)" << std::endl;
std::vector< T >::const_iterator const_iterator
virtual void setOption(const char *option)
void processEvent(const CastorDigiCollection &cast, const CastorDbService &cond)
constexpr int adc() const
get the ADC sample
T mod(const T &a, const T &b)
virtual void setCurrentFolder(std::string const &fullpath)
T getUntrackedParameter(std::string const &, T const &) const
const HcalCastorDetId & id() const
std::string subsystemname
const HcalQIESample & sample(int i) const
access a sample
int size() const
total number of samples in the digi
int module() const
get the module (1-2 for EM, 1-12 for HAD)
MonitorElement * h2meanMap
int sector() const
get the sector (1-16)
void bookHistograms(DQMStore::IBooker &, edm::Run const &)
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
virtual double getBinContent(int binx) const
get content of bin (1-D)
CastorLEDMonitor(const edm::ParameterSet &ps)
static const float LedMonAdc2fc[128]