48 std::vector<uint32_t> vVME;
49 std::vector<uint32_t> vuTCA;
60 std::vector<uint32_t> vhashHF;
67 std::vector<uint32_t> vhashHEP17;
259 std::vector<uint32_t> vFEDHF;
278 for (std::vector<int>::const_iterator it=vFEDsVME.begin();
279 it!=vFEDsVME.end(); ++it)
283 for (std::vector<int>::const_iterator it=vFEDsuTCA.begin();
284 it!=vFEDsuTCA.end(); ++it)
477 for (std::vector<HcalGenericDetId>::const_iterator it=gids.begin();
478 it!=gids.end(); ++it)
480 if (!it->isHcalDetId())
521 DQTask::_resetMonitors(uf);
566 uint32_t rawidValid = 0;
567 uint32_t rawidHBValid = 0;
568 uint32_t rawidHEValid = 0;
588 rawidHBValid = did.
rawId();
590 rawidHEValid = did.
rawId();
594 double sumQ = hcaldqm::utilities::sumQDB<HBHEDataFrame>(
_dbService, digi_fC, did, *it, 0, it->
size()-1);
641 for (
int i=0;
i<it->size();
i++)
656 double timing = hcaldqm::utilities::aveTSDB<HBHEDataFrame>(
_dbService, digi_fC, did, *it, 0, it->size()-1);
691 did.subdet()==
HcalBarrel?numChsCut++:numChsCutHE++;
722 rawidHBValid = did.
rawId();
724 rawidHEValid = did.
rawId();
729 double sumQ = hcaldqm::utilities::sumQDB<QIE11DataFrame>(
_dbService, digi_fC, did, digi, 0, digi.
samples()-1);
774 double timing = hcaldqm::utilities::aveTSDB<QIE11DataFrame>(
_dbService, digi_fC, did, digi, 0, digi.samples()-1);
797 did.subdet()==
HcalBarrel?numChsCut++:numChsCutHE++;
802 if (rawidHBValid!=0 && rawidHEValid!=0)
840 rawidValid = did.
rawId();
844 double sumQ = hcaldqm::utilities::sumQDB<HODataFrame>(
_dbService, digi_fC, did, *it, 0, it->
size()-1);
888 for (
int i=0;
i<it->size();
i++)
902 double timing = hcaldqm::utilities::aveTSDB<HODataFrame>(
_dbService, digi_fC, did, *it, 0, it->size()-1);
955 numChs=0; numChsCut=0;
981 rawidValid = did.
rawId();
984 double sumQ = hcaldqm::utilities::sumQDB<QIE10DataFrame>(
_dbService, digi_fC, did, digi, 0, digi.
samples()-1);
1031 for (
int i=0;
i<digi.samples();
i++)
1033 double q = hcaldqm::utilities::adc2fCDBMinusPedestal<QIE10DataFrame>(
_dbService, digi_fC, did, digi,
i);
1039 if (digi[i].le_tdc() <50) {
1040 double time = i*25. + (digi[
i].le_tdc() / 2.);
1055 double timing = hcaldqm::utilities::aveTS_v10<QIE10DataFrame>(digi, 2.5, 0,
1057 double q1 = hcaldqm::utilities::adc2fCDBMinusPedestal<QIE10DataFrame>(
_dbService, digi_fC, did, digi, 1);
1058 double q2 = hcaldqm::utilities::adc2fCDBMinusPedestal<QIE10DataFrame>(
_dbService, digi_fC, did, digi, 2);
1059 double q2q12 = q2/(q1+
q2);
1127 DQTask::beginLuminosityBlock(lb, es);
1136 for (uintCompactMap::const_iterator it=
_xUniHF.
begin();
1139 uint32_t hash1 = it->first;
1141 double x1 = it->second;
1143 for (uintCompactMap::const_iterator jt=
_xUniHF.
begin();
1148 double x2 = jt->second;
1157 for (std::vector<uint32_t>::const_iterator it=
_vhashFEDs.begin();
1163 std::vector<uint32_t>::const_iterator cit=
std::find(
1168 for (uint32_t iflag=0; iflag<
_vflags.size(); iflag++)
1185 double fr = double(
_xNChs.
get(eid))/
double(
1209 for (std::vector<hcaldqm::flag::Flag>::iterator ft=
_vflags.begin();
1228 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
DetId detid() const
Get the detector id.
hcaldqm::ContainerProf1D _cTimingCutvsiphi_SubdetPM
void _process(edm::Event const &, edm::EventSetup const &) override
hcaldqm::Container1D _cADC_SubdetPM_HF
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * meNumEvents1LS
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
hcaldqm::Container1D _cADC_SubdetPM
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
hcaldqm::Container1D _cOccupancyCutvsieta_Subdet
auto_ptr< ClusterSequence > cs
hcaldqm::ContainerProf1D _cSumQvsBX_SubdetPM
virtual bool exists(HcalDetId const &)
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
HcalSubdetector subdet() const
get the subdetector
hcaldqm::Container2D _cADCvsTS_SubdetPM
std::pair< uint16_t, uint16_t > fed2crate(int fed)
void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
hcaldqm::Container1D _cfC_SubdetPM_HF
hcaldqm::ContainerProf1D _cQ2Q12CutvsLS_FEDHF
MonitorElement * meUnknownIds1LS
edm::EDGetTokenT< HBHEDigiCollection > _tokHBHE
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
#define DEFINE_FWK_MODULE(type)
hcaldqm::Container2D _cLETDCTimevsADC_SubdetPM
virtual CompactMap::const_iterator begin()
std::vector< HBHEDataFrame >::const_iterator const_iterator
int bunchCrossing() const
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::ContainerProf2D _cSumQ_depth
edm::EDGetTokenT< HODigiCollection > _tokHO
hcaldqm::Container1D _cOccupancyCutvsiphi_SubdetPM
const_iterator begin() const
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
hcaldqm::ContainerSingle2D _cSummaryvsLS
hcaldqm::ContainerProf2D _cTimingCut_FEDVME
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
hcaldqm::Container2D _cOccupancyCutvsiphivsLS_SubdetPM
hcaldqm::ContainerXXX< uint32_t > _xDigiSize
hcaldqm::ContainerProf2D _cTimingCut_FEDuTCA
void bookHistograms(fwlite::EventContainer &eventCont)
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
hcaldqm::filter::HashFilter _filter_VME
uint32_t rawId() const
get the raw id
virtual CompactMap::const_iterator end()
uint32_t lookup(DetId const &)
hcaldqm::Container2D _cLETDCvsTS_SubdetPM
virtual void fill(uint32_t)
hcaldqm::Container2D _cOccupancy_CrateSlot
virtual void setBinContent(int, int, int)
void dqmthrow(std::string const &msg) const
ContainerXXX< uint32_t > _xQuality
hcaldqm::Container2D _cOccupancyCut_ElectronicsVME
hcaldqm::Container1D _cDigiSize_Crate
hcaldqm::Container1D _cShapeCut_FED
hcaldqm::Container2D _cOccupancyCut_depth
hcaldqm::ContainerProf1D _cOccupancyCutvsBX_Subdet
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
hash_function_did const hash_did[nHashType_did]
hcaldqm::ContainerProf2D _cTimingCut_depth
DetId detid() const
Get the detector id.
std::vector< HcalGenericDetId > allPrecisionId() const
hcaldqm::Container2D _cOccupancy_FEDVME
hcaldqm::ContainerProf1D _cTimingCutvsLS_SubdetPM
hcaldqm::Container2D _cOccupancyCut_FEDVME
hcaldqm::Container2D _cOccupancy_depth
HcalElectronicsMap const * _emap
void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fEnergy), int debug=0) override
hcaldqm::Container2D _cSummaryvsLS_FED
edm::EDGetTokenT< QIE11DigiCollection > _tokHEP17
hcaldqm::filter::HashFilter _filter_FEDHF
const_iterator end() const
edm::EDGetTokenT< QIE10DigiCollection > _tokHF
DigiTask(edm::ParameterSet const &)
hcaldqm::ContainerProf1D _cOccupancyvsLS_Subdet
void _resetMonitors(hcaldqm::UpdateFreq) override
hcaldqm::ContainerProf1D _cSumQvsLS_SubdetPM
hcaldqm::ContainerXXX< uint32_t > _xUni
hcaldqm::ContainerProf1D _cTimingCutvsLS_FED
hcaldqm::Container2D _cOccupancyCut_FEDuTCA
hcaldqm::Container2D _cOccupancy_ElectronicsVME
void setCurrentFolder(const std::string &fullpath)
bool isFEDHBHE(HcalElectronicsId const &)
virtual void book(HcalElectronicsMap const *)
int size() const
get the size
hcaldqm::Container1D _cDigiSize_FED
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="")
hcaldqm::ContainerXXX< uint32_t > _xNChsNominal
hcaldqm::Container1D _cSumQ_SubdetPM
hcaldqm::Container1D _cOccupancyvsiphi_SubdetPM
int const DIGISIZE[SUBDET_NUM]
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, int debug=0) override
hcaldqm::ContainerProf1D _cTimingCutvsieta_Subdet
hcaldqm::filter::HashFilter _filter_HEP17
hcaldqm::Container1D _cLETDCTime_SubdetPM
hcaldqm::electronicsmap::ElectronicsMap _dhashmap
std::vector< hcaldqm::flag::Flag > _vflags
void setBinContent(HcalDetId const &, int) override
const_iterator end() const
hcaldqm::Container2D _cOccupancyCut_ElectronicsuTCA
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsVME
hcaldqm::Container2D _cLETDCvsADC_SubdetPM
virtual STDTYPE & get(HcalDetId const &)
edm::ESHandle< HcalDbService > _dbService
virtual void setLumiFlag()
std::vector< int > getFEDList(HcalElectronicsMap const *)
hcaldqm::Container2D _cOccupancy_Crate
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
void fill(HcalDetId const &) override
const HcalElectronicsMap * getHcalMapping() const
virtual bool filter(HcalDetId const &) const
hcaldqm::filter::HashFilter _filter_uTCA
hcaldqm::ContainerProf1D _cSumQvsLS_SubdetPM_HF
bool isFEDHO(HcalElectronicsId const &)
std::vector< uint32_t > _vcdaqEids
hcaldqm::ContainerProf1D _cDigiSizevsLS_FED
hcaldqm::ContainerXXX< uint32_t > _xNChs
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
hcaldqm::ContainerProf1D _cOccupancyCutvsLS_Subdet
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
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::Container1D _cSumQ_SubdetPM_HF
std::vector< uint32_t > _vhashFEDs
hcaldqm::filter::HashFilter _filter_HF
int samples() const
total number of samples in the digi
hcaldqm::ContainerProf1D _cSumQvsBX_SubdetPM_HF
hcaldqm::Container1D _cOccupancyvsieta_Subdet
Readout chain identification for Hcal.
bool isFEDHF(HcalElectronicsId const &)
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsuTCA
hcaldqm::filter::HashFilter _filter_notHF
const_iterator begin() const
hcaldqm::Container1D _cTimingCut_SubdetPM
hcaldqm::Container2D _cOccupancy_FEDuTCA
hcaldqm::ContainerXXX< uint32_t > _xUniHF
hcaldqm::Container2D _cADCvsTS_SubdetPM_HF
double sumQ(DIGI const &digi, double ped, int i=0, int j=3)
hcaldqm::Container1D _cfC_SubdetPM
hcaldqm::Container2D _cOccupancy_ElectronicsuTCA