![]() |
ATLAS Offline Software
|
#include <GeoPrimitives/GeoPrimitivesHelpers.h>#include <GeoPrimitives/GeoPrimitivesToStringConverter.h>#include "GeoModelHelpers/TransformToStringConverter.h"#include <MuonCablingData/MdtCablingData.h>#include <MuonReadoutGeometryR4/MuonDetectorDefs.h>#include <GaudiKernel/SystemOfUnits.h>#include <iostream>#include "Acts/Utilities/UnitVectors.hpp"#include "Acts/Definitions/Units.hpp"#include <PathResolver/PathResolver.h>#include <TFile.h>#include <TTreeReader.h>Go to the source code of this file.
Classes | |
| struct | MdtChamber |
| Helper struct to represent a full Mdt chamber. More... | |
| struct | MdtChamber::TubePositioning |
Macros | |
| #define | TEST_BASICPROP(attribute, propName) |
| #define | TEST_TUBEPROP(attribute, propName) |
Functions | |
| Amg::Vector3D | makeDir (const double theta, const double phi) |
| std::ostream & | operator<< (std::ostream &ostr, const MdtChamber &chamb) |
| Translation of the station Index -> station Name. | |
| std::set< MdtChamber > | readTreeDump (const std::string &inputFile) |
| int | main1 (int argc, char **argv) |
| int | main (int argc, char **argv) |
Variables | |
| constexpr double | tolerance = 10 * Gaudi::Units::micrometer |
| #define TEST_BASICPROP | ( | attribute, | |
| propName ) |
Definition at line 113 of file runMdtGeoComparison.cxx.
| #define TEST_TUBEPROP | ( | attribute, | |
| propName ) |
Definition at line 121 of file runMdtGeoComparison.cxx.
| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 395 of file runMdtGeoComparison.cxx.
| int main1 | ( | int | argc, |
| char ** | argv ) |
check whether the files are xroot d -> otherwise call path resovler
Parse the tree dump
Start to loop over the chambers
We do not care whether the orientation of the coordinate system along the wire flips for negative chambers or not
The ultimate goal is to have the tube positioned at the same place. We maybe need the origin position later when we are adding the alignable transforms...
Check the tube transformations
Remember the tube staggering is in the (x-y) plane. Allow for deviations in the z-axis due to different cutouts
In cases where the tube coordinate systems are not aligned, there's no point in checking the position of the reaodout
Definition at line 249 of file runMdtGeoComparison.cxx.
| Amg::Vector3D makeDir | ( | const double | theta, |
| const double | phi ) |
Definition at line 30 of file runMdtGeoComparison.cxx.
| std::ostream & operator<< | ( | std::ostream & | ostr, |
| const MdtChamber & | chamb ) |
Translation of the station Index -> station Name.
Dictionary taken from https://gitlab.cern.ch/atlas/athena/-/blob/main/DetectorDescription/IdDictParser/data/IdDictMuonSpectrometer_R.09.03.xml
Definition at line 97 of file runMdtGeoComparison.cxx.
| std::set< MdtChamber > readTreeDump | ( | const std::string & | inputFile | ) |
Information to access each tube individually
Readout the information of each tube specifically
Definition at line 131 of file runMdtGeoComparison.cxx.
|
constexpr |
Definition at line 111 of file runMdtGeoComparison.cxx.