14 _tok1 = consumes<HcalTrigPrimDigiCollection>(
_tag1);
15 _tok2 = consumes<HcalTrigPrimDigiCollection>(
_tag2);
37 std::vector<uint32_t> vhashVME;
38 std::vector<uint32_t> vhashuTCA;
49 for (
unsigned int i=0;
i<4;
i++)
119 for (
unsigned int i=0;
i<4;
i++)
121 sprintf(aux,
"TS%d",
i);
152 DQTask::_resetMonitors(uf);
163 "Collection HcalTrigPrimDigiCollection isn't available" +
167 "Collection HcalTrigPrimDigiCollection isn't available" +
172 it1!=coll1->
end(); ++it1)
180 if (it1->id().version()>0)
192 if (it2==coll2->
end())
199 for (
int i=0;
i<it1->size();
i++)
202 it1->sample(
i).compressedEt(), -2);
204 it1->sample(
i).compressedEt(), -2);
208 for (
int i=0;
i<it1->size();
i++)
211 it1->sample(
i).compressedEt(),
212 it2->sample(
i).compressedEt());
214 it1->sample(
i).compressedEt(),
215 it2->sample(
i).compressedEt());
217 it1->sample(
i).fineGrain(),
218 it2->sample(
i).fineGrain());
219 if (it1->sample(
i).compressedEt()!=
220 it2->sample(
i).compressedEt())
228 if (it1->sample(
i).fineGrain()!=
229 it2->sample(
i).fineGrain())
240 it2!=coll2->
end(); ++it2)
252 if (it1==coll1->
end())
260 for (
int i=0;
i<it2->size();
i++)
263 -2, it2->sample(
i).compressedEt());
274 DQTask::endLuminosityBlock(lb, es);
T getUntrackedParameter(std::string const &, T const &) const
hcaldqm::Container2D _cMsn_FEDuTCA
hcaldqm::Container2D _cEtMsm_FEDVME
bool getByToken(EDGetToken token, Handle< PROD > &result) const
hcaldqm::filter::HashFilter _filter_uTCA
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
#define DEFINE_FWK_MODULE(type)
hcaldqm::Container2D _cEtMsm_FEDuTCA
hcaldqm::ContainerSingle2D _cMsnVME
std::vector< HcalTriggerPrimitiveDigi >::const_iterator const_iterator
TPComparisonTask(edm::ParameterSet const &)
virtual void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
virtual example_stream void bookHistograms(DQMStore::IBooker &,@example_stream edm::Run const &,@example_stream edm::EventSetup const &) override
hcaldqm::ContainerSingle2D _cFGMsm
void _resetMonitors(hcaldqm::UpdateFreq) override
int ieta() const
get the tower ieta
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tok1
hcaldqm::electronicsmap::ElectronicsMap _ehashmapVME
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
uint32_t lookup(DetId const &)
void _process(edm::Event const &, edm::EventSetup const &) override
void dqmthrow(std::string const &msg) const
hcaldqm::Container2D _cEtall_TTSubdet
hcaldqm::ContainerSingle2D _cEtMsm
int const FIBER_uTCA_MIN1
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tok2
hcaldqm::Container2D _cFGMsm_FEDuTCA
HcalElectronicsMap const * _emap
const_iterator end() const
hcaldqm::Container2D _cFG_TTSubdet[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)
int version() const
get the version code for the trigger tower
hcaldqm::electronicsmap::ElectronicsMap _ehashmapuTCA
iterator find(key_type k)
std::vector< int > getFEDList(HcalElectronicsMap const *)
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
void fill(HcalDetId const &) override
virtual void initialize(FilterType ftype, hashfunctions::HashType htype, std::vector< uint32_t > const &)
hcaldqm::ContainerSingle2D _cMsnuTCA
hcaldqm::Container2D _cMsn_FEDVME
virtual void fill(int, int)
hcaldqm::Container2D _cEt_TTSubdet[4]
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::filter::HashFilter _filter_VME
hcaldqm::Container2D _cFGMsm_FEDVME
T const * product() const
Readout chain identification for Hcal.
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
int iphi() const
get the tower iphi
const_iterator begin() const