Classes | |
struct | APVGainHistograms |
struct | APVmon |
Typedefs | |
typedef dqm::legacy::MonitorElement | MonitorElement |
Functions | |
std::vector< unsigned int > | FetchIndices (std::map< unsigned int, APVloc >, uint32_t, const TrackerTopology *topo=nullptr) |
std::vector< MonitorElement * > | FetchMonitor (std::vector< APVmon >, uint32_t, const TrackerTopology *topo=nullptr) |
std::vector< std::pair< std::string, std::string > > | monHnames (std::vector< std::string >, bool, const char *tag) |
int | subdetectorId (const std::string &) |
int | subdetectorId (uint32_t) |
int | subdetectorPlane (const std::string &) |
int | subdetectorPlane (uint32_t, const TrackerTopology *) |
int | subdetectorSide (const std::string &) |
int | subdetectorSide (uint32_t, const TrackerTopology *) |
Definition at line 17 of file APVGainHelpers.h.
std::vector< unsigned int > APVGain::FetchIndices | ( | std::map< unsigned int, APVloc > | theMap, |
uint32_t | det_id, | ||
const TrackerTopology * | topo = nullptr |
||
) |
Brief Fetch the Monitor Element index corresponding to a DetId.
Definition at line 141 of file APVGainHelpers.cc.
References match(), subdetectorId(), subdetectorPlane(), and subdetectorSide().
Referenced by SiStripGainsPCLWorker::dqmAnalyze().
std::vector< APVGain::MonitorElement * > APVGain::FetchMonitor | ( | std::vector< APVmon > | histos, |
uint32_t | det_id, | ||
const TrackerTopology * | topo = nullptr |
||
) |
Brief Fetch the Monitor Element corresponding to a DetId.
Definition at line 108 of file APVGainHelpers.cc.
References newFWLiteAna::found, combine::histos, LogDebug, match(), AlCaHLTBitMon_QueryRunRegistry::string, subdetectorId(), subdetectorPlane(), subdetectorSide(), and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by SiStripGainsPCLHarvester::gainQualityMonitor(), SiStripGainFromCalibTree::processEvent(), and SiStripGainFromCalibTree::qualityMonitor().
std::vector< std::pair< std::string, std::string > > APVGain::monHnames | ( | std::vector< std::string > | VH, |
bool | allPlanes, | ||
const char * | tag | ||
) |
Definition at line 166 of file APVGainHelpers.cc.
References mps_fire::i, MillePedeFileConverter_cfg::out, python.rootplot.root2matplotlib::replace(), AlCaHLTBitMon_QueryRunRegistry::string, and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by SiStripGainFromCalibTree::algoEndRun(), SiStripGainFromCalibTree::bookDQMHistos(), SiStripGainsPCLWorker::bookHistograms(), SiStripGainsPCLHarvester::gainQualityMonitor(), and SiStripGainsPCLWorker::SiStripGainsPCLWorker().
int APVGain::subdetectorId | ( | const std::string & | tag | ) |
Brief Extract from a char * the subdetector type. Return an integer whioch is associated to the subdetector type. The integer coding follows:
3 - TIB 4 - TID 5 - TOB 6 - TEC
The char * string is expected to have a 3 char descriptor of the subdetector type in front.
Definition at line 29 of file APVGainHelpers.cc.
References ztail::d, AlCaHLTBitMon_QueryRunRegistry::string, and GlobalPosition_Frontier_DevDB_cff::tag.
int APVGain::subdetectorId | ( | uint32_t | det_id | ) |
Brief Extract from the DetId the subdetector type. Return an integer which is associated to the subdetector type. The integer coding for phase0/phase1 geometry follows:
3 - TIB 4 - TID 5 - TOB 6 - TEC
Definition at line 15 of file APVGainHelpers.cc.
References DetId::subdetId().
Referenced by SiStripGainFromCalibTree::bookDQMHistos(), FetchIndices(), FetchMonitor(), SiStripGainsPCLHarvester::gainQualityMonitor(), SiStripGainsPCLWorker::SiStripGainsPCLWorker(), and subdetectorPlane().
int APVGain::subdetectorPlane | ( | const std::string & | tag | ) |
Brief Extract from a char * the subdetector type. Return an integer whioch is the detector plane where the module sits. The char * string is expected to have the subdetector plane put at its end after an "_" char.
Definition at line 95 of file APVGainHelpers.cc.
References AlCaHLTBitMon_ParallelJobs::p, AlCaHLTBitMon_QueryRunRegistry::string, and GlobalPosition_Frontier_DevDB_cff::tag.
int APVGain::subdetectorPlane | ( | uint32_t | det_id, |
const TrackerTopology * | topo | ||
) |
Brief Extract the detector plane position from a DetId. Return an integer that represent the detector plane where the module sits. For the barrel detectors (TIB and TOB) the detector plane is the layer, e.g. ranging from 1 to 4 in the TIB and from 1 to 6 in the TOB. For the endcap detectors the detector plane is the wheel number with a sign in front to tell in which side the wheel is sitting.
Definition at line 76 of file APVGainHelpers.cc.
References subdetectorId(), StripSubdetector::TEC, TrackerTopology::tecSide(), TrackerTopology::tecWheel(), StripSubdetector::TIB, TrackerTopology::tibLayer(), StripSubdetector::TID, TrackerTopology::tidSide(), TrackerTopology::tidWheel(), StripSubdetector::TOB, and TrackerTopology::tobLayer().
Referenced by SiStripGainFromCalibTree::bookDQMHistos(), FetchIndices(), FetchMonitor(), SiStripGainsPCLHarvester::gainQualityMonitor(), and SiStripGainsPCLWorker::SiStripGainsPCLWorker().
int APVGain::subdetectorSide | ( | const std::string & | tag | ) |
Brief Extract the subdetector side from a char * descriptor Return and integer whose coding is 0 - no side description can be applied 1 - for negative side 2 - for positive side
The char * descriptor is expected to have either "minus" or "plus" string to specify the sign. If no sign spec is found 0 is returned.
Definition at line 59 of file APVGainHelpers.cc.
References visualization-live-secondInstance_cfg::m, AlCaHLTBitMon_ParallelJobs::p, and GlobalPosition_Frontier_DevDB_cff::tag.
int APVGain::subdetectorSide | ( | uint32_t | det_id, |
const TrackerTopology * | topo | ||
) |
Brief Extract the subdetector side from the Det Id Return and integer whose coding is 0 - no side description can be applied 1 - for negative side 2 - for positive side
Definition at line 48 of file APVGainHelpers.cc.
References TrackerTopology::side().
Referenced by SiStripGainFromCalibTree::bookDQMHistos(), FetchIndices(), FetchMonitor(), SiStripGainsPCLHarvester::gainQualityMonitor(), and SiStripGainsPCLWorker::SiStripGainsPCLWorker().