29 desc.addUntracked<
int>(
"debug", 0);
30 desc.addUntracked<
int>(
"runkeyVal", 0);
33 desc.addUntracked<
double>(
"cut", 20);
34 desc.addUntracked<
int>(
"ped", 4);
35 desc.addUntracked<
int>(
"laserType", -1);
36 desc.addUntracked<
int>(
"eventType", -1);
43 if (
r.runAuxiliary().run() == 1)
51 std::vector<uint32_t> vhashC34;
56 std::vector<std::pair<int, int> > timingChannels;
57 timingChannels.push_back(std::pair<int, int>(28, 63));
58 timingChannels.push_back(std::pair<int, int>(28, 65));
59 timingChannels.push_back(std::pair<int, int>(20, 63));
60 timingChannels.push_back(std::pair<int, int>(20, 65));
61 for (
int iChan = 0; iChan < 4; ++iChan) {
62 std::vector<uint32_t> vhashTimingChannel;
64 vhashTimingChannel.push_back(
75 for (
unsigned int crate = 34; crate <= 34; ++crate) {
76 for (
unsigned int slot = 11; slot <= 12; ++slot) {
77 std::vector<uint32_t> vhashSlot;
98 for (
unsigned int j = 0;
j < 10;
j++) {
152 unsigned int itr = 0;
153 std::map<std::pair<unsigned int, unsigned int>,
unsigned int> itr_map;
154 for (
unsigned int crate = 34; crate <= 34; ++crate) {
155 for (
unsigned int slot = 11; slot <= 12; ++slot) {
157 sprintf(
aux,
"/Crate%d_Slot%d", crate, slot);
161 for (
unsigned int j = 0;
j < 10;
j++) {
163 sprintf(aux2,
"/Crate%d_Slot%d/TS%d", crate, slot,
j);
168 itr_map[std::make_pair(crate, slot)] = itr;
184 DQTask::globalEndLuminosityBlock(lb, es);
192 for (uint32_t
i = 0;
i < cqie11->
size();
i++) {
204 if (
eid.crateId() == 34)
206 int index = fakecrate * 12 + (
eid.slot() - 10) - 1;
214 for (
int j = 0;
j <
frame.samples();
j++) {
215 double q_pedsub = hcaldqm::utilities::adc2fCDBMinusPedestal<QIE11DataFrame>(
_dbService, digi_fC, did,
frame,
j);
225 if (
frame[
j].tdc() < 50) {
236 if (
frame[
j].tdc() < 50) {
void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, int debug=0) override
edm::EDGetTokenT< QIE11DigiCollection > _tokQIE11
edm::ESGetToken< HcalDbService, HcalDbRecord > hcalDbServiceToken_
hcaldqm::Container1D _cADC_EChannel[10][2]
virtual void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
hcaldqm::ContainerSingle2D _cLETDCvsADC
hcaldqm::filter::HashFilter _filter_C34
bool _isApplicable(edm::Event const &) override
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
hcaldqm::Container2D _cLETDCvsTS_EChannel[2]
hcaldqm::ContainerProf1D _cShapeCut_EChannel[2]
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
hcaldqm::Container1D _cLETDCTime_EChannel[2]
#define DEFINE_FWK_MODULE(type)
void _process(edm::Event const &, edm::EventSetup const &) override
hcaldqm::ContainerSingleProf1D _cShapeCut
virtual void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
void globalEndLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
const HcalElectronicsMap * getHcalMapping() const
hcaldqm::Container2D _cLETDCvsADC_EChannel[10][2]
static void fillDescriptions(edm::ConfigurationDescriptions &)
void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0) override
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
U second(std::pair< T, U > const &p)
uint32_t lookup(DetId const &)
virtual void fill(uint32_t)
uint32_t valueUserWord(int iword) const
void addDefault(ParameterSetDescription const &psetDescription)
virtual void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
hcaldqm::filter::HashFilter _filter_slot[2]
QIE11Task(edm::ParameterSet const &)
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
int const FIBER_uTCA_MIN1
void _resetMonitors(hcaldqm::UpdateFreq) override
HcalElectronicsMap const * _emap
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
uint8_t eventType() const
hcaldqm::ContainerSingle1D _cADC
edm::EDGetTokenT< HcalUMNioDigi > _tokuMN
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
edm::ESHandle< HcalDbService > _dbService
hcaldqm::ContainerSingle2D _cLETDCTimevsADC
void fill(HcalDetId const &) override
static void fillPSetDescription(edm::ParameterSetDescription &des)
virtual void initialize(FilterType ftype, hashfunctions::HashType htype, std::vector< uint32_t > const &)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
virtual void fill(int, int)
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::Container1D _cLETDC_EChannel[10][2]
Readout chain identification for Hcal.
hcaldqm::ContainerSingle1D _cLETDC
uint16_t *__restrict__ uint16_t const *__restrict__ adc
hcaldqm::filter::HashFilter _filter_timingChannels[4]