|
|
#include <GEMDQMBase.h>
|
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 | ProcessWithMEMap3 (BookingHelper &bh, ME3IdsKey key) |
|
virtual int | ProcessWithMEMap3WithChamber (BookingHelper &bh, ME4IdsKey key) |
|
virtual int | ProcessWithMEMap4 (BookingHelper &bh, ME4IdsKey key) |
|
int | SortingLayers (std::vector< ME3IdsKey > &listLayers) |
|
uint64_t | meId () const |
|
Definition at line 29 of file GEMDQMBase.h.
◆ MEMap2Inf
◆ MEMap3Inf
◆ MEMap4Inf
◆ GEMDQMBase()
◆ ~GEMDQMBase()
GEMDQMBase::~GEMDQMBase |
( |
| ) |
|
|
inlineoverride |
◆ checkRefs()
template<typename T >
bool GEMDQMBase::checkRefs |
( |
const std::vector< T * > & |
refs | ) |
|
|
inlineprotected |
Definition at line 420 of file GEMDQMBase.h.
423 if (refs.front() ==
nullptr)
◆ CreateSummaryHist()
◆ GenerateMEPerChamber()
Definition at line 147 of file GEMDQMBase.cc.
160 BookingHelper bh2(ibooker, strSuffixName, strSuffixTitle);
167 BookingHelper bh3(ibooker, strSuffixName, strSuffixTitle);
174 BookingHelper bh3Ch(ibooker, strSuffixName, strSuffixTitle);
178 for (
auto iEta : ch.etaPartitions()) {
184 BookingHelper bh4(ibooker, strSuffixName, strSuffixTitle);
References GEMDetId::chamber(), GEMUtils::getSuffixName(), GEMUtils::getSuffixTitle(), L1TowerCalibrationProducer_cfi::iEta, GEMDetId::layer(), GEMDetId::region(), GEMDetId::roll(), and GEMDetId::station().
Referenced by GEMRecHitSource::bookHistograms(), GEMDigiSource::bookHistograms(), and GEMDAQStatusSource::bookHistograms().
◆ getDetOccXBin()
int GEMDQMBase::getDetOccXBin |
( |
const int |
chamber, |
|
|
const int |
layer, |
|
|
const int |
n_chambers |
|
) |
| |
|
inlineprotected |
◆ getIEtaFromVFAT()
int GEMDQMBase::getIEtaFromVFAT |
( |
const int |
station, |
|
|
const int |
vfat |
|
) |
| |
|
inlineprotected |
◆ getIEtaFromVFATGE11()
int GEMDQMBase::getIEtaFromVFATGE11 |
( |
const int |
vfat | ) |
|
|
inlineprotected |
◆ getMaxVFAT()
int GEMDQMBase::getMaxVFAT |
( |
const int |
station | ) |
|
|
inlineprotected |
◆ getNumEtaPartitions()
int GEMDQMBase::getNumEtaPartitions |
( |
const GEMStation * |
station | ) |
|
|
protected |
◆ getVFATNumber()
int GEMDQMBase::getVFATNumber |
( |
const int |
station, |
|
|
const int |
ieta, |
|
|
const int |
vfat_phi |
|
) |
| |
|
inlineprotected |
◆ getVFATNumberByStrip()
int GEMDQMBase::getVFATNumberByStrip |
( |
const int |
station, |
|
|
const int |
ieta, |
|
|
const int |
strip |
|
) |
| |
|
inlineprotected |
◆ getVFATNumberGE11()
int GEMDQMBase::getVFATNumberGE11 |
( |
const int |
station, |
|
|
const int |
ieta, |
|
|
const int |
vfat_phi |
|
) |
| |
|
inlineprotected |
◆ initGeometry()
◆ key4Tokey3()
◆ keyToChamber()
int GEMDQMBase::keyToChamber |
( |
ME4IdsKey |
key | ) |
|
|
inlineprotected |
◆ keyToIEta()
◆ keyToLayer() [1/2]
◆ keyToLayer() [2/2]
◆ keyToRegion() [1/3]
◆ keyToRegion() [2/3]
◆ keyToRegion() [3/3]
◆ keyToStation() [1/3]
int GEMDQMBase::keyToStation |
( |
ME2IdsKey |
key | ) |
|
|
inlineprotected |
◆ keyToStation() [2/3]
int GEMDQMBase::keyToStation |
( |
ME3IdsKey |
key | ) |
|
|
inlineprotected |
◆ keyToStation() [3/3]
int GEMDQMBase::keyToStation |
( |
ME4IdsKey |
key | ) |
|
|
inlineprotected |
◆ loadChambers()
int GEMDQMBase::loadChambers |
( |
| ) |
|
|
protected |
Definition at line 45 of file GEMDQMBase.cc.
50 for (
auto sch : superChambers_) {
51 int n_lay = sch->nChambers();
52 for (
int l = 0;
l < n_lay;
l++) {
53 Bool_t bExist =
false;
55 if (ch.id() == sch->chamber(
l + 1)->id()) {
69 const int region_number =
region->region();
72 const auto&& superchambers =
station->superChambers();
74 const int station_number =
station->station();
75 const int num_superchambers = superchambers.size();
76 const int num_layers = superchambers.front()->nChambers();
79 const int num_vfat = num_etas * max_vfat;
84 for (
int layer_number = 1; layer_number <= num_layers; layer_number++) {
85 ME3IdsKey key3(region_number, station_number, layer_number);
87 region_number, station_number, layer_number, num_superchambers, num_etas, num_vfat, num_strip);
References cmsLHEtoEOSManager::l, SiStripPI::max, GEMeMap::maxChan_, HLT_FULL_cff::region, and relativeConstraints::station.
Referenced by GEMRecHitSource::bookHistograms(), GEMDigiSource::bookHistograms(), and GEMDAQStatusSource::bookHistograms().
◆ ProcessWithMEMap2()
◆ ProcessWithMEMap3()
◆ ProcessWithMEMap3WithChamber()
◆ ProcessWithMEMap4()
◆ SortingLayers()
int GEMDQMBase::SortingLayers |
( |
std::vector< ME3IdsKey > & |
listLayers | ) |
|
|
protected |
Definition at line 102 of file GEMDQMBase.cc.
104 Int_t re1 = std::get<0>(key1), st1 = std::get<1>(key1), la1 = std::get<2>(key1);
105 Int_t re2 = std::get<0>(key2), st2 = std::get<1>(key2), la2 = std::get<2>(key2);
106 if (re1 < 0 && re2 > 0)
108 if (re1 > 0 && re2 < 0)
110 Bool_t bRes = (re1 < 0);
111 Int_t sum1 = 256 *
std::abs(re1) + 16 * st1 + 1 * la1;
References funct::abs(), and combinedConstraintHelpers::sum2().
◆ gemChambers_
◆ GEMGeometry_
◆ log_category_
std::string GEMDQMBase::log_category_ |
|
protected |
◆ mapStationInfo_
◆ mapStationToIdx_
std::map<ME3IdsKey, int> GEMDQMBase::mapStationToIdx_ |
|
protected |
◆ MEMap2Check_
std::map<ME2IdsKey, bool> GEMDQMBase::MEMap2Check_ |
|
protected |
◆ MEMap3Check_
std::map<ME3IdsKey, bool> GEMDQMBase::MEMap3Check_ |
|
protected |
◆ MEMap3WithChCheck_
std::map<ME4IdsKey, bool> GEMDQMBase::MEMap3WithChCheck_ |
|
protected |
◆ MEMap4Check_
std::map<ME4IdsKey, bool> GEMDQMBase::MEMap4Check_ |
|
protected |
◆ nMaxNumCh_
int GEMDQMBase::nMaxNumCh_ |
|
protected |
◆ nNumEtaPartitionGE0_
Int_t GEMDQMBase::nNumEtaPartitionGE0_ |
|
protected |
◆ nNumEtaPartitionGE11_
Int_t GEMDQMBase::nNumEtaPartitionGE11_ |
|
protected |
◆ nNumEtaPartitionGE21_
Int_t GEMDQMBase::nNumEtaPartitionGE21_ |
|
protected |
std::map< ME3IdsKey, bool > MEMap3Check_
std::vector< GEMChamber > gemChambers_
std::tuple< Int_t, Int_t > ME2IdsKey
std::map< ME4IdsKey, bool > MEMap4Check_
int keyToStation(ME2IdsKey key)
constexpr int layer() const
constexpr int region() const
const GEMGeometry * GEMGeometry_
std::tuple< Int_t, Int_t, Int_t, Int_t > ME4IdsKey
int SortingLayers(std::vector< ME3IdsKey > &listLayers)
int getMaxVFAT(const int)
TString getSuffixName(Int_t region_id)
Int_t nNumEtaPartitionGE0_
static const int maxVFatGE21_
int getVFATNumberGE11(const int, const int, const int)
Int_t nNumEtaPartitionGE21_
static const int maxVFatGE11_
constexpr int chamber() const
int getVFATNumber(const int, const int, const int)
std::map< ME4IdsKey, bool > MEMap3WithChCheck_
constexpr int roll() const
virtual int ProcessWithMEMap2(BookingHelper &bh, ME2IdsKey key)
bool checkRefs(const std::vector< T * > &)
virtual void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
static char chambers[264][20]
const std::vector< const GEMRegion * > & regions() const
Return a vector of all GEM regions.
Int_t nNumEtaPartitionGE11_
virtual int ProcessWithMEMap4(BookingHelper &bh, ME4IdsKey key)
Log< level::Error, false > LogError
int keyToLayer(ME3IdsKey key)
std::string log_category_
std::map< ME3IdsKey, MEStationInfo > mapStationInfo_
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
TString getSuffixTitle(Int_t region_id)
std::tuple< Int_t, Int_t, Int_t > ME3IdsKey
std::map< ME3IdsKey, int > mapStationToIdx_
int keyToRegion(ME2IdsKey key)
constexpr int station() const
std::map< ME2IdsKey, bool > MEMap2Check_
Abs< T >::type abs(const T &t)
const std::vector< const GEMSuperChamber * > & superChambers() const
Return a vector of all GEM super chambers.
virtual int ProcessWithMEMap3WithChamber(BookingHelper &bh, ME4IdsKey key)
int getNumEtaPartitions(const GEMStation *)
int getIEtaFromVFATGE11(const int vfat)
virtual int ProcessWithMEMap3(BookingHelper &bh, ME3IdsKey key)
static const int maxChan_