39 _emap = dbs->getHcalMapping();
43 std::vector<uint32_t> vVME;
44 std::vector<uint32_t> vuTCA;
45 std::vector<uint32_t> depth0;
60 for (std::vector<int>::const_iterator it=vFEDsVME.begin();
61 it!=vFEDsVME.end(); ++it)
66 for (std::vector<int>::const_iterator it=vFEDsuTCA.begin();
67 it!=vFEDsuTCA.end(); ++it)
371 "OccupancyCutDatavsLS",
380 "OccupancyCutDatavsBX",
389 "OccupancyCutEmulvsLS",
398 "OccupancyCutEmulvsBX",
512 DQTask::_resetMonitors(uf);
521 _logger.
dqmthrow(
"Collection HcalTrigPrimDigiCollection isn't available"
524 _logger.
dqmthrow(
"Collection HcalTrigPrimDigiCollection isn't available"
531 int numHBHE(0), numHF(0), numCutHBHE(0), numCutHF(0);
532 int numCorrHBHE(0), numCorrHF(0);
533 int numMsmHBHE(0), numMsmHF(0);
534 int numMsnHBHE(0), numMsnHF(0), numMsnCutHBHE(0), numMsnCutHF(0);
546 it!=cdata->end(); ++it)
560 if (jt!=cemul->end())
562 jt->SOI_compressedEt());
571 int soiEt_d = it->SOI_compressedEt();
572 int soiFG_d = it->SOI_fineGrain()?1:0;
573 tid.
ietaAbs()>=29?numHF++:numHBHE++;
593 tid.
ietaAbs()>=29?numCutHF++:numCutHBHE++;
614 if (jt!=cemul->end())
617 int soiEt_e = jt->SOI_compressedEt();
618 int soiFG_e = jt->SOI_fineGrain()?1:0;
620 double rEt = soiEt_d==0 && soiEt_e==0?1:
628 tid.
ietaAbs()>=29?numCorrHF++:numCorrHBHE++;
649 if (soiEt_d!=soiEt_e)
651 tid.
ietaAbs()>=29?numMsmHF++:numMsmHBHE++;
662 if (soiFG_d!=soiFG_e)
678 tid.
ietaAbs()>=29?numMsnHF++:numMsnHBHE++;
686 tid.
ietaAbs()>=29?numMsnCutHF++:numMsnCutHBHE++;
723 double(numMsmHBHE)/
double(numCorrHBHE));
725 double(numMsmHF)/
double(numCorrHF));
727 double(numMsmHBHE)/
double(numCorrHBHE));
729 double(numMsmHF)/
double(numCorrHF));
750 numHBHE=0; numHF=0; numCutHBHE=0; numCutHF=0;
751 numMsnHBHE=0; numMsnHF=0; numCutHBHE=0; numCutHF=0;
762 it!=cemul->end(); ++it)
775 int soiEt = it->SOI_compressedEt();
778 tid.
ietaAbs()>=29?numHF++:numHBHE++;
796 tid.
ietaAbs()>=29?numCutHF++:numCutHBHE++;
816 if (jt==cdata->end())
818 tid.
ietaAbs()>=29?numMsnHF++:numMsnHBHE++;
826 tid.
ietaAbs()>=29?numMsnCutHF++:numMsnCutHBHE++;
878 DQTask::beginLuminosityBlock(lb, es);
911 for (std::vector<uint32_t>::const_iterator it=
_vhashFEDs.begin();
917 std::vector<uint32_t>::const_iterator cit=
std::find(
922 for (uint32_t iflag=0; iflag<
_vflags.size(); iflag++)
965 for (std::vector<flag::Flag>::iterator ft=
_vflags.begin();
986 DQTask::endLuminosityBlock(lb, es);
Container2D _cMsnEmul_ElectronicsVME
ContainerSingle2D _cEtMsm_depthlike
T getUntrackedParameter(std::string const &, T const &) const
HashFilter _filter_depth0
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
virtual void setBinContent(HcalDetId const &, int)
ContainerSingleProf2D _cEtEmul_depthlike
Container2D _cEtMsm_ElectronicsVME
uint16_t fed2crate(int fed)
ContainerProf1D _cEtCutEmulvsBX_TTSubdet
ContainerSingle2D _cMsnEmul_depthlike
std::vector< uint32_t > _vhashFEDs
ContainerProf1D _cOccupancyCutEmulvsLS_TTSubdet
ContainerXXX< uint32_t > _xDataTotal
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::vector< flag::Flag > _vflags
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tokData
#define DEFINE_FWK_MODULE(type)
ContainerProf1D _cEtCutEmulvsLS_TTSubdet
std::vector< HcalTriggerPrimitiveDigi >::const_iterator const_iterator
int bunchCrossing() const
ContainerProf1D _cOccupancyEmulvsLS_TTSubdet
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
ContainerProf1D _cEtCorrRatiovsLS_TTSubdet
Container1D _cEtEmul_TTSubdet
ContainerProf1D _cEtCutDatavsLS_TTSubdet
ContainerXXX< uint32_t > _xNumCorr
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
ContainerProf2D _cEtEmul_ElectronicsuTCA
ContainerProf1D _cOccupancyCutEmulvsBX_TTSubdet
ContainerXXX< uint32_t > _xEmulMsn
void bookHistograms(fwlite::EventContainer &eventCont)
virtual void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
ContainerProf1D _cMsnCutEmulvsLS_TTSubdet
virtual void initialize(std::string const &folder, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fN), int debug=0)
Container2D _cFGMsm_ElectronicsuTCA
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
ContainerProf1D _cOccupancyCutDatavsLS_TTSubdet
Container2D _cFGMsm_ElectronicsVME
Container2D _cOccupancyCutEmul_ElectronicsuTCA
virtual void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
uint32_t lookup(DetId const &)
virtual void fill(HcalDetId const &)
Container2D _cEtCorr2x3_TTSubdet
virtual void fill(uint32_t)
Container2D _cMsnEmul_ElectronicsuTCA
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, int debug=0)
ContainerProf1D _cMsnCutDatavsBX_TTSubdet
ContainerSingle2D _cFGMsm_depthlike
virtual void setBinContent(int, int, int)
ContainerSingleProf2D _cEtCutEmul_depthlike
void dqmthrow(std::string const &msg) const
HcalElectronicsMap const * _emap
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fEnergy), int debug=0)
TPTask(edm::ParameterSet const &)
Container2D _cEtCorr_TTSubdet
ContainerXXX< uint32_t > _xFGMsm
ContainerXXX< uint32_t > _xEtMsm
ContainerSingle2D _cOccupancyData_depthlike
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
ContainerProf1D _cEtMsmvsLS_TTSubdet
ContainerProf1D _cMsnDatavsBX_TTSubdet
ContainerSingle2D _cSummaryvsLS
Container2D _cOccupancyEmul_ElectronicsVME
Container2D _cOccupancyEmul_ElectronicsuTCA
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
Container2D _cMsnData_ElectronicsVME
ContainerXXX< uint32_t > _xEmulTotal
ContainerProf2D _cEtData_ElectronicsuTCA
ContainerProf2D _cEtCorrRatio_ElectronicsuTCA
ContainerProf1D _cOccupancyEmulvsBX_TTSubdet
ContainerProf1D _cMsnEmulvsLS_TTSubdet
Container2D _cFGCorr_TTSubdet
ContainerProf1D _cEtCutDatavsBX_TTSubdet
ContainerProf2D _cEtEmul_ElectronicsVME
ContainerProf1D _cMsnEmulvsBX_TTSubdet
ContainerSingleProf2D _cEtCutData_depthlike
bool isFEDHBHE(HcalElectronicsId const &)
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
virtual void book(HcalElectronicsMap const *)
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="")
ContainerSingle2D _cOccupancyCutData_depthlike
ContainerSingle2D _cOccupancyEmul_depthlike
Container2D _cSummaryvsLS_FED
ContainerProf1D _cOccupancyDatavsBX_TTSubdet
int version() const
get the version code for the trigger tower
ContainerProf2D _cEtData_ElectronicsVME
Container2D _cOccupancyCutData_ElectronicsVME
Container2D _cOccupancyData_ElectronicsuTCA
ContainerProf1D _cMsnCutDatavsLS_TTSubdet
ContainerSingleProf2D _cEtData_depthlike
virtual void _resetMonitors(UpdateFreq)
ContainerProf1D _cMsnCutEmulvsBX_TTSubdet
ContainerProf1D _cEtMsmvsBX_TTSubdet
Container1D _cEtData_TTSubdet
ContainerSingleProf2D _cEtCorrRatio_depthlike
ContainerSingle2D _cMsnData_depthlike
ContainerProf2D _cEtCorrRatio_ElectronicsVME
Container2D _cEtMsm_ElectronicsuTCA
ContainerSingle2D _cOccupancyEmul2x3_depthlike
Container2D _cMsnData_ElectronicsuTCA
virtual STDTYPE & get(HcalDetId const &)
ContainerSingle2D _cOccupancyData2x3_depthlike
ContainerProf1D _cMsnDatavsLS_TTSubdet
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tokEmul
std::vector< int > getFEDList(HcalElectronicsMap const *)
ContainerXXX< uint32_t > _xDataMsn
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
ContainerSingle2D _cOccupancyCutEmul_depthlike
ContainerProf1D _cEtMsmRatiovsLS_TTSubdet
std::vector< uint32_t > _vcdaqEids
ContainerProf1D _cEtMsmRatiovsBX_TTSubdet
ContainerProf1D _cOccupancyDatavsLS_TTSubdet
virtual void fill(int, int)
virtual void initialize(hashfunctions::HashType, int debug=0)
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="")
Container2D _cOccupancyData_ElectronicsVME
ContainerProf1D _cOccupancyCutDatavsBX_TTSubdet
ContainerProf1D _cEtCorrRatiovsBX_TTSubdet
Readout chain identification for Hcal.
bool isFEDHF(HcalElectronicsId const &)
int ietaAbs() const
get the absolute value of the tower ieta
virtual void _process(edm::Event const &, edm::EventSetup const &)
Container2D _cOccupancyCutData_ElectronicsuTCA
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
electronicsmap::ElectronicsMap _ehashmap
Container2D _cOccupancyCutEmul_ElectronicsVME