3 using namespace hcaldqm;
4 using namespace hcaldqm::constants;
35 _emap = dbs->getHcalMapping();
39 std::vector<uint32_t> vVME;
40 std::vector<uint32_t> vuTCA;
51 for (std::vector<int>::const_iterator it=vFEDsVME.begin();
52 it!=vFEDsVME.end(); ++it)
56 for (std::vector<int>::const_iterator it=vFEDsuTCA.begin();
57 it!=vFEDsuTCA.end(); ++it)
311 for (std::vector<HcalGenericDetId>::const_iterator it=gids.begin();
312 it!=gids.end(); ++it)
314 if (!it->isHcalDetId())
346 DQTask::_resetMonitors(uf);
400 double sumQ = hcaldqm::utilities::sumQ_v10<QIE11DataFrame>(frame,
442 for (
int i=0;
i<frame.samples();
i++)
454 double timing = hcaldqm::utilities::aveTS_v10<QIE11DataFrame>(frame, 2.5, 0,
485 did.subdet()==
HcalBarrel?numChsCut++:numChsCutHE++;
513 double sumQ = hcaldqm::utilities::sumQ<HODataFrame>(*it, 8.5, 0, it->size()-1);
555 for (
int i=0;
i<it->size();
i++)
565 double timing = hcaldqm::utilities::aveTS<HODataFrame>(*it, 8.5, 0,
610 numChs=0; numChsCut=0;
617 double sumQ = hcaldqm::utilities::sumQ_v10<QIE10DataFrame>(frame,
660 for (
int i=0;
i<frame.samples();
i++)
672 double timing = hcaldqm::utilities::aveTS_v10<QIE10DataFrame>(frame, 2.5, 0,
723 DQTask::beginLuminosityBlock(lb, es);
730 DQTask::endLuminosityBlock(lb, es);
int adc(sample_type sample)
get the ADC sample (12 bits)
int samples() const
total number of samples in the digi
hcaldqm::ContainerProf2D _cTimingCut_FEDVME
hcaldqm::ContainerProf1D _cOccupancyCutvsBX_Subdet
T getUntrackedParameter(std::string const &, T const &) const
hcaldqm::ContainerXXX< uint32_t > _xDigiSize
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
hcaldqm::Container1D _cADC_SubdetPM
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
auto_ptr< ClusterSequence > cs
virtual bool exists(HcalDetId const &)
hcaldqm::ContainerProf2D _cSumQ_depth
virtual void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
hcaldqm::ContainerXXX< uint32_t > _xNChs
hcaldqm::ContainerProf1D _cTimingCutvsLS_FED
std::pair< uint16_t, uint16_t > fed2crate(int fed)
hcaldqm::ContainerProf1D _cTimingCutvsieta_Subdet
virtual void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
hcaldqm::ContainerXXX< uint32_t > _xNChsNominal
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
DigiPhase1Task(edm::ParameterSet const &)
hcaldqm::ContainerProf1D _cTimingCutvsiphi_SubdetPM
#define DEFINE_FWK_MODULE(type)
hcaldqm::ContainerProf1D _cOccupancyCutvsLS_Subdet
edm::EDGetTokenT< HODigiCollection > _tokHO
std::vector< HODataFrame >::const_iterator const_iterator
int bunchCrossing() const
virtual void _process(edm::Event const &, edm::EventSetup const &)
virtual void _resetMonitors(hcaldqm::UpdateFreq)
hcaldqm::Container1D _cTimingCut_SubdetPM
MonitorElement * meNumEvents1LS
hcaldqm::ContainerXXX< uint32_t > _xUni
hcaldqm::ContainerProf1D _cSumQvsBX_SubdetPM
hcaldqm::Container2D _cOccupancyCut_depth
std::vector< uint32_t > _vhashFEDs
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsVME
void bookHistograms(fwlite::EventContainer &eventCont)
hcaldqm::Container1D _cShapeCut_FED
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
hcaldqm::filter::HashFilter _filter_VME
uint32_t lookup(DetId const &)
virtual void fill(HcalDetId const &)
hcaldqm::ContainerProf2D _cTimingCut_depth
virtual void fill(uint32_t)
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, int debug=0)
void dqmthrow(std::string const &msg) const
ContainerXXX< uint32_t > _xQuality
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsuTCA
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fEnergy), int debug=0)
MonitorElement * book1D(Args &&...args)
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fN), int debug=0)
int const FIBER_uTCA_MIN1
HcalElectronicsMap const * _emap
std::vector< HcalGenericDetId > allPrecisionId() const
hcaldqm::Container2D _cOccupancyCut_FEDVME
hcaldqm::filter::HashFilter _filter_uTCA
hcaldqm::Container1D _cOccupancyvsiphi_SubdetPM
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
hcaldqm::Container1D _cOccupancyCutvsiphi_SubdetPM
hcaldqm::Container1D _cDigiSize_FED
void setCurrentFolder(const std::string &fullpath)
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
virtual void book(HcalElectronicsMap const *)
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
int const DIGISIZE[SUBDET_NUM]
hcaldqm::Container2D _cOccupancy_FEDVME
hcaldqm::Container2D _cOccupancy_ElectronicsVME
hcaldqm::ContainerProf1D _cSumQvsLS_SubdetPM
hcaldqm::Container1D _cOccupancyCutvsieta_Subdet
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 *)
hcaldqm::Container1D _cSumQ_SubdetPM
virtual void initialize(hashfunctions::HashType, int debug=0)
virtual void initialize(FilterType ftype, HashType htype, std::vector< uint32_t > const &)
void setLumiFlag(void)
this ME is meant to be stored for each luminosity section
hcaldqm::Container2D _cOccupancyCut_ElectronicsVME
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
int samples() const
total number of samples in the digi
hcaldqm::Container1D _cOccupancyvsieta_Subdet
hcaldqm::ContainerProf1D _cDigiSizevsLS_FED
hcaldqm::Container2D _cOccupancy_depth
Readout chain identification for Hcal.
hcaldqm::Container1D _cfC_SubdetPM
edm::EDGetTokenT< QIE11DigiCollection > _tokHBHE
hcaldqm::Container2D _cOccupancyCutvsiphivsLS_SubdetPM
double sumQ(DIGI const &digi, double ped, int i=0, int j=3)
hcaldqm::ContainerProf1D _cOccupancyvsLS_Subdet
hcaldqm::Container2D _cOccupancy_FEDuTCA