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 (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 &) |
int | thickness (uint32_t) |
int | thickness (const std::string &tag) |
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 187 of file APVGainHelpers.cc.
References match(), subdetectorId(), subdetectorPlane(), subdetectorSide(), and thickness().
Referenced by SiStripGainsCalibTreeWorker::dqmAnalyze(), and 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 151 of file APVGainHelpers.cc.
References newFWLiteAna::found, combine::histos, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, LogDebug, match(), AlCaHLTBitMon_QueryRunRegistry::string, subdetectorId(), subdetectorPlane(), subdetectorSide(), makeGlobalPositionRcd_cfg::tag, and thickness().
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 215 of file APVGainHelpers.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), mps_fire::i, MillePedeFileConverter_cfg::out, python.rootplot.root2matplotlib::replace(), AlCaHLTBitMon_QueryRunRegistry::string, makeGlobalPositionRcd_cfg::tag, and to_string().
Referenced by SiStripGainFromCalibTree::algoEndRun(), SiStripGainFromCalibTree::bookDQMHistos(), SiStripGainsCalibTreeWorker::bookHistograms(), SiStripGainsPCLWorker::bookHistograms(), SiStripGainsPCLHarvester::gainQualityMonitor(), SiStripGainsCalibTreeWorker::SiStripGainsCalibTreeWorker(), and SiStripGainsPCLWorker::SiStripGainsPCLWorker().
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 16 of file APVGainHelpers.cc.
References DetId::subdetId().
Referenced by SiStripGainFromCalibTree::bookDQMHistos(), FetchIndices(), FetchMonitor(), SiStripGainsPCLHarvester::gainQualityMonitor(), SiStripGainsCalibTreeWorker::SiStripGainsCalibTreeWorker(), SiStripGainsPCLWorker::SiStripGainsPCLWorker(), subdetectorPlane(), and thickness().
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 30 of file APVGainHelpers.cc.
References ztail::d, AlCaHLTBitMon_QueryRunRegistry::string, and makeGlobalPositionRcd_cfg::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 119 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(), SiStripGainsCalibTreeWorker::SiStripGainsCalibTreeWorker(), and SiStripGainsPCLWorker::SiStripGainsPCLWorker().
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 138 of file APVGainHelpers.cc.
References AlCaHLTBitMon_ParallelJobs::p, AlCaHLTBitMon_QueryRunRegistry::string, and makeGlobalPositionRcd_cfg::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 49 of file APVGainHelpers.cc.
References TrackerTopology::side().
Referenced by SiStripGainFromCalibTree::bookDQMHistos(), FetchIndices(), FetchMonitor(), SiStripGainsPCLHarvester::gainQualityMonitor(), SiStripGainsCalibTreeWorker::SiStripGainsCalibTreeWorker(), 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 60 of file APVGainHelpers.cc.
References visualization-live-secondInstance_cfg::m, AlCaHLTBitMon_ParallelJobs::p, and makeGlobalPositionRcd_cfg::tag.
int APVGain::thickness | ( | uint32_t | det_id | ) |
Brief Extract the sensor thickness from the Det Id Return and integer whose coding is 0 - no thickness can be determined 1 - for thin sensors 2 - for thick sensors
Definition at line 76 of file APVGainHelpers.cc.
References SiStripDetId::moduleGeometry(), subdetectorId(), DetId::subdetId(), SiStripDetId::TIB, SiStripDetId::TOB, W5, W6, and W7.
Referenced by SiStripGainFromCalibTree::bookDQMHistos(), FetchIndices(), FetchMonitor(), SiStripGainsPCLHarvester::gainQualityMonitor(), SiStripGainsCalibTreeWorker::SiStripGainsCalibTreeWorker(), and SiStripGainsPCLWorker::SiStripGainsPCLWorker().
int APVGain::thickness | ( | const std::string & | tag | ) |
Brief Extract the thickness from a char * descriptor Return and integer whose coding is 0 - no thicnkness can be determined 1 - for thin sensors 2 - for thick sensors
The char * descriptor is expected to have either "thin" or "thick" string to specify the thickness. If no sign spec is found 0 is returned.
Definition at line 102 of file APVGainHelpers.cc.
References makeGlobalPositionRcd_cfg::tag.