43 std::vector<uint32_t> vhashSlot;
61 for (
unsigned int j=0; j<nTS; j++) {
123 for(
auto& crate : constants::crateListHF) {
126 sprintf(aux,
"/Crate%d_Slot%d", crate, slot);
130 for (
unsigned int i=0;
i<nTS;
i++) {
132 sprintf(aux2,
"/Crate%d_Slot%d/TS%d", crate, slot,
i);
159 DQTask::endLuminosityBlock(lb, es);
173 std::map<uint32_t, QIE10DataFrame> mqie10;
174 for (uint32_t
i=0;
i<cqie10->
size();
i++)
187 }
else if (eid.
crateId() == 29) {
189 }
else if (eid.
crateId() == 32) {
199 double sumQ = hcaldqm::utilities::sumQDB<QIE10DataFrame>(
_dbService, digi_fC, did, frame, 0, frame.
samples()-1);
207 for (
int j=0; j<frame.samples(); j++)
212 double q = hcaldqm::utilities::adc2fCDBMinusPedestal<QIE10DataFrame>(
_dbService, digi_fC, did, frame, j);
227 if (frame[j].le_tdc() < 50) {
230 double time = j*25. + (frame[j].le_tdc() / 2.);
236 mqie10[did.rawId()] = frame;
int adc(sample_type sample)
get the ADC sample (12 bits)
int samples() const
total number of samples in the digi
T getUntrackedParameter(std::string const &, T const &) const
hcaldqm::filter::HashFilter _filter_slot[36]
edm::EDGetTokenT< QIE10DigiCollection > _tokQIE10
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
virtual void initialize(std::string const &folder, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
HcalSubdetector subdet() const
get the subdetector
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
hcaldqm::ContainerSingleProf1D _cShapeCut
bool getByToken(EDGetToken token, Handle< PROD > &result) const
virtual void initialize(std::string const &folder, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
#define DEFINE_FWK_MODULE(type)
hcaldqm::ContainerSingle1D _cLETDC
virtual void _resetMonitors(hcaldqm::UpdateFreq)
edm::EDGetTokenT< HFDigiCollection > _tokHF
hcaldqm::Container2D _cOccupancy_CrateSlot
hcaldqm::ContainerProf1D _cShapeCut_EChannel[36]
hcaldqm::ContainerSingle2D _cLETDCvsADC
hcaldqm::Container1D _cADC_EChannel[10][36]
hcaldqm::Container1D _cLETDC_EChannel[10][36]
int crateId() const
get the readout VME crate number
void bookHistograms(fwlite::EventContainer &eventCont)
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
uint32_t lookup(DetId const &)
virtual void _process(edm::Event const &, edm::EventSetup const &)
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::fN), int debug=0)
int const FIBER_uTCA_MIN1
DetId detid() const
Get the detector id.
hcaldqm::Container2D _cOccupancy_depth
HcalElectronicsMap const * _emap
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
hcaldqm::Container2D _cLETDCvsADC_EChannel[10][36]
virtual void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
hcaldqm::Container2D _cOccupancy_Crate
std::vector< unsigned int > const crateListHF
hcaldqm::Container1D _cLETDCTime_EChannel[36]
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::Container2D _cLETDCvsTS_EChannel[36]
int slot() const
get the htr or uHTR slot
QIE10Task(edm::ParameterSet const &)
RunAuxiliary const & runAuxiliary() const
hcaldqm::ContainerSingle2D _cLETDCTimevsADC
edm::ESHandle< HcalDbService > _dbService
virtual void fill(HcalDetId const &) override
const HcalElectronicsMap * getHcalMapping() const
virtual void fill(int, int)
virtual void initialize(FilterType ftype, HashType htype, std::vector< uint32_t > const &)
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::ContainerSingle1D _cADC
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
Readout chain identification for Hcal.
double sumQ(DIGI const &digi, double ped, int i=0, int j=3)