|
|
Go to the documentation of this file.
22 if (
r.runAuxiliary().run() == 1)
31 std::vector<uint32_t> vhashC34;
36 std::vector<std::pair<int, int> > timingChannels;
37 timingChannels.push_back(std::pair<int, int>(28, 63));
38 timingChannels.push_back(std::pair<int, int>(28, 65));
39 timingChannels.push_back(std::pair<int, int>(20, 63));
40 timingChannels.push_back(std::pair<int, int>(20, 65));
41 for (
int iChan = 0; iChan < 4; ++iChan) {
42 std::vector<uint32_t> vhashTimingChannel;
44 vhashTimingChannel.push_back(
55 for (
unsigned int crate = 34; crate <= 34; ++crate) {
56 for (
unsigned int slot = 11; slot <= 12; ++slot) {
57 std::vector<uint32_t> vhashSlot;
78 for (
unsigned int j = 0;
j < 10;
j++) {
132 unsigned int itr = 0;
133 std::map<std::pair<unsigned int, unsigned int>,
unsigned int> itr_map;
134 for (
unsigned int crate = 34; crate <= 34; ++crate) {
135 for (
unsigned int slot = 11; slot <= 12; ++slot) {
137 sprintf(
aux,
"/Crate%d_Slot%d", crate, slot);
141 for (
unsigned int j = 0;
j < 10;
j++) {
143 sprintf(aux2,
"/Crate%d_Slot%d/TS%d", crate, slot,
j);
148 itr_map[std::make_pair(crate, slot)] =
itr;
164 DQTask::globalEndLuminosityBlock(lb, es);
172 for (uint32_t
i = 0;
i < cqie11->
size();
i++) {
184 if (
eid.crateId() == 34)
186 int index = fakecrate * 12 + (
eid.slot() - 10) - 1;
194 for (
int j = 0;
j <
frame.samples();
j++) {
195 double q_pedsub = hcaldqm::utilities::adc2fCDBMinusPedestal<QIE11DataFrame>(
_dbService, digi_fC, did,
frame,
j);
205 if (
frame[
j].tdc() < 50) {
216 if (
frame[
j].tdc() < 50) {
hcaldqm::filter::HashFilter _filter_slot[2]
hcaldqm::ContainerSingle1D _cLETDC
constexpr int adc(sample_type sample)
get the ADC sample (12 bits)
void _resetMonitors(hcaldqm::UpdateFreq) override
hcaldqm::filter::HashFilter _filter_timingChannels[4]
virtual void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
uint32_t lookup(DetId const &)
example_stream void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
uint8_t eventType() const
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
hcaldqm::Container2D _cLETDCvsTS_EChannel[2]
void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0) override
const int FIBER_uTCA_MIN1
U second(std::pair< T, U > const &p)
T getUntrackedParameter(std::string const &, T const &) const
const HcalElectronicsMap * getHcalMapping() const
hcaldqm::ContainerSingleProf1D _cShapeCut
virtual void fill(int, int)
hcaldqm::ContainerSingle1D _cADC
QIE11Task(edm::ParameterSet const &)
#define DEFINE_FWK_MODULE(type)
virtual void initialize(FilterType ftype, hashfunctions::HashType htype, std::vector< uint32_t > const &)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Readout chain identification for Hcal.
uint32_t valueUserWord(int iword) const
bool _isApplicable(edm::Event const &) override
edm::EDGetTokenT< HcalUMNioDigi > _tokuMN
hcaldqm::Container1D _cLETDCTime_EChannel[2]
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::ContainerSingle2D _cLETDCTimevsADC
void fill(HcalDetId const &) override
virtual void fill(uint32_t)
hcaldqm::filter::HashFilter _filter_C34
edm::ESHandle< HcalDbService > _dbService
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
hcaldqm::ContainerProf1D _cShapeCut_EChannel[2]
std::vector< std::pair< float, float > >::iterator itr
void globalEndLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
hcaldqm::Container1D _cADC_EChannel[10][2]
void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, int debug=0) override
void _process(edm::Event const &, edm::EventSetup const &) override
const HcalElectronicsMap * _emap
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
virtual void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
virtual void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
virtual void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
edm::EDGetTokenT< QIE11DigiCollection > _tokQIE11
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::ContainerSingle2D _cLETDCvsADC
hcaldqm::Container2D _cLETDCvsADC_EChannel[10][2]
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::Container1D _cLETDC_EChannel[10][2]