4 using namespace hcaldqm;
13 _tok1 = consumes<HcalTrigPrimDigiCollection>(
_tag1);
14 _tok2 = consumes<HcalTrigPrimDigiCollection>(
_tag2);
34 std::vector<uint32_t> vhashVME;
35 std::vector<uint32_t> vhashuTCA;
46 for (
unsigned int i=0;
i<4;
i++)
113 for (
unsigned int i=0;
i<4;
i++)
115 sprintf(aux,
"TS%d",
i);
144 DQTask::_resetMonitors(uf);
155 "Collection HcalTrigPrimDigiCollection isn't available" +
159 "Collection HcalTrigPrimDigiCollection isn't available" +
164 it1!=coll1->end(); ++it1)
172 if (it1->id().version()>0)
184 if (it2==coll2->end())
189 for (
int i=0;
i<it1->size();
i++)
192 it1->sample(
i).compressedEt(), -2);
194 it1->sample(
i).compressedEt(), -2);
198 for (
int i=0;
i<it1->size();
i++)
201 it1->sample(
i).compressedEt(),
202 it2->sample(
i).compressedEt());
204 it1->sample(
i).compressedEt(),
205 it2->sample(
i).compressedEt());
207 it1->sample(
i).fineGrain(),
208 it2->sample(
i).fineGrain());
209 if (it1->sample(
i).compressedEt()!=
210 it2->sample(
i).compressedEt())
216 if (it1->sample(
i).fineGrain()!=
217 it2->sample(
i).fineGrain())
226 it2!=coll2->end(); ++it2)
238 if (it1==coll1->end())
244 for (
int i=0;
i<it2->size();
i++)
247 -2, it2->sample(
i).compressedEt());
258 DQTask::endLuminosityBlock(lb, es);
HcalElectronicsMap const * _emap
Container2D _cFGMsm_FEDVME
T getUntrackedParameter(std::string const &, T const &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
#define DEFINE_FWK_MODULE(type)
Container2D _cEtMsm_FEDVME
virtual void _resetMonitors(UpdateFreq)
std::vector< HcalTriggerPrimitiveDigi >::const_iterator const_iterator
ContainerSingle2D _cEtMsm
TPComparisonTask(edm::ParameterSet const &)
ContainerSingle2D _cMsnuTCA
Container2D _cFGMsm_FEDuTCA
int ieta() const
get the tower ieta
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tok1
void bookHistograms(fwlite::EventContainer &eventCont)
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
ContainerSingle2D _cFGMsm
uint32_t lookup(DetId const &)
virtual void fill(HcalDetId const &)
Container2D _cEt_TTSubdet[4]
void dqmthrow(std::string const &msg) const
Container2D _cMsn_FEDuTCA
Container2D _cFG_TTSubdet[4]
electronicsmap::ElectronicsMap _ehashmapVME
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
Container2D _cEtall_TTSubdet
electronicsmap::ElectronicsMap _ehashmapuTCA
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
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
T const * product() const
Container2D _cEtMsm_FEDuTCA
virtual void _process(edm::Event const &, edm::EventSetup const &)
ContainerSingle2D _cMsnVME
virtual void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
std::vector< int > getFEDList(HcalElectronicsMap const *)
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
virtual void fill(int, int)
virtual void initialize(FilterType ftype, HashType htype, std::vector< uint32_t > const &)
Readout chain identification for Hcal.
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
int iphi() const
get the tower iphi