77 ********************************************************************************/
88
99// -------------------------------------------------------------------------
10- // ----- AliGeoCave file -----
10+ // ----- GeoCave file -----
1111// ----- Created 26/03/14 by M. Al-Turany -----
1212// -------------------------------------------------------------------------
1313
1414// ///////////////////////////////////////////////////////////
15- // AliGeoCave
15+ // GeoCave
1616//
1717// Class for the geometry of the detector part CAVE
1818//
1919// ///////////////////////////////////////////////////////////
2020
21- #include " AliGeoCave .h"
21+ #include " GeoCave .h"
2222
2323#include " FairGeoBasicShape.h" // for FairGeoBasicShape
2424#include " FairGeoMedia.h" // for FairGeoMedia
3232#include < iostream> // for cout
3333
3434using namespace std ;
35- ClassImp (AliGeoCave)
35+ using namespace AliceO2 ::Passive;
36+ ClassImp (AliceO2::Passive::GeoCave)
3637
37- AliGeoCave::AliGeoCave ()
38+ GeoCave::GeoCave ()
3839 : FairGeoSet(),
3940 name(" cave" )
4041{
@@ -44,7 +45,7 @@ AliGeoCave::AliGeoCave()
4445 maxModules=1 ;
4546}
4647
47- Bool_t AliGeoCave ::read (fstream& fin,FairGeoMedia* media)
48+ Bool_t GeoCave ::read (fstream& fin,FairGeoMedia* media)
4849{
4950 // Reads the geometry from file
5051 if (!media) { return kFALSE ; }
@@ -90,14 +91,14 @@ Bool_t AliGeoCave::read(fstream& fin,FairGeoMedia* media)
9091 return rc;
9192}
9293
93- void AliGeoCave ::addRefNodes ()
94+ void GeoCave ::addRefNodes ()
9495{
9596 // Adds the reference node
9697 FairGeoNode* volu=getVolume (name);
9798 if (volu) { masterNodes->Add (new FairGeoNode (*volu)); }
9899}
99100
100- void AliGeoCave ::write (fstream& fout)
101+ void GeoCave ::write (fstream& fout)
101102{
102103 // Writes the geometry to file
103104 fout.setf (ios::fixed,ios::floatfield);
@@ -112,7 +113,7 @@ void AliGeoCave::write(fstream& fout)
112113 }
113114}
114115
115- void AliGeoCave ::print ()
116+ void GeoCave ::print ()
116117{
117118 // Prints the geometry
118119 FairGeoNode* volu=getVolume (name);
0 commit comments