41 sprintf(s,
"CastorLED_qVsTS(allPMT)");
47 sprintf(s,
"CastorLED_qVsPMT");
53 sprintf(s,
"CastorLEDqMap(cumulative)");
56 sprintf(s,
"CastorLED_QmeanMap");
79 if(castorDigis.
size() <= 0) {
81 std::cout<<
"CastorLEDMonitor::processEvent NO Castor Digis"<<std::endl;
91 for(
int i=0;
i<digi.
size();
i++) {
104 for(
int mod=1;
mod<=14;
mod++)
for(
int sec=1; sec<=16;sec++) {
T getUntrackedParameter(std::string const &, T const &) const
std::string subsystemname
void setup(const edm::ParameterSet &ps)
int sector() const
get the sector (1-16)
int adc() const
get the ADC sample
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 processEvent(const CastorDigiCollection &cast, const CastorDbService &cond)
MonitorElement * h2meanMap
CastorLEDMonitor(const edm::ParameterSet &ps)
const_iterator end() const
void setCurrentFolder(const std::string &fullpath)
static const float LedMonAdc2fc[128]
MonitorElement * book2D(Args &&...args)
virtual void setup(const edm::ParameterSet &ps)
TH2F * getTH2F(void) const
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