14 _tok1 = consumes<HcalTrigPrimDigiCollection>(
_tag1);
15 _tok2 = consumes<HcalTrigPrimDigiCollection>(
_tag2);
35 std::vector<uint32_t> vhashVME;
36 std::vector<uint32_t> vhashuTCA;
47 for (
unsigned int i=0;
i<4;
i++)
114 for (
unsigned int i=0;
i<4;
i++)
116 sprintf(aux,
"TS%d",
i);
145 DQTask::_resetMonitors(uf);
156 "Collection HcalTrigPrimDigiCollection isn't available" +
160 "Collection HcalTrigPrimDigiCollection isn't available" +
165 it1!=coll1->
end(); ++it1)
173 if (it1->id().version()>0)
185 if (it2==coll2->
end())
190 for (
int i=0;
i<it1->size();
i++)
193 it1->sample(
i).compressedEt(), -2);
195 it1->sample(
i).compressedEt(), -2);
199 for (
int i=0;
i<it1->size();
i++)
202 it1->sample(
i).compressedEt(),
203 it2->sample(
i).compressedEt());
205 it1->sample(
i).compressedEt(),
206 it2->sample(
i).compressedEt());
208 it1->sample(
i).fineGrain(),
209 it2->sample(
i).fineGrain());
210 if (it1->sample(
i).compressedEt()!=
211 it2->sample(
i).compressedEt())
217 if (it1->sample(
i).fineGrain()!=
218 it2->sample(
i).fineGrain())
227 it2!=coll2->
end(); ++it2)
239 if (it1==coll1->
end())
245 for (
int i=0;
i<it2->size();
i++)
248 -2, it2->sample(
i).compressedEt());
259 DQTask::endLuminosityBlock(lb, es);
HcalElectronicsMap const * _emap
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)
virtual void _resetMonitors(hcaldqm::UpdateFreq)
hcaldqm::Container2D _cEtMsm_FEDuTCA
hcaldqm::ContainerSingle2D _cMsnVME
std::vector< HcalTriggerPrimitiveDigi >::const_iterator const_iterator
TPComparisonTask(edm::ParameterSet const &)
hcaldqm::ContainerSingle2D _cFGMsm
int ieta() const
get the tower ieta
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tok1
void bookHistograms(fwlite::EventContainer &eventCont)
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 dqmthrow(std::string const &msg) const
hcaldqm::Container2D _cEtall_TTSubdet
hcaldqm::ContainerSingle2D _cEtMsm
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
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tok2
hcaldqm::Container2D _cFGMsm_FEDuTCA
const_iterator end() const
hcaldqm::Container2D _cFG_TTSubdet[4]
virtual void initialize(std::string const &folder, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fN), int debug=0)
int version() const
get the version code for the trigger tower
hcaldqm::electronicsmap::ElectronicsMap _ehashmapuTCA
virtual void _process(edm::Event const &, edm::EventSetup const &)
iterator find(key_type k)
virtual void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
std::vector< int > getFEDList(HcalElectronicsMap const *)
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
virtual void fill(HcalDetId const &) override
hcaldqm::ContainerSingle2D _cMsnuTCA
hcaldqm::Container2D _cMsn_FEDVME
virtual void fill(int, int)
hcaldqm::Container2D _cEt_TTSubdet[4]
virtual void initialize(FilterType ftype, HashType htype, std::vector< uint32_t > const &)
virtual 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.
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
int iphi() const
get the tower iphi
const_iterator begin() const