1818#include " TGeoVolume.h"
1919#include " TGeoCompositeShape.h"
2020
21+ #include " Framework/Logger.h"
2122#include " CommonConstants/MathConstants.h"
2223#include " ITSBase/GeometryTGeo.h"
2324#include " ITS3Base/SpecsV2.h"
2425#include " ITS3Simulation/ITS3Layer.h"
25- #include " fairlogger/Logger.h"
2626
2727namespace o2m = o2::constants::math;
2828namespace its3c = o2::its3::constants;
@@ -31,13 +31,6 @@ namespace o2::its3
3131{
3232using its3TGeo = o2::its::GeometryTGeo;
3333
34- void ITS3Layer::init ()
35- {
36- mR = its3c::radii[mNLayer ];
37- mRmin = its3c::radiiInner[mNLayer ];
38- mRmax = its3c::radiiOuter[mNLayer ];
39- }
40-
4134void ITS3Layer::getMaterials (bool create)
4235{
4336 if (gGeoManager == nullptr ) {
@@ -59,11 +52,11 @@ TGeoMedium* ITS3Layer::getMaterial(const char* matName, bool create)
5952 } else { // create dummy
6053 auto matDummy = gGeoManager ->GetMaterial (" MAT_DUMMY$" );
6154 if (matDummy == nullptr ) {
62- LOGP (info , " Created Dummy material" );
55+ LOGP (warn , " Created Dummy material" );
6356 matDummy = new TGeoMaterial (" MAT_DUMMY$" , 26.98 , 13 , 2.7 );
6457 }
6558 mat = new TGeoMedium (matName, 1 , matDummy);
66- LOGP (info , " Created medium {}" , matName);
59+ LOGP (warn , " Created medium {}" , matName);
6760 }
6861 }
6962 return mat;
@@ -76,12 +69,10 @@ void ITS3Layer::createLayer(TGeoVolume* motherVolume)
7669 createLayerImpl ();
7770 mBuilt = true ;
7871
79- LOGP (debug, " ITS3-Layer: Created Layer {} with mR={} (minR={}, maxR={})" , mNLayer , mR , mRmin , mRmax );
8072 if (motherVolume == nullptr ) {
8173 return ;
8274 }
8375 // Add it to motherVolume
84- LOGP (debug, " `-> Attaching to motherVolume '{}'" , motherVolume->GetName ());
8576 auto * trans = new TGeoTranslation (0 , 0 , -constants::segment::lengthSensitive / 2 .);
8677 motherVolume->AddNode (mLayer , 0 , trans);
8778}
0 commit comments