36 _emap = dbs->getHcalMapping();
40 std::vector<uint32_t> vVME;
41 std::vector<uint32_t> vuTCA;
42 std::vector<uint32_t> vFEDHF;
63 for (std::vector<int>::const_iterator it=vFEDsVME.begin();
64 it!=vFEDsVME.end(); ++it)
68 for (std::vector<int>::const_iterator it=vFEDsuTCA.begin();
69 it!=vFEDsuTCA.end(); ++it)
200 std::vector<uint32_t> vhashHF;
345 for (std::vector<HcalGenericDetId>::const_iterator it=gids.begin();
346 it!=gids.end(); ++it)
348 if (!it->isHcalDetId())
371 DQTask::_resetMonitors(uf);
403 double sumQ = utilities::sumQ<HBHEDataFrame>(*it, 2.5, 0, it->size()-1);
435 for (
int i=0;
i<it->size();
i++)
445 double timing = utilities::aveTS<HBHEDataFrame>(*it, 2.5, 0,
476 did.subdet()==
HcalBarrel?numChsCut++:numChsCutHE++;
504 double sumQ = utilities::sumQ<HODataFrame>(*it, 8.5, 0, it->size()-1);
537 for (
int i=0;
i<it->size();
i++)
547 double timing = utilities::aveTS<HODataFrame>(*it, 8.5, 0,
592 numChs=0; numChsCut=0;
598 double sumQ = utilities::sumQ<HFDataFrame>(*it, 2.5, 0, it->size()-1);
631 for (
int i=0;
i<it->size();
i++)
641 double timing = utilities::aveTS<HFDataFrame>(*it, 2.5, 0,
643 double q1 = it->sample(1).nominal_fC()-2.5;
644 double q2 = it->sample(2).nominal_fC()-2.5;
645 double q2q12 = q2/(q1+
q2);
699 DQTask::beginLuminosityBlock(lb, es);
727 uint32_t hash1 = it->first;
729 double x1 = it->second;
736 double x2 = jt->second;
744 for (std::vector<uint32_t>::const_iterator it=
_vhashFEDs.begin();
750 std::vector<uint32_t>::const_iterator cit=
std::find(
755 for (uint32_t iflag=0; iflag<
_vflags.size(); iflag++)
788 for (std::vector<flag::Flag>::iterator ft=
_vflags.begin();
806 DQTask::endLuminosityBlock(lb, es);
Container2D _cOccupancy_FEDVME
ContainerProf2D _cTimingCut_FEDVME
Container1D _cOccupancyCutvsieta_Subdet
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * meNumEvents1LS
ContainerProf2D _cTimingCut_FEDuTCA
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
Container2D _cOccupancyCutvsiphivsLS_SubdetPM
virtual void setBinContent(HcalDetId const &, int)
uint16_t fed2crate(int fed)
Container2D _cOccupancyCut_FEDVME
Container1D _cOccupancyCutvsiphi_SubdetPM
edm::EDGetTokenT< HBHEDigiCollection > _tokHBHE
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
#define DEFINE_FWK_MODULE(type)
edm::EDGetTokenT< HFDigiCollection > _tokHF
Container2D _cOccupancyCut_depth
virtual CompactMap::const_iterator begin()
std::vector< HBHEDataFrame >::const_iterator const_iterator
int bunchCrossing() const
Container2D _cSummaryvsLS_FED
edm::EDGetTokenT< HODigiCollection > _tokHO
ContainerProf1D _cTimingCutvsiphi_SubdetPM
Container1D _cDigiSize_FED
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
void bookHistograms(fwlite::EventContainer &eventCont)
Container1D _cADC_SubdetPM
Container1D _cShapeCut_FED
virtual void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
ContainerXXX< uint32_t > _xNChs
ContainerProf1D _cQ2Q12CutvsLS_FEDHF
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
ContainerProf2D _cTimingCut_depth
ContainerXXX< uint32_t > _xUniHF
virtual CompactMap::const_iterator end()
ContainerProf2D _cSumQ_depth
Container1D _cfC_SubdetPM
uint32_t lookup(DetId const &)
virtual void fill(HcalDetId const &)
virtual void fill(uint32_t)
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, int debug=0)
virtual void setBinContent(int, int, int)
void dqmthrow(std::string const &msg) const
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fEnergy), int debug=0)
Container2D _cOccupancy_ElectronicsuTCA
ContainerProf1D _cSumQvsBX_SubdetPM
Container2D _cOccupancyCut_ElectronicsVME
Container2D _cOccupancyCut_FEDuTCA
MonitorElement * book1D(Args &&...args)
Container1D _cSumQ_SubdetPM
ContainerSingle2D _cSummaryvsLS
virtual void _resetMonitors(UpdateFreq)
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
std::vector< HcalGenericDetId > allPrecisionId() const
ContainerProf1D _cOccupancyCutvsBX_Subdet
ContainerXXX< uint32_t > _xUni
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
Container1D _cTimingCut_SubdetPM
Container2D _cOccupancy_depth
DigiTask(edm::ParameterSet const &)
std::vector< flag::Flag > _vflags
ContainerXXX< uint32_t > _xNChsNominal
void setCurrentFolder(const std::string &fullpath)
bool isFEDHBHE(HcalElectronicsId const &)
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
virtual void book(HcalElectronicsMap const *)
virtual void initialize(std::string const &folder, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fN), int debug=0)
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
ContainerProf1D _cTimingCutvsieta_Subdet
int const DIGISIZE[SUBDET_NUM]
ContainerProf2D _cTimingCut_ElectronicsuTCA
ContainerProf1D _cTimingCutvsLS_FED
virtual STDTYPE & get(HcalDetId const &)
Container1D _cOccupancyvsieta_Subdet
virtual void setLumiFlag()
ContainerProf1D _cOccupancyCutvsLS_Subdet
std::vector< int > getFEDList(HcalElectronicsMap const *)
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
ContainerProf1D _cDigiSizevsLS_FED
ContainerProf1D _cOccupancyvsLS_Subdet
virtual void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
bool isFEDHO(HcalElectronicsId const &)
std::vector< uint32_t > _vcdaqEids
virtual void initialize(hashfunctions::HashType, int debug=0)
Container2D _cOccupancy_FEDuTCA
virtual void initialize(FilterType ftype, HashType htype, std::vector< uint32_t > const &)
ContainerProf1D _cSumQvsLS_SubdetPM
void setLumiFlag(void)
this ME is meant to be stored for each luminosity section
electronicsmap::ElectronicsMap _ehashmap
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
HcalElectronicsMap const * _emap
std::vector< uint32_t > _vhashFEDs
ContainerProf2D _cTimingCut_ElectronicsVME
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
ContainerXXX< uint32_t > _xDigiSize
virtual void _process(edm::Event const &, edm::EventSetup const &)
Readout chain identification for Hcal.
bool isFEDHF(HcalElectronicsId const &)
Container2D _cOccupancy_ElectronicsVME
Container1D _cOccupancyvsiphi_SubdetPM
Container2D _cOccupancyCut_ElectronicsuTCA
double sumQ(DIGI const &digi, double ped, int i=0, int j=3)