17 std::cout <<
"CastorLEDMonitor Constructor: " <<
this << std::endl;
32 sprintf(s,
"CastorLEDqMap(cumulative)");
35 sprintf(s,
"CastorLED_QmeanMap");
48 std::cout <<
"CastorLEDMonitor::processEvent (start)" << std::endl;
57 if (castorDigis.
empty()) {
59 std::cout <<
"CastorLEDMonitor::processEvent NO Castor Digis" 65 j != castorDigis.
end(); j++) {
70 for (
int i = 0;
i < digi.
size();
i++) {
82 if (
ievt_ % 100 == 0) {
84 for (
int sec = 1; sec <= 16; sec++) {
91 std::cout <<
"CastorLEDMonitor::processEvent(end)" << std::endl;
T getUntrackedParameter(std::string const &, T const &) const
std::string subsystemname
MonitorElement * h2meanMap
int sector() const
get the sector (1-16)
const HcalQIESample & sample(int i) const
access a sample
std::vector< CastorDataFrame >::const_iterator const_iterator
int module() const
get the module (1-2 for EM, 1-12 for HAD)
void setCurrentFolder(std::string const &fullpath)
void processEvent(const CastorDigiCollection &cast, const CastorDbService &cond)
constexpr int adc() const
get the ADC sample
CastorLEDMonitor(const edm::ParameterSet &ps)
const_iterator end() const
static const float LedMonAdc2fc[128]
MonitorElement * book2D(Args &&...args)
const HcalCastorDetId & id() const
T mod(const T &a, const T &b)
int size() const
total number of samples in the digi
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
const_iterator begin() const