4 using namespace hcaldqm;
74 sprintf(cutstr,
"_sumQHBHE%dHO%dHF%d",
int(
_lowHBHE),
91 DQTask::_resetMonitors(uf);
132 it!=chbhe->end(); ++it)
135 double sumQ = utilities::sumQ<HBHEDataFrame>(digi, 2.5, 0,
140 double aveTS = utilities::aveTS<HBHEDataFrame>(digi, 2.5, 0,
145 for (
int i=0;
i<digi.size();
i++)
147 digi.sample(
i).nominal_fC()-2.5);
150 it!=cho->end(); ++it)
153 double sumQ = utilities::sumQ<HODataFrame>(digi, 8.5, 0,
158 double aveTS = utilities::aveTS<HODataFrame>(digi, 8.5, 0,
163 for (
int i=0;
i<digi.size();
i++)
165 digi.sample(
i).nominal_fC()-8.5);
168 it!=chf->end(); ++it)
171 double sumQ = utilities::sumQ<HFDataFrame>(digi, 2.5, 0,
176 double aveTS = utilities::aveTS<HFDataFrame>(digi, 2.5, 0,
181 for (
int i=0;
i<digi.size();
i++)
183 digi.sample(
i).nominal_fC()-2.5);
200 return ctrigger->wasLEDTrigger();
virtual void initialize(std::string const &folder, std::string const &nametitle, mapper::MapperType mt, axis::Axis *xaxis, axis::Axis *yaxis=new axis::ValueAxis(axis::fYaxis, axis::fEntries), int debug=0)
T getUntrackedParameter(std::string const &, T const &) const
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
LEDTask(edm::ParameterSet const &)
virtual void initialize(std::string const &folder, std::string nametitle, mapper::MapperType mt, axis::Axis *xaxis, axis::Axis *yaxis=new axis::CoordinateAxis(axis::fYaxis, axis::fiphi), axis::Axis *zaxis=new axis::ValueAxis(axis::fZaxis, axis::fEntries), int debug=0)
double sumQ(DIGI digi, double ped, int i=0, int j=3)
virtual void _resetMonitors(UpdateFreq)
ContainerCompact _cSignals
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
edm::EDGetTokenT< HcalTBTriggerData > _tokTrigger
Container1D _cSignalMeans_SubDet
Container1D _cSignalRMSs_SubDet
virtual bool _isApplicable(edm::Event const &)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
edm::EDGetTokenT< HBHEDigiCollection > _tokHBHE
int size() const
total number of samples in the digi
Container2D _cTimingMeans_depth
std::vector< HBHEDataFrame >::const_iterator const_iterator
ContainerProf1D _cShapeCut_SubDetPM_iphi
Container1D _cTimingRMSs_SubDet
double aveTS(DIGI digi, double ped=0, int i=0, int j=3)
void bookHistograms(fwlite::EventContainer &eventCont)
Container1D _cTimingMeans_SubDet
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
void dqmthrow(std::string const &msg) const
virtual void fill(double)
virtual void _process(edm::Event const &, edm::EventSetup const &)
int size() const
total number of samples in the digi
edm::InputTag _tagTrigger
virtual void initialize(std::string const &folder, std::string const &nametitle, mapper::MapperType mt, axis::Axis *xaxis, axis::Axis *yaxis=new ValueAxis(fYaxis, fEntries), int debug=0)
ContainerCompact _cTiming
Container2D _cSignalMeans_depth
int const CALIBEVENTS_MIN
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
int size() const
total number of samples in the digi
edm::EDGetTokenT< HODigiCollection > _tokHO
virtual void fill(HcalDetId const &, double)
virtual void dump(Container1D *, bool)
edm::EDGetTokenT< HFDigiCollection > _tokHF
Container2D _cSignalRMSs_depth
Container2D _cTimingRMSs_depth