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
virtual bool _isApplicable(edm::Event const &)
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
const_iterator begin() const
hcaldqm::ContainerProf2D _cSignalRMS_FEDVME
hcaldqm::filter::HashFilter _filter_uTCA
hcaldqm::ContainerXXX< int > _xEntries
const HcalElectronicsId & elecId() const
void bookHistograms(fwlite::EventContainer &eventCont)
const HcalDetId & id() const
virtual void _resetMonitors(hcaldqm::UpdateFreq)
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)
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, int debug=0)
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)
int ieta() const
get the cell ieta
virtual void _process(edm::Event const &, edm::EventSetup const &)
int size() const
total number of samples in the digi
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.
std::vector< HcalGenericDetId > allPrecisionId() const
edm::InputTag _tagTrigger
HcalElectronicsMap const * _emap
hcaldqm::ContainerProf2D _cSignalMean_FEDuTCA
hcaldqm::ContainerProf2D _cTimingRMS_depth
edm::EDGetTokenT< QIE10DigiCollection > _tokHF
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
edm::EDGetTokenT< QIE11DigiCollection > _tokHEP17
hcaldqm::Container1D _cSignalRMS_Subdet
hcaldqm::filter::HashFilter _filter_VME
const_iterator end() const
int iphi() const
get the cell iphi
int const CALIBEVENTS_MIN
hcaldqm::ContainerXXX< double > _xTimingSum2
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
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="")
hcaldqm::Container1D _cTimingMean_Subdet
RunAuxiliary const & runAuxiliary() const
const HcalElectronicsId & elecId() const
const_iterator end() const
hcaldqm::ContainerProf2D _cSignalRMS_depth
virtual STDTYPE & get(HcalDetId const &)
edm::ESHandle< HcalDbService > _dbService
hcaldqm::Container1D _cTimingRMS_Subdet
virtual 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 &)
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
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