38 std::vector<uint32_t> vhashC34;
48 for (
unsigned int crate = 34; crate <= 34; ++crate) {
49 for (
unsigned int slot = 11; slot <= 12; ++slot) {
50 std::vector<uint32_t> vhashSlot;
66 for (
unsigned int j=0; j<10; j++) {
100 std::map<std::pair<unsigned int, unsigned int>,
unsigned int> itr_map;
101 for(
unsigned int crate = 34; crate <= 34; ++crate) {
102 for(
unsigned int slot=11; slot<=12; ++slot) {
104 sprintf(aux,
"/Crate%d_Slot%d", crate, slot);
108 for (
unsigned int j=0; j<10; j++) {
110 sprintf(aux2,
"/Crate%d_Slot%d/TS%d", crate, slot, j);
115 itr_map[std::make_pair(crate, slot)] = itr;
132 DQTask::endLuminosityBlock(lb, es);
142 for (uint32_t
i=0;
i<cqie11->
size();
i++)
148 if (eid.
crateId() == 34) fakecrate = 0;
149 int index = fakecrate * 12 + (eid.
slot() - 10) - 1;
156 for (
int j=0; j<frame.
samples(); j++)
158 if (index == 0 || index == 1) {
167 if (frame[j].tdc() < 50) {
int adc(sample_type sample)
get the ADC sample (12 bits)
DetId detid() const
Get the detector id.
edm::EDGetTokenT< QIE11DigiCollection > _tokQIE11
T getUntrackedParameter(std::string const &, T const &) const
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
hcaldqm::Container1D _cADC_EChannel[10][2]
virtual void initialize(std::string const &folder, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
hcaldqm::filter::HashFilter _filter_C34
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
hcaldqm::ContainerProf1D _cShapeCut_EChannel[2]
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)
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
hcaldqm::ContainerSingleProf1D _cShapeCut
hcaldqm::Container1D _cTDC_EChannel[10][2]
virtual void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
int crateId() const
get the readout VME crate number
void bookHistograms(fwlite::EventContainer &eventCont)
hcaldqm::ContainerSingle2D _cTDCvsADC
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
uint32_t lookup(DetId const &)
virtual void fill(uint32_t)
HcalElectronicsMap const * _emap
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, int debug=0)
hcaldqm::Container2D _cTDCvsADC_EChannel[10][2]
hcaldqm::filter::HashFilter _filter_slot[2]
uint32_t valueUserWord(int iword) const
QIE11Task(edm::ParameterSet const &)
virtual void _resetMonitors(hcaldqm::UpdateFreq)
uint8_t eventType() const
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
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
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
hcaldqm::ContainerSingle1D _cADC
edm::EDGetTokenT< HcalUMNioDigi > _tokuMN
hcaldqm::ContainerSingle1D _cTDC
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="")
int slot() const
get the htr or uHTR slot
virtual void _process(edm::Event const &, edm::EventSetup const &)
RunAuxiliary const & runAuxiliary() const
virtual bool _isApplicable(edm::Event const &)
virtual void fill(HcalDetId const &) override
const HcalElectronicsMap * getHcalMapping() const
hcaldqm::Container2D _cTDCvsTS_EChannel[2]
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
int samples() const
total number of samples in the digi
Readout chain identification for Hcal.
hcaldqm::Container1D _cTDCTime_EChannel[2]