88// granted to it by virtue of its status as an Intergovernmental Organization
99// or submit itself to any jurisdiction.
1010
11- #include " A3DetectorsPassive/A3Pipe .h"
11+ #include " Alice3DetectorsPassive/Pipe .h"
1212#include < DetectorsBase/Detector.h>
1313#include < DetectorsBase/MaterialManager.h>
1414#include < TGeoTube.h>
2525
2626using namespace o2 ::passive;
2727
28- A3Pipe::A3Pipe () : A3PassiveBase {" Alice3PIPE" , " " } {}
29- A3Pipe::A3Pipe (const char * name,
28+ Alice3Pipe::Alice3Pipe () : Alice3PassiveBase {" Alice3PIPE" , " " } {}
29+ Alice3Pipe::Alice3Pipe (const char * name,
3030 const char * title,
3131 float innerRho,
3232 float innerThickness,
3333 float innerLength,
3434 float outerRho,
3535 float outerThickness,
3636 float outerLength)
37- : A3PassiveBase {name, title},
37+ : Alice3PassiveBase {name, title},
3838 mBeInnerPipeRmax {innerRho},
3939 mBeInnerPipeThick {innerThickness},
4040 mInnerIpHLength {innerLength},
@@ -44,25 +44,25 @@ A3Pipe::A3Pipe(const char* name,
4444{
4545}
4646
47- A3Pipe ::~A3Pipe () = default ;
48- A3Pipe& A3Pipe ::operator =(const A3Pipe & rhs)
47+ Alice3Pipe ::~Alice3Pipe () = default ;
48+ Alice3Pipe& Alice3Pipe ::operator =(const Alice3Pipe & rhs)
4949{
5050 // self assignment
5151 if (this == &rhs) {
5252 return *this ;
5353 }
5454
5555 // base class assignment
56- A3PassiveBase ::operator =(rhs);
56+ Alice3PassiveBase ::operator =(rhs);
5757
5858 return *this ;
5959}
6060
61- void A3Pipe ::ConstructGeometry ()
61+ void Alice3Pipe ::ConstructGeometry ()
6262{
6363 createMaterials ();
6464 //
65- // Class describing the beam A3Pipe geometry
65+ // Class describing the beam Alice3Pipe geometry
6666 //
6767 float z, zsh, z0;
6868 //
@@ -79,11 +79,11 @@ void A3Pipe::ConstructGeometry()
7979 // Media
8080 auto & matmgr = o2::base::MaterialManager::Instance ();
8181
82- const TGeoMedium* kMedBe = matmgr.getTGeoMedium (" A3PIPE_BE " );
83- const TGeoMedium* kMedVac = matmgr.getTGeoMedium (" A3PIPE_VACUUM " );
84- const TGeoMedium* kMedVacNF = matmgr.getTGeoMedium (" A3PIPE_VACUUM_NF " );
85- const TGeoMedium* kMedVacHC = matmgr.getTGeoMedium (" A3PIPE_VACUUM_HC " );
86- const TGeoMedium* kMedVacNFHC = matmgr.getTGeoMedium (" A3PIPE_VACUUM_NFHC " );
82+ const TGeoMedium* kMedBe = matmgr.getTGeoMedium (" ALICE3PIPE_BE " );
83+ const TGeoMedium* kMedVac = matmgr.getTGeoMedium (" ALICE3PIPE_VACUUM " );
84+ const TGeoMedium* kMedVacNF = matmgr.getTGeoMedium (" ALICE3PIPE_VACUUM_NF " );
85+ const TGeoMedium* kMedVacHC = matmgr.getTGeoMedium (" ALICE3PIPE_VACUUM_HC " );
86+ const TGeoMedium* kMedVacNFHC = matmgr.getTGeoMedium (" ALICE3PIPE_VACUUM_NFHC " );
8787
8888 // Top volume
8989 TGeoVolume* top = gGeoManager ->GetVolume (" cave" );
@@ -123,10 +123,10 @@ void A3Pipe::ConstructGeometry()
123123 barrel->AddNode (outerBerylliumTubeVacuumVolume, 1 , gGeoIdentity );
124124}
125125
126- void A3Pipe ::createMaterials ()
126+ void Alice3Pipe ::createMaterials ()
127127{
128128 //
129- // Define materials for beam A3Pipe
129+ // Define materials for beam Alice3Pipe
130130 //
131131 Int_t isxfld = 2 .;
132132 float sxmgmx = 10 .;
@@ -154,21 +154,21 @@ void A3Pipe::createMaterials()
154154 auto & matmgr = o2::base::MaterialManager::Instance ();
155155
156156 // Beryllium
157- matmgr.Material (" A3PIPE " , 5 , " BERILLIUM$" , 9.01 , 4 ., 1.848 , 35.3 , 36.7 );
158- matmgr.Medium (" A3PIPE " , 5 , " BE" , 5 , 0 , isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
157+ matmgr.Material (" ALICE3PIPE " , 5 , " BERILLIUM$" , 9.01 , 4 ., 1.848 , 35.3 , 36.7 );
158+ matmgr.Medium (" ALICE3PIPE " , 5 , " BE" , 5 , 0 , isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
159159
160160 // Vacuum
161- matmgr.Mixture (" A3PIPE " , 16 , " VACUUM$ " , aAir, zAir, dAir1, 4 , wAir);
162- matmgr.Mixture (" A3PIPE " , 36 , " VACUUM$_NF" , aAir, zAir, dAir1, 4 , wAir);
163- matmgr.Mixture (" A3PIPE " , 56 , " VACUUM$_HC " , aAir, zAir, dAir1, 4 , wAir);
164- matmgr.Mixture (" A3PIPE " , 76 , " VACUUM$_NFHC" , aAir, zAir, dAir1, 4 , wAir);
165-
166- matmgr.Medium (" A3PIPE " , 16 , " VACUUM" , 16 , 0 , isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
167- matmgr.Medium (" A3PIPE " , 36 , " VACUUM_NF" , 36 , 0 , 0 , sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
168- matmgr.Medium (" A3PIPE " , 56 , " VACUUM_HC" , 56 , 0 , isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
169- matmgr.Medium (" A3PIPE " , 76 , " VACUUM_NFHC" , 76 , 0 , 0 , sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
161+ matmgr.Mixture (" ALICE3PIPE " , 16 , " VACUUM$ " , aAir, zAir, dAir1, 4 , wAir);
162+ matmgr.Mixture (" ALICE3PIPE " , 36 , " VACUUM$_NF" , aAir, zAir, dAir1, 4 , wAir);
163+ matmgr.Mixture (" ALICE3PIPE " , 56 , " VACUUM$_HC " , aAir, zAir, dAir1, 4 , wAir);
164+ matmgr.Mixture (" ALICE3PIPE " , 76 , " VACUUM$_NFHC" , aAir, zAir, dAir1, 4 , wAir);
165+
166+ matmgr.Medium (" ALICE3PIPE " , 16 , " VACUUM" , 16 , 0 , isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
167+ matmgr.Medium (" ALICE3PIPE " , 36 , " VACUUM_NF" , 36 , 0 , 0 , sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
168+ matmgr.Medium (" ALICE3PIPE " , 56 , " VACUUM_HC" , 56 , 0 , isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
169+ matmgr.Medium (" ALICE3PIPE " , 76 , " VACUUM_NFHC" , 76 , 0 , 0 , sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
170170}
171171
172172// ----------------------------------------------------------------------------
173- FairModule* A3Pipe ::CloneModule () const { return new A3Pipe (*this ); }
174- ClassImp (o2::passive::A3Pipe );
173+ FairModule* Alice3Pipe ::CloneModule () const { return new Alice3Pipe (*this ); }
174+ ClassImp (o2::passive::Alice3Pipe );
0 commit comments