#include <AlignmentGeometry.h>
Public Member Functions | |
const DetGeometry & | get (unsigned int id) const |
retrieves sensor geometry More... | |
unsigned int | getNumberOfDetectors () const |
returns the number of detectors in the collection More... | |
const std::map< unsigned int, DetGeometry > & | getSensorMap () const |
void | insert (unsigned int id, const DetGeometry &g) |
puts an element to the map More... | |
bool | isValidSensorId (unsigned int id) const |
check whether the sensor Id is valid (present in the map) More... | |
void | print () const |
Prints the geometry. More... | |
Public Attributes | |
double | z0 |
a characteristic z in mm More... | |
Protected Attributes | |
std::map< unsigned int, DetGeometry > | sensorGeometry |
A collection of geometrical information.
Definition at line 56 of file AlignmentGeometry.h.
const DetGeometry & AlignmentGeometry::get | ( | unsigned int | id | ) | const |
retrieves sensor geometry
Definition at line 17 of file AlignmentGeometry.cc.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), rrapi.RRApi::columns(), util.rrapi.RRApi::columns(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), factorRPFromSensorCorrections(), JanAlignmentAlgorithm::feed(), StraightTrackAlignment::finish(), data_sources.json_list::first(), LocalTrackFitter::fitAndRemoveOutliers(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), data_sources.json_list::indices(), data_sources.json_list::last(), StraightTrackAlignment::processEvent(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), util.rrapi.RRApi::reports(), rrapi.RRApi::reports(), IdealResult::solve(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), StraightTrackAlignment::updateDiagnosticHistograms(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
|
inline |
returns the number of detectors in the collection
Definition at line 73 of file AlignmentGeometry.h.
References sensorGeometry.
Referenced by JanAlignmentAlgorithm::analyze().
|
inline |
Definition at line 70 of file AlignmentGeometry.h.
References sensorGeometry.
Referenced by JanAlignmentAlgorithm::begin(), AlignmentTask::buildEqualMeanUMeanVRotZConstraints(), AlignmentTask::buildIndexMaps(), AlignmentTask::buildOneRotZPerPotConstraints(), AlignmentTask::buildStandardConstraints(), StraightTrackAlignment::finish(), IdealResult::solve(), and JanAlignmentAlgorithm::solve().
void AlignmentGeometry::insert | ( | unsigned int | id, |
const DetGeometry & | g | ||
) |
puts an element to the map
Definition at line 27 of file AlignmentGeometry.cc.
References g, and gpuClustering::id.
Referenced by BeautifulSoup.PageElement::_invert(), SequenceTypes.Schedule::_replaceIfHeldDirectly(), and AlignmentTask::buildGeometry().
|
inline |
check whether the sensor Id is valid (present in the map)
Definition at line 76 of file AlignmentGeometry.h.
References sensorGeometry.
Referenced by StraightTrackAlignment::processEvent().
void AlignmentGeometry::print | ( | void | ) | const |
Prints the geometry.
Definition at line 31 of file AlignmentGeometry.cc.
References gpuVertexFinder::printf(), printId(), CTPPSDetId::sdTrackingStrip, and DetId::subdetId().
Referenced by StraightTrackAlignment::begin().
|
protected |
Definition at line 58 of file AlignmentGeometry.h.
Referenced by getNumberOfDetectors(), getSensorMap(), and isValidSensorId().
double AlignmentGeometry::z0 |
a characteristic z in mm
Definition at line 62 of file AlignmentGeometry.h.
Referenced by AlignmentTask::buildGeometry(), JanAlignmentAlgorithm::feed(), and LocalTrackFitter::fitAndRemoveOutliers().