35 std::vector<uint32_t> vVME;
36 std::vector<uint32_t> vuTCA;
124 std::vector<uint32_t> vFEDHF;
132 for (std::vector<int>::const_iterator it = vFEDsVME.begin(); it != vFEDsVME.end(); ++it) {
136 for (std::vector<int>::const_iterator it = vFEDsuTCA.begin(); it != vFEDsuTCA.end(); ++it) {
310 DQTask::_resetMonitors(uf);
340 uint32_t rawidValid = 0;
341 uint32_t rawidHBValid = 0;
342 uint32_t rawidHEValid = 0;
351 double sumQ = hcaldqm::utilities::sumQ_v10<QIE11DataFrame>(frame, 2.5, 0, frame.
samples() - 1);
363 rawidHBValid = did.rawId();
365 rawidHEValid = did.rawId();
402 for (
int i = 0;
i < frame.samples();
i++) {
412 double timing = hcaldqm::utilities::aveTS_v10<QIE11DataFrame>(frame, 2.5, 0, frame.samples() - 1);
437 did.subdet() ==
HcalBarrel ? numChsCut++ : numChsCutHE++;
439 did.subdet() ==
HcalBarrel ? numChs++ : numChsHE++;
442 if (rawidHBValid != 0 && rawidHEValid != 0) {
454 double sumQ = hcaldqm::utilities::sumQ<HODataFrame>(*it, 8.5, 0, it->size() - 1);
466 rawidValid = did.rawId();
499 for (
int i = 0;
i < it->size();
i++) {
509 double timing = hcaldqm::utilities::aveTS<HODataFrame>(*it, 8.5, 0, it->size() - 1);
539 if (rawidValid != 0) {
551 double sumQ = hcaldqm::utilities::sumQ_v10<QIE10DataFrame>(frame, 2.5, 0, frame.
samples() - 1);
563 rawidValid = did.rawId();
599 for (
int i = 0;
i < frame.samples();
i++) {
609 double timing = hcaldqm::utilities::aveTS_v10<QIE10DataFrame>(frame, 2.5, 0, frame.samples() - 1);
640 if (rawidValid != 0) {
646 DQTask::beginLuminosityBlock(lb, es);
650 DQTask::endLuminosityBlock(lb, es);
int samples() const
total number of samples in the digi
hcaldqm::ContainerProf2D _cTimingCut_FEDVME
void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, int debug=0) override
constexpr uint32_t rawId() const
T getUntrackedParameter(std::string const &, T const &) const
hcaldqm::Container1D _cADC_SubdetPM
virtual void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
virtual bool exists(HcalDetId const &)
hcaldqm::ContainerProf2D _cSumQ_depth
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
void fill(HcalDetId const &) override
hcaldqm::ContainerProf1D _cTimingCutvsLS_FED
void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
std::pair< uint16_t, uint16_t > fed2crate(int fed)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
DigiPhase1Task(edm::ParameterSet const &)
unique_ptr< ClusterSequence > cs
hcaldqm::ContainerProf1D _cOccupancyCutvsLS_Subdet
edm::EDGetTokenT< HODigiCollection > _tokHO
std::vector< T >::const_iterator const_iterator
hcaldqm::Container1D _cTimingCut_SubdetPM
MonitorElement * meNumEvents1LS
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
const_iterator begin() const
hcaldqm::Container2D _cOccupancyCut_depth
std::vector< uint32_t > _vhashFEDs
void _process(edm::Event const &, edm::EventSetup const &) override
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsVME
std::vector< hcaldqm::flag::Flag > _vflags
hcaldqm::Container1D _cShapeCut_FED
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
hcaldqm::filter::HashFilter _filter_VME
uint32_t lookup(DetId const &)
MonitorElement * meUnknownIds1LS
hcaldqm::ContainerProf2D _cTimingCut_depth
virtual void fill(uint32_t)
#define DEFINE_FWK_MODULE(type)
hcaldqm::electronicsmap::ElectronicsMap _dhashmap
void setLumiFlag()
this ME is meant to be stored for each luminosity section
void setCurrentFolder(std::string const &fullpath)
constexpr bool isVMEid() const
void dqmthrow(std::string const &msg) const
ContainerXXX< uint32_t > _xQuality
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsuTCA
MonitorElement * book1D(Args &&...args)
int const FIBER_uTCA_MIN1
hcaldqm::Container2D _cOccupancyCut_FEDVME
hcaldqm::filter::HashFilter _filter_uTCA
constexpr int adc(sample_type sample)
get the ADC sample (12 bits)
HcalElectronicsMap const * _emap
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
const_iterator end() const
hcaldqm::Container1D _cDigiSize_FED
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
edm::EDGetTokenT< QIE10DigiCollection > _tokHF
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
hcaldqm::ContainerProf2D _cTimingCut_FEDuTCA
virtual void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
example_stream void bookHistograms(DQMStore::IBooker &,@example_stream edm::Run const &,@example_stream edm::EventSetup const &) override
hcaldqm::Container2D _cOccupancy_FEDVME
hcaldqm::Container2D _cOccupancy_ElectronicsVME
hcaldqm::ContainerProf1D _cSumQvsLS_SubdetPM
void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fEnergy), int debug=0) override
const_iterator end() const
hcaldqm::Container2D _cOccupancy_ElectronicsuTCA
virtual STDTYPE & get(HcalDetId const &)
virtual void setLumiFlag()
hcaldqm::Container2D _cOccupancyCut_FEDuTCA
std::vector< int > getFEDList(HcalElectronicsMap const *)
hcaldqm::Container2D _cOccupancyCut_ElectronicsuTCA
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
void fill(HcalDetId const &) override
const HcalElectronicsMap * getHcalMapping() const
void _resetMonitors(hcaldqm::UpdateFreq) override
virtual void initialize(FilterType ftype, hashfunctions::HashType htype, std::vector< uint32_t > const &)
hcaldqm::Container1D _cSumQ_SubdetPM
hcaldqm::filter::HashFilter _filter_FEDHF
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::Container2D _cOccupancyCut_ElectronicsVME
int samples() const
total number of samples in the digi
hcaldqm::Container2D _cOccupancy_depth
Readout chain identification for Hcal.
hcaldqm::Container1D _cfC_SubdetPM
edm::EDGetTokenT< QIE11DigiCollection > _tokHBHE
const_iterator begin() const
double sumQ(DIGI const &digi, double ped, int i=0, int j=3)
hcaldqm::ContainerProf1D _cOccupancyvsLS_Subdet
hcaldqm::Container2D _cOccupancy_FEDuTCA