ATLAS Offline Software
Classes | Functions
MdtAsBuiltPar.h File Reference
#include <string>
#include <array>
#include "MuonAlignmentData/MuonAlignmentPar.h"
Include dependency graph for MdtAsBuiltPar.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MdtAsBuiltPar
 Container classifier the MDT as-built parameters See parameter description in http://atlas-muon-align.web.cern.ch/atlas-muon-align/endplug/asbuilt.pdf. More...
 
struct  MdtAsBuiltPar::AlignmentParameters
 

Functions

std::ostream & operator<< (std::ostream &ostr, const MdtAsBuiltPar &par)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  ostr,
const MdtAsBuiltPar par 
)

Definition at line 7 of file MdtAsBuiltPar.cxx.

7  {
8  ostr<<"MdtAsBuilt AMDB id (name,eta,phi,job)=(";
9  ostr<<par.AmdbStation()<<",";
10  ostr<<par.AmdbEta()<<",";
11  ostr<<par.AmdbPhi()<<",";
12  ostr<<par.AmdbJob()<<"), "<<std::endl;
13  using multilayer_t = MdtAsBuiltPar::multilayer_t;
14  using tubeSide_t = MdtAsBuiltPar::tubeSide_t;
15  for (const multilayer_t ml : {multilayer_t::ML1, multilayer_t::ML2}){
16  ostr<<" chamber multi-layer " << static_cast<unsigned int>(ml)<<",";
17  for (const tubeSide_t side : {tubeSide_t::POS, tubeSide_t::NEG}){
18  ostr << "(y0,z0,alpha,ypitch,zpitch,stagg) at ";
19  ostr << (side == tubeSide_t::POS ? "positive" : "negative")<<" side = {";
20  ostr << par.y0(ml, side) <<", ";
21  ostr << par.z0(ml, side) <<", ";
22  ostr << par.alpha(ml, side) <<", ";
23  ostr << par.ypitch(ml, side) <<", ";
24  ostr << par.zpitch(ml, side) <<", ";
25  ostr << par.stagg(ml, side) <<"}, ";
26  }
27  ostr<<std::endl;
28  }
29  return ostr;
30 }
MdtAsBuiltPar::multilayer_t
multilayer_t
MDT multi-layer index.
Definition: MdtAsBuiltPar.h:28
TRT::Hit::side
@ side
Definition: HitInfo.h:83
MdtAsBuiltPar::tubeSide_t
tubeSide_t
MDT tube side.
Definition: MdtAsBuiltPar.h:33
createCoolChannelIdFile.par
par
Definition: createCoolChannelIdFile.py:29