|
|
|
void | analyze (edm::Event const &e, edm::EventSetup const &eSetup) override |
|
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
|
void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) override |
|
template<typename T > |
bool | checkRefs (const std::vector< T * > &) |
|
dqm::impl::MonitorElement * | CreateSummaryHist (DQMStore::IBooker &ibooker, TString strName) |
|
int | GenerateMEPerChamber (DQMStore::IBooker &ibooker) |
|
int | getDetOccXBin (const int, const int, const int) |
|
int | getIEtaFromVFAT (const int station, const int vfat) |
|
int | getIEtaFromVFATGE11 (const int vfat) |
|
int | getMaxVFAT (const int) |
|
int | getNumEtaPartitions (const GEMStation *) |
|
int | getVFATNumber (const int, const int, const int) |
|
int | getVFATNumberByStrip (const int, const int, const int) |
|
int | getVFATNumberGE11 (const int, const int, const int) |
|
int | initGeometry (edm::EventSetup const &iSetup) |
|
ME3IdsKey | key4Tokey3 (ME4IdsKey key) |
|
int | keyToChamber (ME4IdsKey key) |
|
int | keyToIEta (ME4IdsKey key) |
|
int | keyToLayer (ME3IdsKey key) |
|
int | keyToLayer (ME4IdsKey key) |
|
int | keyToRegion (ME2IdsKey key) |
|
int | keyToRegion (ME3IdsKey key) |
|
int | keyToRegion (ME4IdsKey key) |
|
int | keyToStation (ME2IdsKey key) |
|
int | keyToStation (ME3IdsKey key) |
|
int | keyToStation (ME4IdsKey key) |
|
int | loadChambers () |
|
virtual int | ProcessWithMEMap2 (BookingHelper &bh, ME2IdsKey key) |
|
virtual int | ProcessWithMEMap4 (BookingHelper &bh, ME4IdsKey key) |
|
int | readRadiusEtaPartition (int nRegion, int nStation) |
|
int | SortingLayers (std::vector< ME3IdsKey > &listLayers) |
|
uint64_t | meId () const |
|
|
typedef MEMapInfT< MEMap2Ids, ME2IdsKey > | MEMap2Inf |
|
typedef MEMapInfT< MEMap3Ids, ME3IdsKey > | MEMap3Inf |
|
typedef MEMapInfT< MEMap4Ids, ME4IdsKey > | MEMap4Inf |
|
typedef dqm::reco::DQMStore | DQMStore |
|
typedef dqm::reco::MonitorElement | MonitorElement |
|
typedef CacheContexts< T... > | CacheTypes |
|
typedef CacheTypes::GlobalCache | GlobalCache |
|
typedef AbilityChecker< T... > | HasAbility |
|
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
|
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
|
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
|
typedef CacheTypes::RunCache | RunCache |
|
typedef RunContextT< RunCache, GlobalCache > | RunContext |
|
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
|
std::vector< GEMChamber > | gemChambers_ |
|
const GEMGeometry * | GEMGeometry_ |
|
std::string | log_category_ |
|
std::map< ME3IdsKey, MEStationInfo > | mapStationInfo_ |
|
std::map< ME3IdsKey, int > | mapStationToIdx_ |
|
std::map< ME2IdsKey, bool > | MEMap2Check_ |
|
std::map< ME3IdsKey, bool > | MEMap3Check_ |
|
std::map< ME4IdsKey, bool > | MEMap3WithChCheck_ |
|
std::map< ME4IdsKey, bool > | MEMap4Check_ |
|
int | nMaxNumCh_ |
|
Int_t | nNumEtaPartitionGE0_ |
|
Int_t | nNumEtaPartitionGE11_ |
|
Int_t | nNumEtaPartitionGE21_ |
|
edm::EDPutTokenT< DQMToken > | lumiToken_ |
|
edm::EDPutTokenT< DQMToken > | runToken_ |
|
unsigned int | streamId_ |
|
Definition at line 27 of file GEMDigiSource.cc.
◆ GEMDigiSource()
◆ ~GEMDigiSource()
GEMDigiSource::~GEMDigiSource |
( |
| ) |
|
|
inlineoverride |
◆ analyze()
Reimplemented from DQMEDAnalyzer.
Definition at line 167 of file GEMDigiSource.cc.
169 event.getByToken(this->
tagDigi_, gemDigis);
173 std::map<ME3IdsKey, Int_t> total_strip_layer;
179 std::map<Int_t, bool> bTagVFAT;
182 if (total_strip_layer.find(key3) == total_strip_layer.end())
183 total_strip_layer[key3] = 0;
184 for (
auto iEta : ch.etaPartitions()) {
186 const auto& digis_in_det = gemDigis->get(rId);
187 for (
auto d = digis_in_det.first;
d != digis_in_det.second; ++
d) {
195 GlobalPoint strip_global_pos = surface.toGlobal(
iEta->centreOfStrip(
d->strip()));
196 Float_t fPhiDeg = ((Float_t)strip_global_pos.
phi()) * 180.0 / 3.141592;
204 total_strip_layer[key3]++;
208 if (bTagVFAT.find(nIdxVFAT) == bTagVFAT.end()) {
216 bTagVFAT[nIdxVFAT] =
true;
220 for (
auto [
key, num_total_strip] : total_strip_layer)
References GEMDetId::chamber(), ztail::d, GEMDQMBase::MEMapInfT< M, K >::Fill(), dqm::impl::MonitorElement::Fill(), GEMDQMBase::gemChambers_, GEMDQMBase::GEMGeometry_, GEMDQMBase::getVFATNumberByStrip(), h2SummaryOcc, GEMGeometry::idToDet(), L1TowerCalibrationProducer_cfi::iEta, GEMDetId::ieta(), crabWrapper::key, GEMDetId::layer(), V0Monitor_cfi::lumiScalers, lumiScalers_, mapBX_layer_, mapBXPerCh_, GEMDQMBase::mapStationToIdx_, mapStripOcc_ieta_, mapStripOcc_phi_, mapStripOccPerCh_, mapTotalDigi_layer_, mapTotalStripPerEvt_, SiStripPI::max, min(), nBXMax_, nBXMin_, PV3DBase< T, PVType, FrameType >::phi(), GEMDetId::region(), GEMDetId::station(), GeomDet::surface(), and tagDigi_.
◆ bookHistograms()
Implements DQMEDAnalyzer.
Definition at line 76 of file GEMDigiSource.cc.
85 mapTotalDigi_layer_ =
MEMap3Inf(
this,
"digi_det",
"Digi Occupancy", 36, 0.5, 36.5, 24, 0.5, 24.5,
"Chamber",
"VFAT");
87 this,
"strip_ieta_occ",
"Strip Digi Occupancy per eta partition", 8, 0.5, 8.5,
"iEta",
"Number of fired strips");
90 "Strip Digi Phi (degree) Occupancy ",
95 "Number of fired strips");
97 "total_strips_per_event",
98 "Total number of strip digis per event for each layers ",
102 "Number of fired strips",
107 mapStripOccPerCh_ =
MEMap4Inf(
this,
"strip_occ",
"Strip Digi Occupancy ", 1, 0.5, 1.5, 1, 0.5, 1.5,
"Strip",
"iEta");
110 "Strip Digi Bunch Crossing ",
References dqm::implementation::NavigatorBase::cd(), GEMDQMBase::CreateSummaryHist(), GEMDQMBase::GEMGeometry_, GEMDQMBase::GenerateMEPerChamber(), h2SummaryMal, h2SummaryOcc, GEMDQMBase::initGeometry(), GEMDQMBase::loadChambers(), mapBX_layer_, mapBXPerCh_, mapStripOcc_ieta_, mapStripOcc_phi_, mapStripOccPerCh_, mapTotalDigi_layer_, mapTotalStripPerEvt_, nBXMax_, nBXMin_, and dqm::implementation::NavigatorBase::setCurrentFolder().
◆ dqmBeginRun()
|
inlineoverrideprotectedvirtual |
◆ fillDescriptions()
◆ ProcessWithMEMap3()
Reimplemented from GEMDQMBase.
Definition at line 128 of file GEMDigiSource.cc.
References GEMDQMBase::MEMapInfT< M, K >::bookND(), crabWrapper::key, mapBX_layer_, GEMDQMBase::mapStationInfo_, mapStripOcc_ieta_, mapStripOcc_phi_, mapTotalDigi_layer_, mapTotalStripPerEvt_, GEMDQMBase::MEStationInfo::nMaxVFAT_, GEMDQMBase::MEStationInfo::nNumChambers_, GEMDQMBase::MEStationInfo::nNumEtaPartitions_, GEMDQMBase::MEMapInfT< M, K >::SetBinConfX(), GEMDQMBase::MEMapInfT< M, K >::SetBinConfY(), GEMDQMBase::MEMapInfT< M, K >::SetLabelForChambers(), and GEMDQMBase::MEMapInfT< M, K >::SetLabelForVFATs().
◆ ProcessWithMEMap3WithChamber()
Reimplemented from GEMDQMBase.
Definition at line 148 of file GEMDigiSource.cc.
152 int nNumVFATPerRoll = stationInfo.nMaxVFAT_ / stationInfo.nNumEtaPartitions_;
153 int nNumCh = stationInfo.nNumStrip_;
References GEMDQMBase::MEMapInfT< M, K >::bookND(), crabWrapper::key, GEMDQMBase::key4Tokey3(), mapBXPerCh_, GEMDQMBase::mapStationInfo_, mapStripOccPerCh_, GEMDQMBase::MEStationInfo::nMaxVFAT_, GEMDQMBase::MEStationInfo::nNumEtaPartitions_, GEMDQMBase::MEStationInfo::nNumStrip_, GEMDQMBase::MEMapInfT< M, K >::SetBinConfX(), GEMDQMBase::MEMapInfT< M, K >::SetBinConfY(), GEMDQMBase::MEMapInfT< M, K >::SetLabelForChambers(), and GEMDQMBase::MEMapInfT< M, K >::SetLabelForVFATs().
◆ h2SummaryMal
◆ h2SummaryOcc
◆ lumiScalers_
◆ mapBX_layer_
◆ mapBXPerCh_
◆ mapStripOcc_ieta_
◆ mapStripOcc_phi_
◆ mapStripOccPerCh_
◆ mapTotalDigi_layer_
◆ mapTotalStripPerEvt_
MEMap3Inf GEMDigiSource::mapTotalStripPerEvt_ |
|
private |
◆ nBXMax_
Int_t GEMDigiSource::nBXMax_ |
|
private |
◆ nBXMin_
Int_t GEMDigiSource::nBXMin_ |
|
private |
◆ tagDigi_
void SetBinConfX(Int_t nBins, Double_t dL=0.5, Double_t dH=-1048576.0)
std::vector< GEMChamber > gemChambers_
std::tuple< Int_t, Int_t > ME2IdsKey
MEMap3Inf mapStripOcc_phi_
MEMap3Inf mapTotalDigi_layer_
MEMap4Inf mapStripOccPerCh_
constexpr int layer() const
const GeomDet * idToDet(DetId) const override
constexpr int region() const
const GEMGeometry * GEMGeometry_
std::tuple< Int_t, Int_t, Int_t, Int_t > ME4IdsKey
virtual void setCurrentFolder(std::string const &fullpath)
MEMap3Inf mapTotalStripPerEvt_
MonitorElement * h2SummaryOcc
int Fill(K key, Double_t x)
ME3IdsKey key4Tokey3(ME4IdsKey key)
int SetLabelForVFATs(K key, Int_t nNumEtaPartitions, Int_t nAxis, Int_t nNumBin=-1)
int SetLabelForChambers(K key, Int_t nAxis, Int_t nNumBin=-1)
const Plane & surface() const
The nominal surface of the GeomDet.
void add(std::string const &label, ParameterSetDescription const &psetDescription)
MEMap3Inf mapStripOcc_ieta_
GEMDQMBase(const edm::ParameterSet &cfg)
MonitorElement * h2SummaryMal
dqm::impl::MonitorElement * CreateSummaryHist(DQMStore::IBooker &ibooker, TString strName)
constexpr int chamber() const
int initGeometry(edm::EventSetup const &iSetup)
MEMapInfT< MEMap4Ids, ME4IdsKey > MEMap4Inf
edm::EDGetTokenT< LumiScalersCollection > lumiScalers_
int getVFATNumberByStrip(const int, const int, const int)
MEMapInfT< MEMap3Ids, ME3IdsKey > MEMap3Inf
std::map< ME3IdsKey, MEStationInfo > mapStationInfo_
void SetBinConfY(Int_t nBins, Double_t dL=0.5, Double_t dH=-1048576.0)
std::tuple< Int_t, Int_t, Int_t > ME3IdsKey
std::map< ME3IdsKey, int > mapStationToIdx_
constexpr int station() const
constexpr int ieta() const
int bookND(BookingHelper &bh, K key)
Geom::Phi< T > phi() const
int GenerateMEPerChamber(DQMStore::IBooker &ibooker)