36 std::vector<uint32_t> vhashC36;
43 std::vector<uint32_t> vhashDA;
45 for (
int ieta=29; ieta<=41; ieta++)
101 for (
unsigned int j=0; j<nTS; j++)
134 "ADCCorrelation10vs10_ieta30",
139 "ADCCorrelation10vs10_ieta34",
144 "fCCorrelation10vs10_ieta30",
149 "fCCorrelation10vs10_ieta34",
174 for (
unsigned int i=0;
i<nTS;
i++)
177 sprintf(aux,
"TS%d",
i);
201 DQTask::endLuminosityBlock(lb, es);
215 std::map<uint32_t, QIE10DataFrame> mqie10;
216 for (uint32_t
i=0;
i<cqie10->
size();
i++)
223 double q = hcaldqm::utilities::sumQ_v10<QIE10DataFrame>(frame,
227 for (
int j=0; j<frame.samples(); j++)
233 constants::adc2fC[frame[j].
adc()]);
251 mqie10[did.
rawId()] = frame;
255 std::map<uint32_t, HFDataFrame> mqie8;
260 if (!(it->id().iphi()==39 && it->id().ieta()>0))
263 mqie8[it->id().rawId()] = *it;
267 for (std::map<uint32_t, QIE10DataFrame>::const_iterator it=mqie10.begin();
268 it!=mqie10.end(); ++it)
270 uint32_t rawid = it->first;
274 if ((did1.
ieta()==30 || did1.
ieta()==34) &&
277 if (did1.
depth()==4)
continue;
285 for (
int j=0; j<frame1_10.
samples(); j++)
292 frame1_10[j].le_tdc());
303 frame1_10[j].le_tdc());
305 else if (did2.
ieta()==34)
314 frame1_10[j].le_tdc());
326 for (
int f10_itr=0; f10_itr<frame1_10.
samples(); f10_itr++)
332 frame1_10[f10_itr].
adc());
334 frame2_8[qie8_frame].
adc(), frame1_10[f10_itr].
adc());
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
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)
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
hcaldqm::ContainerSingleProf1D _cShapeCut
hcaldqm::ContainerProf1D _cShapeCut_EChannel
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)
hcaldqm::ContainerSingle2D _cADCCorrelation10vs10_ieta34[10]
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
#define DEFINE_FWK_MODULE(type)
hcaldqm::ContainerSingle2D _cTETDCvsADC
hcaldqm::ContainerSingle1D _cLETDC
hcaldqm::Container2D _cADCCorrelation10vs8_DChannel[10]
hcaldqm::Container2D _cfCCorrelation10vs8_DChannel[10]
virtual void _resetMonitors(hcaldqm::UpdateFreq)
std::vector< HFDataFrame >::const_iterator const_iterator
edm::EDGetTokenT< HFDigiCollection > _tokHF
hcaldqm::filter::HashFilter _filter_DA
hcaldqm::ContainerSingle2D _cLETDCvsADC
hcaldqm::Container2D _cTETDCvsADC_EChannel[10]
hcaldqm::Container1D _cLETDC_EChannel[10]
void bookHistograms(fwlite::EventContainer &eventCont)
hcaldqm::Container2D _cLETDCvsADC_EChannel[10]
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
uint32_t rawId() const
get the raw id
uint32_t lookup(DetId const &)
hcaldqm::ContainerSingle2D _cADCCorrelation10vs10_ieta30[10]
virtual void _process(edm::Event const &, edm::EventSetup const &)
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
hcaldqm::ContainerSingle2D _cADCCorrelation10vs8
int ieta() const
get the cell ieta
hcaldqm::filter::HashFilter _filter_C36
HcalElectronicsMap const * _emap
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
hcaldqm::ContainerSingle2D _cLETDCCorrelation10vs10
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
hcaldqm::ContainerSingle2D _cADCCorrelation10vs10
virtual void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
hcaldqm::ContainerSingle2D _cfCCorrelation10vs10_ieta30[10]
const_iterator end() const
int iphi() const
get the cell iphi
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="")
QIE10Task(edm::ParameterSet const &)
RunAuxiliary const & runAuxiliary() const
hcaldqm::ContainerSingle2D _cfCCorrelation10vs10_ieta34[10]
hcaldqm::ContainerSingle2D _cfCCorrelation10vs10
hcaldqm::ContainerSingle2D _cLETDCCorrelation10vs10_ieta30[10]
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
hcaldqm::ContainerSingle2D _cfCCorrelation10vs8
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
hcaldqm::Container1D _cADC_EChannel[10]
Readout chain identification for Hcal.
hcaldqm::ContainerSingle2D _cLETDCCorrelation10vs10_ieta34[10]
const_iterator begin() const