51 std::vector<uint32_t> vhashVME;
52 std::vector<uint32_t> vhashuTCA;
53 std::vector<uint32_t> vhashC36;
212 DQTask::_resetMonitors(uf);
238 for (std::vector<HcalGenericDetId>::const_iterator it=dids.begin();
239 it!=dids.end(); ++it)
241 if (!it->isHcalDetId())
314 it!=chbhe->
end(); ++it)
323 double sumQ = hcaldqm::utilities::sumQDB<HBHEDataFrame>(
_dbService, digi_fC, did, digi, 0, digi.
size()-1);
328 double aveTS = hcaldqm::utilities::aveTSDB<HBHEDataFrame>(
_dbService, digi_fC, did, digi, 0, digi.size()-1);
337 for (
int i=0;
i<digi.size();
i++) {
339 _cShapeCut_FEDSlot.
fill(eid,
i, hcaldqm::utilities::adc2fCDBMinusPedestal<HBHEDataFrame>(_dbService, digi_fC, did, digi,
i));
354 std::string unknown_id_string=
"Detid "+std::to_string(
int(did))+
", ieta "+std::to_string(did.
ieta());
355 unknown_id_string+=
", iphi "+std::to_string(did.
iphi())+
", depth "+std::to_string(did.
depth());
356 unknown_id_string+=
", is not in emap. Skipping.";
364 double sumQ = hcaldqm::utilities::sumQDB<QIE11DataFrame>(
_dbService, digi_fC, did, digi, 0, digi.
samples()-1);
369 double aveTS = hcaldqm::utilities::aveTSDB<QIE11DataFrame>(
_dbService, digi_fC, did, digi, 0, digi.size()-1);
378 for (
int i=0;
i<digi.samples();
i++) {
380 _cShapeCut_FEDSlot.
fill(eid,
i, hcaldqm::utilities::adc2fCDBMinusPedestal<QIE11DataFrame>(_dbService, digi_fC, did, digi,
i));
385 it!=cho->
end(); ++it)
392 double sumQ = hcaldqm::utilities::sumQDB<HODataFrame>(
_dbService, digi_fC, did, digi, 0, digi.
size()-1);
397 double aveTS = hcaldqm::utilities::aveTSDB<HODataFrame>(
_dbService, digi_fC, did, digi, 0, digi.size()-1);
406 for (
int i=0;
i<digi.size();
i++) {
408 _cShapeCut_FEDSlot.
fill(eid,
i, hcaldqm::utilities::adc2fCDBMinusPedestal<HODataFrame>(_dbService, digi_fC, did, digi,
i));
413 it!=chf->
end(); ++it)
423 double sumQ = hcaldqm::utilities::sumQDB<QIE10DataFrame>(
_dbService, digi_fC, did, digi, 0, digi.
samples()-1);
428 double aveTS = hcaldqm::utilities::aveTSDB<QIE10DataFrame>(
_dbService, digi_fC, did, digi, 0, digi.size()-1);
437 for (
int i = 0;
i < digi.samples(); ++
i) {
441 _cShapeCut_FEDSlot.
fill(eid,
i, hcaldqm::utilities::adc2fCDBMinusPedestal<QIE10DataFrame>(_dbService, digi_fC, did, digi,
i));
int samples() const
total number of samples in the digi
DetId detid() const
Get the detector id.
T getUntrackedParameter(std::string const &, T const &) const
double aveTS(DIGI const &digi, double ped=0, int i=0, int j=3)
hcaldqm::Container2D _cMissing_FEDuTCA
hcaldqm::Container2D _cMissing_FEDVME
LEDTask(edm::ParameterSet const &)
hcaldqm::ContainerProf2D _cSignalMean_depth
hcaldqm::ContainerProf2D _cTimingMean_FEDuTCA
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
void warn(std::string const &msg) const
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
hcaldqm::ContainerProf2D _cTimingMean_depth
HcalSubdetector subdet() const
get the subdetector
hcaldqm::ContainerProf2D _cSignalMean_FEDVME
hcaldqm::Container2D _cMissing_depth
bool wasLEDTrigger() const
returns true if this was a LED trigger
edm::EDGetTokenT< HcalTBTriggerData > _tokTrigger
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
#define DEFINE_FWK_MODULE(type)
edm::EDGetTokenT< HBHEDigiCollection > _tokHBHE
int size() const
total number of samples in the digi
hcaldqm::ContainerProf2D _cTimingMean_FEDVME
std::vector< HBHEDataFrame >::const_iterator const_iterator
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
const_iterator begin() const
hcaldqm::ContainerProf2D _cSignalRMS_FEDVME
hcaldqm::filter::HashFilter _filter_uTCA
hcaldqm::ContainerXXX< int > _xEntries
const HcalElectronicsId & elecId() const
const HcalDetId & id() const
hcaldqm::ContainerXXX< double > _xTimingSum
uint32_t lookup(DetId const &)
hcaldqm::ContainerProf2D _cSignalRMS_FEDuTCA
int depth() const
get the tower depth
virtual void fill(uint32_t)
void dqmthrow(std::string const &msg) const
int ieta() const
get the cell ieta
int size() const
total number of samples in the digi
virtual example_stream void bookHistograms(DQMStore::IBooker &,@example_stream edm::Run const &,@example_stream edm::EventSetup const &) override
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
DetId detid() const
Get the detector id.
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
std::vector< HcalGenericDetId > allPrecisionId() const
RunAuxiliary const & runAuxiliary() const override
edm::InputTag _tagTrigger
HcalElectronicsMap const * _emap
hcaldqm::ContainerProf2D _cSignalMean_FEDuTCA
hcaldqm::ContainerProf2D _cTimingRMS_depth
edm::EDGetTokenT< QIE10DigiCollection > _tokHF
edm::EDGetTokenT< QIE11DigiCollection > _tokHEP17
hcaldqm::Container1D _cSignalRMS_Subdet
void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fEnergy), int debug=0) override
hcaldqm::filter::HashFilter _filter_VME
const_iterator end() const
int iphi() const
get the cell iphi
int const CALIBEVENTS_MIN
hcaldqm::ContainerXXX< double > _xTimingSum2
hcaldqm::ContainerProf2D _cTimingRMS_FEDVME
hcaldqm::ContainerProf2D _cTimingRMS_FEDuTCA
edm::EDGetTokenT< HODigiCollection > _tokHO
virtual void book(HcalElectronicsMap const *)
hcaldqm::ContainerXXX< double > _xSignalSum
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
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
void _process(edm::Event const &, edm::EventSetup const &) override
hcaldqm::Container1D _cTimingMean_Subdet
const HcalElectronicsId & elecId() const
void _resetMonitors(hcaldqm::UpdateFreq) override
const_iterator end() const
hcaldqm::ContainerProf2D _cSignalRMS_depth
bool _isApplicable(edm::Event const &) override
virtual STDTYPE & get(HcalDetId const &)
edm::ESHandle< HcalDbService > _dbService
hcaldqm::Container1D _cTimingRMS_Subdet
void fill(HcalDetId const &) override
const HcalElectronicsMap * getHcalMapping() const
hcaldqm::ContainerXXX< double > _xSignalSum2
const HcalDetId & id() const
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
hcaldqm::ContainerProf1D _cShapeCut_FEDSlot
virtual void initialize(hashfunctions::HashType, int debug=0)
virtual void initialize(FilterType ftype, HashType htype, std::vector< uint32_t > const &)
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
int samples() const
total number of samples in the digi
Readout chain identification for Hcal.
const_iterator begin() const
double sumQ(DIGI const &digi, double ped, int i=0, int j=3)
hcaldqm::Container1D _cSignalMean_Subdet