ATLAS Offline Software
Classes | Typedefs | Functions
MuonGMR4 Namespace Reference

The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy MuonReadoutGeometry. More...

Classes

class  Chamber
 
class  ChamberAssembleTool
 
struct  CutOutArea
 Helper struct to parse the information from the AMDB cutout tables. More...
 
struct  gapVolume
 Helper struct to attribute the Identifier fields with the gas gap volumes. More...
 
class  GeoModelMdtTest
 
class  GeoModelMmTest
 
class  GeoModelRpcTest
 
class  GeoModelsTgcTest
 
class  GeoModelTgcTest
 
class  IMuonGeoUtilityTool
 
class  IMuonReadoutGeomTool
 
class  MdtReadoutElement
 
class  MdtReadoutGeomTool
 
class  MdtTubeLayer
 Helper struct to retrieve the tube lengths and the tube centers directly from the GeoModel tree. More...
 
struct  MdtTubeLayerSorter
 Helper struct to sort equivalent MdtTubeLayers into a std::set. More...
 
class  MmReadoutElement
 
class  MmReadoutGeomTool
 
class  MuonChamberToolTest
 
class  MuonDetectorManager
 
class  MuonDetectorTool
 
class  MuonGeoUtilityTool
 
class  MuonReadoutElement
 The MuonReadoutElement is an abstract class representing the geometry representing the muon detector. More...
 
class  NswGeoPlottingAlg
 
class  PadDesign
 
struct  PadDesignSorter
 
struct  RadialDesignSorter
 
class  RadialStripDesign
 
class  ReadoutGeomCnvAlg
 
class  RpcReadoutElement
 
class  RpcReadoutGeomTool
 
class  SpectrometerSector
 A spectrometer sector forms the envelope of all chambers that are placed in the same MS sector & layer E.g. More...
 
class  sTgcReadoutElement
 
class  sTgcReadoutGeomTool
 
class  StripDesign
 
struct  StripDesignSorter
 
class  StripLayer
 
struct  StripLayerSorter
 Helper struct to share strip layer instances across the readout elements. More...
 
class  TgcReadoutElement
 
class  TgcReadoutGeomTool
 
struct  WireDesignSorter
 
class  WireGroupDesign
 

Typedefs

using chamberArgs = Chamber::defineArgs
 
using physVolWithTrans = IMuonGeoUtilityTool::physVolWithTrans
 
using defineArgs = RpcReadoutElement::defineArgs
 
using MdtTubeLayerPtr = GeoModel::TransientConstSharedPtr< MdtTubeLayer >
 
using MdtTubeLayerSet = std::set< MdtTubeLayerPtr, MdtTubeLayerSorter >
 
using PadDesignPtr = GeoModel::TransientConstSharedPtr< PadDesign >
 
using RadialStripDesignPtr = GeoModel::TransientConstSharedPtr< RadialStripDesign >
 
using RadialStripDesignSet = std::set< RadialStripDesignPtr, RadialDesignSorter >
 
using StripDesignPtr = GeoModel::TransientConstSharedPtr< StripDesign >
 
using StripLayerPtr = GeoModel::TransientConstSharedPtr< StripLayer >
 
using WireDesignPtr = GeoModel::TransientConstSharedPtr< WireGroupDesign >
 
using WireGroupDesignSet = std::set< WireDesignPtr, WireDesignSorter >
 
using BoundEnums = Acts::TrapezoidVolumeBounds::BoundValues
 
using parameterBook = MmReadoutElement::parameterBook
 
using MuonSectorSet = MuonDetectorManager::MuonSectorSet
 
using MuonChamberSet = MuonDetectorManager::MuonChamberSet
 
using ChamberSet = SpectrometerSector::ChamberSet
 
using localCornerArray = std::array< Amg::Vector2D, 4 >
 
using globalCornerArray = std::array< Amg::Vector3D, 4 >
 

Functions

bool layerSorter (const physVolWithTrans &a, const physVolWithTrans &b)
 
std::ostream & operator<< (std::ostream &ostr, const Chamber::defineArgs &args)
 
std::ostream & operator<< (std::ostream &ostr, const Chamber &chamber)
 
std::ostream & operator<< (std::ostream &ostr, const CutOutArea &cut)
 
std::ostream & operator<< (std::ostream &ostr, const MdtReadoutElement::parameterBook &pars)
 
bool operator< (const MdtTubeLayer::CutTubes &a, const unsigned int tube)
 
bool operator< (const unsigned int tube, const MdtTubeLayer::CutTubes &a)
 
bool operator< (const MdtTubeLayer::TubePositioner &a, const unsigned int tube)
 
bool operator< (const unsigned int tube, const MdtTubeLayer::TubePositioner &a)
 
std::ostream & operator<< (std::ostream &ostr, const MmReadoutElement::parameterBook &pars)
 
std::ostream & operator<< (std::ostream &ostr, const RpcReadoutElement::parameterBook &pars)
 
std::ostream & operator<< (std::ostream &ostr, const SpectrometerSector::defineArgs &args)
 
std::ostream & operator<< (std::ostream &ostr, const SpectrometerSector &chamber)
 
std::ostream & operator<< (std::ostream &ostr, const MuonGMR4::sTgcReadoutElement::parameterBook &pars)
 
std::ostream & operator<< (std::ostream &ostr, const StripDesign &design)
 
std::ostream & operator<< (std::ostream &ostr, const StripLayer &lay)
 
std::ostream & operator<< (std::ostream &ostr, const TgcReadoutElement::parameterBook &pars)
 
 ADD_DETECTOR (MdtReadoutElement, m_mdtEles)
 
 ADD_DETECTOR (TgcReadoutElement, m_tgcEles)
 
 ADD_DETECTOR (RpcReadoutElement, m_rpcEles)
 
 ADD_DETECTOR (MmReadoutElement, m_mmEles)
 
 ADD_DETECTOR (sTgcReadoutElement, m_sTgcEles)
 
bool operator< (const StripDesignPtr &a, const StripDesignPtr &b)
 

Detailed Description

The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy MuonReadoutGeometry.

The algorithm is meant to serve as an adapter allowing to dynamically exchange individual components in the Muon processing chain by their Run4 / Acts equivalents

Typedef Documentation

◆ BoundEnums

typedef Acts::TrapezoidVolumeBounds::BoundValues MuonGMR4::BoundEnums

Definition at line 12 of file Chamber.cxx.

◆ chamberArgs

Definition at line 62 of file ChamberAssembleTool.cxx.

◆ ChamberSet

Definition at line 14 of file SpectrometerSector.cxx.

◆ defineArgs

Definition at line 37 of file RpcReadoutGeomTool.cxx.

◆ globalCornerArray

using MuonGMR4::globalCornerArray = typedef std::array<Amg::Vector3D, 4>

◆ localCornerArray

using MuonGMR4::localCornerArray = typedef std::array<Amg::Vector2D, 4>

◆ MdtTubeLayerPtr

Definition at line 17 of file MdtTubeLayer.h.

◆ MdtTubeLayerSet

Definition at line 23 of file MdtTubeLayer.h.

◆ MuonChamberSet

◆ MuonSectorSet

◆ PadDesignPtr

Definition at line 22 of file PadDesign.h.

◆ parameterBook

Definition at line 22 of file MmReadoutElement.cxx.

◆ physVolWithTrans

Definition at line 33 of file MdtReadoutGeomTool.cxx.

◆ RadialStripDesignPtr

Definition at line 21 of file RadialStripDesign.h.

◆ RadialStripDesignSet

Definition at line 113 of file RadialStripDesign.h.

◆ StripDesignPtr

Definition at line 29 of file StripDesign.h.

◆ StripLayerPtr

Definition at line 39 of file StripLayer.h.

◆ WireDesignPtr

Definition at line 21 of file WireGroupDesign.h.

◆ WireGroupDesignSet

Definition at line 103 of file WireGroupDesign.h.

Function Documentation

◆ ADD_DETECTOR() [1/5]

MuonGMR4::ADD_DETECTOR ( MdtReadoutElement  ,
m_mdtEles   
)

◆ ADD_DETECTOR() [2/5]

MuonGMR4::ADD_DETECTOR ( MmReadoutElement  ,
m_mmEles   
)

◆ ADD_DETECTOR() [3/5]

MuonGMR4::ADD_DETECTOR ( RpcReadoutElement  ,
m_rpcEles   
)

◆ ADD_DETECTOR() [4/5]

MuonGMR4::ADD_DETECTOR ( sTgcReadoutElement  ,
m_sTgcEles   
)

◆ ADD_DETECTOR() [5/5]

MuonGMR4::ADD_DETECTOR ( TgcReadoutElement  ,
m_tgcEles   
)

◆ layerSorter()

bool MuonGMR4::layerSorter ( const physVolWithTrans a,
const physVolWithTrans b 
)
inline

Definition at line 53 of file RpcReadoutGeomTool.cxx.

53  {
54  const Amg::Vector3D cA = a.transform.translation();
55  const Amg::Vector3D cB = b.transform.translation();
56  if (std::abs(cA.x() - cB.x()) > tolerance) return (cA.x() < cB.x());
57  return (cA.y() < cB.y());
58 }

◆ operator<() [1/5]

bool MuonGMR4::operator< ( const MdtTubeLayer::CutTubes a,
const unsigned int  tube 
)

Definition at line 15 of file MdtTubeLayer.cxx.

15  {
16  return a.lastTube < tube;
17  }

◆ operator<() [2/5]

bool MuonGMR4::operator< ( const MdtTubeLayer::TubePositioner a,
const unsigned int  tube 
)

Definition at line 21 of file MdtTubeLayer.cxx.

21  {
22  return a.lastTube < tube;
23  }

◆ operator<() [3/5]

bool MuonGMR4::operator< ( const StripDesignPtr a,
const StripDesignPtr b 
)

Definition at line 23 of file StripDesign.cxx.

23  {
24  return (*a) < (*b);
25  }

◆ operator<() [4/5]

bool MuonGMR4::operator< ( const unsigned int  tube,
const MdtTubeLayer::CutTubes a 
)

Definition at line 18 of file MdtTubeLayer.cxx.

18  {
19  return tube < a.firstTube;
20  }

◆ operator<() [5/5]

bool MuonGMR4::operator< ( const unsigned int  tube,
const MdtTubeLayer::TubePositioner a 
)

Definition at line 24 of file MdtTubeLayer.cxx.

24  {
25  return tube < a.firstTube;
26  }

◆ operator<<() [1/12]

std::ostream & MuonGMR4::operator<< ( std::ostream &  ostr,
const Chamber chamber 
)

Definition at line 23 of file Chamber.cxx.

24  {
25 
26  ostr<<chamber.identString()<<" "<<chamber.parameters();
27  return ostr;
28  }

◆ operator<<() [2/12]

std::ostream & MuonGMR4::operator<< ( std::ostream &  ostr,
const Chamber::defineArgs args 
)

Definition at line 14 of file Chamber.cxx.

15  {
16  ostr<<"halfX (S/L): "<<args.bounds->get(BoundEnums::eHalfLengthXnegY)
17  <<"/"<<args.bounds->get(BoundEnums::eHalfLengthXposY)<<" [mm], ";
18  ostr<<"halfY: "<<args.bounds->get(BoundEnums::eHalfLengthY)<<" [mm], ";
19  ostr<<"halfZ: "<<args.bounds->get(BoundEnums::eHalfLengthZ)<<" [mm], ";
20  ostr<<"loc -> global: "<<Amg::toString(args.locToGlobTrf, 2);
21  return ostr;
22  }

◆ operator<<() [3/12]

std::ostream& MuonGMR4::operator<< ( std::ostream &  ostr,
const CutOutArea cut 
)
inline

Definition at line 23 of file CutOutArea.h.

23  {
24  ostr<<"Cut center "<<Amg::toString(cut.origin,1)<<", half X: "<<cut.halfLengthX<<", half Y "<<cut.lengthY;
25  ostr<<", min X: "<<(cut.origin.x() - cut.halfLengthX)<<", max X: "<<(cut.origin.x() + cut.halfLengthX);
26  ostr<<", min Y: "<<(cut.origin.y() - cut.lengthY)<<", max Y: "<<(cut.origin.y() + cut.lengthY);
27  return ostr;
28  }

◆ operator<<() [4/12]

std::ostream & MuonGMR4::operator<< ( std::ostream &  ostr,
const MdtReadoutElement::parameterBook pars 
)

Definition at line 26 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MdtReadoutElement.cxx.

26  {
27  ostr << std::endl;
28  ostr << " // Chamber half- length (min/max): "<<pars.shortHalfX<<"/"<<pars.longHalfX
29  <<", half-width "<<pars.halfY<<", height: "<<pars.halfHeight;
30  ostr << " // Number of tube layers " << pars.tubeLayers.size()<< std::endl;
31  ostr << " // Tube pitch: " << pars.tubePitch
32  << " wall thickness: " << pars.tubeWall
33  << " inner radius: " << pars.tubeInnerRad
34  << " endplug: "<<pars.endPlugLength
35  << " deadlength: "<<pars.deadLength<< std::endl;
36  for (const MdtTubeLayerPtr& layer : pars.tubeLayers) {
37  ostr << " // **** "<< Amg::toString(layer->tubeTransform(0).translation(), 2)<<std::endl;
38  }
39  return ostr;
40 }

◆ operator<<() [5/12]

std::ostream & MuonGMR4::operator<< ( std::ostream &  ostr,
const MmReadoutElement::parameterBook pars 
)

Definition at line 23 of file MmReadoutElement.cxx.

23  {
24  ostr<<"chamber shortWidth/longWidth/length [mm]: "<<(2.*pars.halfShortWidth)<<"/";
25  ostr<<(2.*pars.halfLongWidth)<<"/"<<(2.*pars.halfHeight)<<std::endl;
26  return ostr;
27 }

◆ operator<<() [6/12]

std::ostream& MuonGMR4::operator<< ( std::ostream &  ostr,
const MuonGMR4::sTgcReadoutElement::parameterBook pars 
)

◆ operator<<() [7/12]

std::ostream& MuonGMR4::operator<< ( std::ostream &  ostr,
const RpcReadoutElement::parameterBook pars 
)

◆ operator<<() [8/12]

std::ostream & MuonGMR4::operator<< ( std::ostream &  ostr,
const SpectrometerSector chamber 
)

Definition at line 94 of file SpectrometerSector.cxx.

94  {
95  ostr<<"MS sector "<<chamber.identString()<<" "<<chamber.parameters();
96  return ostr;
97 }

◆ operator<<() [9/12]

std::ostream & MuonGMR4::operator<< ( std::ostream &  ostr,
const SpectrometerSector::defineArgs args 
)

Definition at line 80 of file SpectrometerSector.cxx.

81  {
82  ostr<<std::endl
83  <<"halfX (S/L): "<<args.bounds->get(BoundEnums::eHalfLengthXnegY)
84  <<"/"<<args.bounds->get(BoundEnums::eHalfLengthXposY)<<" [mm], ";
85  ostr<<"halfY: "<<args.bounds->get(BoundEnums::eHalfLengthY)<<" [mm], ";
86  ostr<<"halfZ: "<<args.bounds->get(BoundEnums::eHalfLengthZ)<<" [mm], ";
87  ostr<<"loc -> global: "<<Amg::toString(args.locToGlobTrf, 2)<<std::endl;
88  ostr<<"************************************************************************"<<std::endl;
89  for (const SpectrometerSector::ChamberPtr& ch : args.chambers) {
90  ostr<<" --- "<<(*ch)<<std::endl;
91  }
92  return ostr;
93 }

◆ operator<<() [10/12]

std::ostream & MuonGMR4::operator<< ( std::ostream &  ostr,
const StripDesign design 
)

Definition at line 39 of file StripDesign.cxx.

39  {
40  design.print(ostr);
41  return ostr;
42  }

◆ operator<<() [11/12]

std::ostream & MuonGMR4::operator<< ( std::ostream &  ostr,
const StripLayer lay 
)

Definition at line 8 of file StripLayer.cxx.

8  {
9  ostr<<"Strip layer transform: "<<Amg::toString(lay.toOrigin())<<", ";
10  ostr<<lay.design()<<", ";
11  ostr<<"Hash: "<<static_cast<unsigned int>(lay.hash());
12  return ostr;
13  }

◆ operator<<() [12/12]

std::ostream& MuonGMR4::operator<< ( std::ostream &  ostr,
const TgcReadoutElement::parameterBook pars 
)
make_hlt_rep.pars
pars
Definition: make_hlt_rep.py:90
sendEI_SPB.ch
ch
Definition: sendEI_SPB.py:35
MuonGMR4::MdtTubeLayerPtr
GeoModel::TransientConstSharedPtr< MdtTubeLayer > MdtTubeLayerPtr
Definition: MdtTubeLayer.h:17
calibdata.chamber
chamber
Definition: calibdata.py:32
Amg::toString
std::string toString(const Translation3D &translation, int precision=4)
GeoPrimitvesToStringConverter.
Definition: GeoPrimitivesToStringConverter.h:40
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
BindingsTest.cut
cut
This script demonstrates how to call a C++ class from Python Also how to use PyROOT is shown.
Definition: BindingsTest.py:13
tolerance
Definition: suep_shower.h:17
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
a
TList * a
Definition: liststreamerinfos.cxx:10
calibdata.tube
tube
Definition: calibdata.py:31
python.CaloScaleNoiseConfig.args
args
Definition: CaloScaleNoiseConfig.py:80