Classes | |
struct | APVmon |
Functions | |
std::vector< MonitorElement * > | FetchMonitor (std::vector< APVmon >, uint32_t, const TrackerTopology *topo=0) |
std::vector< std::pair< std::string, std::string > > | monHnames (std::vector< std::string >, bool, const char *tag) |
int | subdetectorId (uint32_t) |
int | subdetectorId (const std::string &) |
int | subdetectorPlane (uint32_t, const TrackerTopology *) |
int | subdetectorPlane (const std::string &) |
int | subdetectorSide (uint32_t, const TrackerTopology *) |
int | subdetectorSide (const std::string &) |
std::vector< MonitorElement * > APVGain::FetchMonitor | ( | std::vector< APVmon > | histos, |
uint32_t | det_id, | ||
const TrackerTopology * | topo = 0 |
||
) |
Brief Fetch the Monitor Element corresponding to a DetId.
Definition at line 108 of file APVGainHelpers.cc.
References runEdmFileComparison::found, match(), subdetectorId(), subdetectorPlane(), and subdetectorSide().
Referenced by APVGain::APVmon::APVmon(), SiStripGainsPCLHarvester::gainQualityMonitor(), SiStripGainsPCLWorker::processEvent(), 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 137 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(), and SiStripGainsPCLHarvester::gainQualityMonitor().
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 17 of file APVGainHelpers.cc.
References DetId::subdetId().
Referenced by SiStripGainFromCalibTree::bookDQMHistos(), SiStripGainsPCLWorker::bookHistograms(), FetchMonitor(), SiStripGainsPCLHarvester::gainQualityMonitor(), and subdetectorPlane().
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 34 of file APVGainHelpers.cc.
References edmIntegrityCheck::d, and AlCaHLTBitMon_QueryRunRegistry::string.
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 79 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(), SiStripGainsPCLWorker::bookHistograms(), FetchMonitor(), and SiStripGainsPCLHarvester::gainQualityMonitor().
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 94 of file APVGainHelpers.cc.
References AlCaHLTBitMon_ParallelJobs::p, and AlCaHLTBitMon_QueryRunRegistry::string.
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 49 of file APVGainHelpers.cc.
References TrackerTopology::side().
Referenced by SiStripGainFromCalibTree::bookDQMHistos(), SiStripGainsPCLWorker::bookHistograms(), FetchMonitor(), and SiStripGainsPCLHarvester::gainQualityMonitor().
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 63 of file APVGainHelpers.cc.
References funct::m, and AlCaHLTBitMon_ParallelJobs::p.