37 _emap = dbs->getHcalMapping();
41 std::vector<uint32_t> vVME;
42 std::vector<uint32_t> vuTCA;
53 for (std::vector<int>::const_iterator it=vFEDsVME.begin();
54 it!=vFEDsVME.end(); ++it)
57 for (std::vector<int>::const_iterator it=vFEDsuTCA.begin();
58 it!=vFEDsuTCA.end(); ++it)
250 sprintf(cutstr,
"_EHBHE%dHO%dHF%d",
int(
_cutE_HBHE),
253 sprintf(cutstr2,
"_EHF%d",
int(
_cutE_HF));
303 std::vector<uint32_t> vhashFEDHF;
345 DQTask::_resetMonitors(uf);
368 double ehbm = 0;
double ehbp = 0;
369 double ehem = 0;
double ehep = 0;
370 int nChsHB = 0;
int nChsHE = 0;
371 int nChsHBCut = 0;
int nChsHECut = 0;
373 it!=chbhe->end(); ++it)
375 double energy = it->energy();
376 double timing = it->time();
424 if (timing>=-12.5 && timing<=12.5)
433 if (timing>=-12.5 && timing<=12.5)
444 if (timing>=-12.5 && timing<=12.5)
476 int nChsHO = 0;
int nChsHOCut = 0;
477 double ehop = 0;
double ehom = 0;
479 it!=cho->end(); ++it)
481 double energy = it->energy();
482 double timing = it->time();
562 int nChsHF = 0;
int nChsHFCut = 0;
563 double ehfp = 0;
double ehfm = 0;
565 it!=chf->end(); ++it)
567 double energy = it->energy();
568 double timing = it->time();
654 DQTask::beginLuminosityBlock(lb, es);
687 uint32_t hash1 = it->first;
689 double x1 = it->second;
696 double x2 = jt->second;
704 for (std::vector<uint32_t>::const_iterator it=
_vhashFEDs.begin();
710 std::vector<uint32_t>::const_iterator cit=
std::find(
715 for (uint32_t iflag=0; iflag<
_vflags.size(); iflag++)
732 for (std::vector<flag::Flag>::iterator ft=
_vflags.begin();
748 DQTask::endLuminosityBlock(lb, es);
ContainerProf1D _cOccupancyvsLS_Subdet
T getUntrackedParameter(std::string const &, T const &) const
ContainerProf1D _cTimingCutvsBX_SubdetPM
ContainerProf1D _cTimingCutvsieta_Subdet
std::vector< uint32_t > _vhashFEDs
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
ContainerProf2D _cTimingCut_ElectronicsuTCA
edm::EDGetTokenT< HBHERecHitCollection > _tokHBHE
ContainerProf1D _cEnergyvsiphi_SubdetPM
virtual void setBinContent(HcalDetId const &, int)
uint16_t fed2crate(int fed)
HcalSubdetector subdet() const
get the subdetector
Container2D _cOccupancy_ElectronicsVME
ContainerProf1D _cOccupancyCutvsLS_Subdet
edm::EDGetTokenT< HFRecHitCollection > _tokHF
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
#define DEFINE_FWK_MODULE(type)
std::vector< HcalGenericDetId > _gids
Container2D _cOccupancy_depth
ContainerProf2D _cTimingCut_FEDVME
virtual CompactMap::const_iterator begin()
ContainerProf2D _cTimingCut_FEDuTCA
Container1D _cOccupancyvsiphi_SubdetPM
std::vector< HBHERecHit >::const_iterator const_iterator
Container2D _cOccupancyCutvsiphivsLS_SubdetPM
int bunchCrossing() const
RecHitTask(edm::ParameterSet const &)
ContainerProf2D _cTimingCut_ElectronicsVME
virtual void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
ContainerProf1D _cTimingCutvsLS_FED
ContainerXXX< uint32_t > _xUniHF
Container1D _cTimingCut_HBHEPartition
Container2D _cOccupancy_FEDVME
Container1D _cOccupancyvsieta_Subdet
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Container2D _cOccupancy_FEDuTCA
ContainerProf1D _cEnergyvsieta_Subdet
void bookHistograms(fwlite::EventContainer &eventCont)
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
std::vector< flag::Flag > _vflags
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
virtual CompactMap::const_iterator end()
uint32_t lookup(DetId const &)
virtual void fill(HcalDetId const &)
Container2D _cOccupancyCut_FEDVME
Container1D _cTimingCut_SubdetPM
virtual void fill(uint32_t)
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, int debug=0)
ContainerSingle2D _cSummaryvsLS
electronicsmap::ElectronicsMap _ehashmap
Container2D _cOccupancyCut_depth
virtual void setBinContent(int, int, int)
void dqmthrow(std::string const &msg) const
Container1D _cOccupancyCutvsiphi_SubdetPM
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fEnergy), int debug=0)
Container2D _cOccupancyCut_FEDuTCA
int ieta() const
get the cell ieta
Container2D _cOccupancy_ElectronicsuTCA
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
ContainerXXX< uint32_t > _xUni
ContainerProf2D _cEnergy_depth
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
ContainerProf1D _cEnergyvsBX_SubdetPM
ContainerProf1D _cEnergyvsLS_SubdetPM
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)
ContainerProf2D _cTimingCut_depth
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
Container1D _cEnergy_Subdet
Container1D _cOccupancyCutvsieta_Subdet
virtual void _process(edm::Event const &, edm::EventSetup const &)
ContainerProf1D _cOccupancyCutvsBX_SubdetPM
virtual void _resetMonitors(UpdateFreq)
HcalElectronicsMap const * _emap
virtual STDTYPE & get(HcalDetId const &)
Container2D _cSummaryvsLS_FED
std::vector< int > getFEDList(HcalElectronicsMap const *)
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
edm::EDGetTokenT< HORecHitCollection > _tokHO
std::vector< uint32_t > _vcdaqEids
virtual void initialize(hashfunctions::HashType, int debug=0)
virtual void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
virtual void initialize(FilterType ftype, HashType htype, std::vector< uint32_t > const &)
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
ContainerProf1D _cTimingCutvsiphi_SubdetPM
Container2D _cTimingvsEnergy_SubdetPM
Readout chain identification for Hcal.
bool isFEDHF(HcalElectronicsId const &)
Container2D _cOccupancyCut_ElectronicsVME
Container2D _cOccupancyCut_ElectronicsuTCA