22 if (
r.runAuxiliary().run() == 1)
37 std::vector<uint32_t> vhashSlot;
58 for (
unsigned int j = 0;
j < nTS;
j++) {
129 sprintf(
aux,
"/Crate%d_Slot%d", crate, slot);
133 for (
unsigned int i = 0;
i < nTS;
i++) {
135 sprintf(aux2,
"/Crate%d_Slot%d/TS%d", crate, slot,
i);
159 DQTask::globalEndLuminosityBlock(lb, es);
167 if (!
e.getByToken(
_tokHF, chf))
170 std::map<uint32_t, QIE10DataFrame> mqie10;
171 for (uint32_t
i = 0;
i < cqie10->
size();
i++) {
181 if (
eid.crateId() == 22) {
183 }
else if (
eid.crateId() == 29) {
185 }
else if (
eid.crateId() == 32) {
191 int index = fakecrate * 12 +
eid.slot() - 1;
203 for (
int j = 0;
j <
frame.samples();
j++) {
206 double q = hcaldqm::utilities::adc2fCDBMinusPedestal<QIE10DataFrame>(
_dbService, digi_fC, did,
frame,
j);
220 if (
frame[
j].le_tdc() < 50) {
229 mqie10[did.rawId()] =
frame;
void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, int debug=0) override
void globalEndLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
hcaldqm::filter::HashFilter _filter_slot[36]
edm::EDGetTokenT< QIE10DigiCollection > _tokQIE10
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
virtual void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
hcaldqm::ContainerSingleProf1D _cShapeCut
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
#define DEFINE_FWK_MODULE(type)
void dqmthrow(std::string const &msg) const
hcaldqm::ContainerSingle1D _cLETDC
edm::EDGetTokenT< HFDigiCollection > _tokHF
virtual void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::Container2D _cOccupancy_CrateSlot
hcaldqm::ContainerProf1D _cShapeCut_EChannel[36]
const HcalElectronicsMap * getHcalMapping() const
hcaldqm::ContainerSingle2D _cLETDCvsADC
hcaldqm::Container1D _cADC_EChannel[10][36]
void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0) override
hcaldqm::Container1D _cLETDC_EChannel[10][36]
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
example_stream void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
T getUntrackedParameter(std::string const &, T const &) const
uint32_t lookup(DetId const &)
constexpr HcalSubdetector subdet() const
get the subdetector
virtual void fill(uint32_t)
virtual void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
void _process(edm::Event const &, edm::EventSetup const &) override
int const FIBER_uTCA_MIN1
edm::ESGetToken< HcalDbService, HcalDbRecord > hcalDbServiceToken_
hcaldqm::Container2D _cOccupancy_depth
HcalElectronicsMap const * _emap
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
hcaldqm::Container2D _cLETDCvsADC_EChannel[10][36]
hcaldqm::Container2D _cOccupancy_Crate
std::vector< unsigned int > const crateListHF
hcaldqm::Container1D _cLETDCTime_EChannel[36]
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
virtual void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::Container2D _cLETDCvsTS_EChannel[36]
QIE10Task(edm::ParameterSet const &)
hcaldqm::ContainerSingle2D _cLETDCTimevsADC
edm::ESHandle< HcalDbService > _dbService
void _resetMonitors(hcaldqm::UpdateFreq) override
void fill(HcalDetId const &) override
virtual void initialize(FilterType ftype, hashfunctions::HashType htype, std::vector< uint32_t > const &)
virtual void fill(int, int)
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::ContainerSingle1D _cADC
Readout chain identification for Hcal.
uint16_t *__restrict__ uint16_t const *__restrict__ adc
double sumQ(DIGI const &digi, double ped, int i=0, int j=3)