4 using namespace hcaldqm;
45 _emap = dbs->getHcalMapping();
49 std::vector<uint32_t> vhashVME;
50 std::vector<uint32_t> vhashuTCA;
51 std::vector<uint32_t> vhashC36;
65 for (std::vector<int>::const_iterator it=vFEDsVME.begin();
66 it!=vFEDsVME.end(); ++it)
69 for (std::vector<int>::const_iterator it=vFEDsuTCA.begin();
70 it!=vFEDsuTCA.end(); ++it)
399 for (std::vector<HcalGenericDetId>::const_iterator it=dids.begin();
400 it!=dids.end(); ++it)
403 if (!it->isHcalDetId())
411 float const *means = peds->getValues();
412 float const *rmss = peds->getWidths();
413 double msum=0;
double rsum=0;
414 for (uint32_t
i=0;
i<4;
i++)
415 {msum+=means[
i]; rsum+=rmss[
i];}
424 DQTask::_resetMonitors(uf);
522 for (std::vector<HcalGenericDetId>::const_iterator it=dids.begin();
523 it!=dids.end(); ++it)
525 if (!it->isHcalDetId())
566 sum1LS/=n1LS;
double rms1LS =
sqrt(sum21LS/n1LS-sum1LS*sum1LS);
567 double diffm1LS = sum1LS-refm;
568 double diffr1LS = rms1LS - refr;
572 double rmsTotal =
sqrt(sum2Total/nTotal-sumTotal*sumTotal);
573 double diffmTotal = sumTotal-refm;
574 double diffrTotal = rmsTotal - refr;
675 for (std::vector<uint32_t>::const_iterator it=
_vhashFEDs.begin();
681 std::vector<uint32_t>::const_iterator jt=
686 for (uint32_t iflag=0; iflag<
_vflags.size(); iflag++)
715 for (std::vector<flag::Flag>::iterator ft=
_vflags.begin();
758 it!=chbhe->end(); ++it)
764 for (
int i=0;
i<digiSizeToUse;
i++)
776 it!=cho->end(); ++it)
782 for (
int i=0;
i<digiSizeToUse;
i++)
794 it!=chf->end(); ++it)
800 for (
int i=0;
i<digiSizeToUse;
i++)
827 return ctrigger->wasSpillIgnorantPedestalTrigger();
ContainerProf2D _cMeanTotal_FEDuTCA
ContainerProf2D _cRMSDBRefTotal_depth
ContainerProf2D _cRMS1LS_FEDuTCA
virtual int _getCalibType(edm::Event const &)
Container1D _cMeanTotal_Subdet
T getUntrackedParameter(std::string const &, T const &) const
ContainerProf2D _cRMS1LS_FEDVME
ContainerProf2D _cRMSDBRefTotal_FEDVME
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
virtual void _process(edm::Event const &, edm::EventSetup const &)
virtual void setBinContent(HcalDetId const &, int)
Container2D _cMeanBad1LS_FEDuTCA
Container2D _cRMSBadTotal_FEDVME
uint16_t fed2crate(int fed)
Container2D _cMeanBadTotal_depth
ContainerXXX< double > _xPedSum2Total
Container2D _cSummaryvsLS_FED
ContainerProf2D _cMean1LS_depth
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Container2D _cMeanBadTotal_FEDVME
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
ContainerProf2D _cMean1LS_FEDVME
#define DEFINE_FWK_MODULE(type)
int size() const
total number of samples in the digi
ContainerProf2D _cMeanDBRef1LS_depth
std::vector< HBHEDataFrame >::const_iterator const_iterator
ContainerProf2D _cRMSTotal_depth
ContainerProf2D _cMeanTotal_depth
ContainerXXX< double > _xPedRefRMS
Container1D _cRMSDBRef1LS_Subdet
ContainerProf2D _cMeanDBRefTotal_FEDVME
ContainerProf2D _cMeanDBRef1LS_FEDuTCA
virtual void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
std::vector< uint32_t > _vhashFEDs
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
ContainerProf2D _cRMSDBRefTotal_FEDuTCA
Container1D _cNBadRMSvsLS_Subdet
void bookHistograms(fwlite::EventContainer &eventCont)
ContainerXXX< int > _xNBadRMS1LS
ContainerProf2D _cMean1LS_FEDuTCA
virtual void endRun(edm::Run const &, edm::EventSetup const &)
const HcalDetId & id() const
edm::EDGetTokenT< HcalTBTriggerData > _tokTrigger
ContainerXXX< int > _xNBadMean1LS
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
edm::EDGetTokenT< HFDigiCollection > _tokHF
Container2D _cRMSBad1LS_FEDuTCA
Container2D _cMissing1LS_FEDVME
uint32_t lookup(DetId const &)
virtual void fill(HcalDetId const &)
ContainerProf2D _cRMSTotal_FEDuTCA
ContainerSingle2D _cSummaryvsLS
virtual void fill(uint32_t)
ContainerProf2D _cRMSDBRef1LS_depth
Container1D _cMeanDBRef1LS_Subdet
ContainerProf2D _cMeanDBRefTotal_FEDuTCA
Container1D _cRMSDBRefTotal_Subdet
electronicsmap::ElectronicsMap _ehashmap
Container2D _cMissing1LS_FEDuTCA
ContainerXXX< double > _xPedSumTotal
virtual void setBinContent(int, int, int)
void dqmthrow(std::string const &msg) const
Container1D _cNBadMeanvsLS_Subdet
Container2D _cRMSBadTotal_FEDuTCA
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fEnergy), int debug=0)
ContainerXXX< double > _xPedRefMean
virtual void _resetMonitors(UpdateFreq)
HcalElectronicsMap const * _emap
int size() const
total number of samples in the digi
ContainerXXX< int > _xPedEntries1LS
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
Container2D _cMissingTotal_FEDuTCA
Container2D _cMeanBad1LS_FEDVME
edm::EDGetTokenT< HBHEDigiCollection > _tokHBHE
std::vector< HcalGenericDetId > allPrecisionId() const
Container2D _cMissingTotal_depth
PedestalTask(edm::ParameterSet const &)
ContainerProf2D _cRMSDBRef1LS_FEDVME
ContainerProf2D _cRMS1LS_depth
ContainerXXX< int > _xNMsn1LS
int size() const
total number of samples in the digi
bool isFEDHBHE(HcalElectronicsId const &)
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
virtual void book(HcalElectronicsMap const *)
Container2D _cMeanBad1LS_depth
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="")
Container2D _cRMSBad1LS_FEDVME
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
ContainerProf2D _cRMSDBRef1LS_FEDuTCA
ContainerProf2D _cMeanDBRefTotal_depth
Container2D _cMeanBadTotal_FEDuTCA
RunAuxiliary const & runAuxiliary() const
edm::InputTag _tagTrigger
Container1D _cMeanDBRefTotal_Subdet
edm::EDGetTokenT< HODigiCollection > _tokHO
Container1D _cRMS1LS_Subdet
virtual STDTYPE & get(HcalDetId const &)
virtual bool _isApplicable(edm::Event const &)
std::vector< int > getFEDList(HcalElectronicsMap const *)
std::vector< flag::Flag > _vflags
Container1D _cRMSTotal_Subdet
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
Container1D _cMissingvsLS_Subdet
virtual bool filter(HcalDetId const &) const
ContainerXXX< int > _xPedEntriesTotal
ContainerProf2D _cMeanTotal_FEDVME
const HcalDetId & id() const
ContainerXXX< int > _xNChs
bool isFEDHO(HcalElectronicsId const &)
std::vector< uint32_t > _vcdaqEids
Container2D _cMissingTotal_FEDVME
const HcalDetId & id() const
Container1D _cMean1LS_Subdet
virtual void initialize(hashfunctions::HashType, int debug=0)
virtual void initialize(FilterType ftype, HashType htype, std::vector< uint32_t > const &)
ContainerXXX< double > _xPedSum1LS
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
ContainerProf2D _cRMSTotal_FEDVME
Container1D _cOccupancyvsLS_Subdet
Readout chain identification for Hcal.
Container2D _cMissing1LS_depth
ContainerProf2D _cMeanDBRef1LS_FEDVME
Container2D _cRMSBadTotal_depth
bool isFEDHF(HcalElectronicsId const &)
virtual void set(HcalDetId const &, STDTYPE)
Container2D _cRMSBad1LS_depth
ContainerXXX< double > _xPedSum21LS