Skip to content

Commit 9863bc2

Browse files
committed
Cleanup
1 parent 2871e5f commit 9863bc2

File tree

14 files changed

+11
-624
lines changed

14 files changed

+11
-624
lines changed

Detectors/Upgrades/ALICE3/Passive/src/Pipe.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ void Alice3Pipe::ConstructGeometry()
122122
// Add everything to the barrel
123123
barrel->AddNode(pipeVolume, 1, new TGeoTranslation(0, 30.f, 0));
124124

125-
pipeVolume->SetLineColor(kGreen + 3);
125+
pipeVolume->SetLineColor(37);
126+
pipeVolume->SetTransparency(10);
126127
}
127128

128129
void Alice3Pipe::createMaterials()

Detectors/Upgrades/ALICE3/TRK/base/include/TRKBase/GeometryTGeo.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,12 @@ class GeometryTGeo : public o2::detectors::DetMatrixCache
4242
};
4343
static const char* getTRKVolPattern() { return sVolumeName.c_str(); }
4444
static const char* getTRKLayerPattern() { return sLayerName.c_str(); }
45-
static const char* getVDLayerPattern() { return sVDLayerName.c_str(); }
46-
static const char* getVDDiskPattern() { return sVDDiskName.c_str(); }
4745
static const char* getTRKPetalPattern() { return sPetalName.c_str(); }
4846
static const char* getTRKPetalDiskPattern() { return sPetalDiskName.c_str(); }
4947
static const char* getTRKPetalLayerPattern() { return sPetalLayerName.c_str(); }
5048
static const char* getTRKStavePattern() { return sStaveName.c_str(); }
5149
static const char* getTRKChipPattern() { return sChipName.c_str(); }
5250
static const char* getTRKSensorPattern() { return sSensorName.c_str(); }
53-
static const char* getVDSensorPattern() { return sVDSensorName.c_str(); }
5451
static const char* getTRKWrapVolPattern() { return sWrapperVolumeName.c_str(); }
5552

5653
int getNumberOfChips() const { return mSize; }
@@ -144,9 +141,6 @@ class GeometryTGeo : public o2::detectors::DetMatrixCache
144141

145142
static std::string sVolumeName;
146143
static std::string sLayerName;
147-
static std::string sVDLayerName;
148-
static std::string sVDDiskName;
149-
static std::string sVDSensorName;
150144
static std::string sPetalName;
151145
static std::string sPetalDiskName;
152146
static std::string sPetalLayerName;

Detectors/Upgrades/ALICE3/TRK/base/src/GeometryTGeo.cxx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,13 @@ std::unique_ptr<o2::trk::GeometryTGeo> GeometryTGeo::sInstance;
2424
// Names
2525
std::string GeometryTGeo::sVolumeName = "TRKV";
2626
std::string GeometryTGeo::sLayerName = "TRKLayer";
27+
std::string GeometryTGeo::sPetalName = "PETALCASE";
2728
std::string GeometryTGeo::sPetalDiskName = "DISK";
2829
std::string GeometryTGeo::sPetalLayerName = "LAYER";
2930
std::string GeometryTGeo::sStaveName = "TRKStave";
3031
std::string GeometryTGeo::sChipName = "TRKChip";
3132
std::string GeometryTGeo::sSensorName = "TRKSensor";
3233

33-
std::string GeometryTGeo::sPetalName = "Petal";
34-
std::string GeometryTGeo::sVDLayerName = "Layer";
35-
std::string GeometryTGeo::sVDDiskName = "Disk";
36-
std::string GeometryTGeo::sVDSensorName = "VDSensor";
3734
std::string GeometryTGeo::sWrapperVolumeName = "TRKUWrapVol"; ///< Wrapper volume name, not implemented at the moment
3835

3936
o2::trk::GeometryTGeo::~GeometryTGeo()

Detectors/Upgrades/ALICE3/TRK/simulation/CMakeLists.txt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ o2_add_library(TRKSimulation
1818
src/Digitizer.cxx
1919
src/TRKServices.cxx
2020
src/DPLDigitizerParam.cxx
21-
src/TRKPetalCase.cxx
22-
src/TRKPetalLayer.cxx
23-
src/TRKPetalDisk.cxx
2421
src/VDLayer.cxx
2522
src/VDGeometryBuilder.cxx
2623
PUBLIC_LINK_LIBRARIES O2::TRKBase
@@ -37,9 +34,7 @@ o2_target_root_dictionary(TRKSimulation
3734
include/TRKSimulation/Detector.h
3835
include/TRKSimulation/TRKLayer.h
3936
include/TRKSimulation/TRKServices.h
40-
include/TRKSimulation/TRKPetalCase.h
41-
include/TRKSimulation/TRKPetalLayer.h
42-
include/TRKSimulation/TRKPetalDisk.h
4337
include/TRKSimulation/VDLayer.h
4438
include/TRKSimulation/VDGeometryBuilder.h
39+
include/TRKSimulation/VDSensorRegistry.h
4540
include/TRKSimulation/DPLDigitizerParam.h)

Detectors/Upgrades/ALICE3/TRK/simulation/include/TRKSimulation/Detector.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
#include "TRKSimulation/TRKLayer.h"
1919
#include "TRKSimulation/TRKServices.h"
20-
#include "TRKSimulation/TRKPetalCase.h"
2120
#include "TRKBase/GeometryTGeo.h"
2221

2322
#include <TLorentzVector.h>
@@ -92,7 +91,6 @@ class Detector : public o2::base::DetImpl<Detector>
9291
std::vector<o2::itsmft::Hit>* mHits; // ITSMFT ones for the moment
9392
std::vector<TRKLayer> mLayers;
9493
TRKServices mServices; // Houses the services of the TRK, but not the Iris tracker
95-
std::vector<TRKPetalCase> mPetalCases; // Houses the Iris tracker and its services. Created fully in the beam pipe
9694

9795
std::vector<std::string> mFirstOrLastLayers; // Names of the first or last layers
9896
bool InsideFirstOrLastLayer(std::string layerName);
@@ -106,8 +104,6 @@ class Detector : public o2::base::DetImpl<Detector>
106104
public:
107105
static constexpr Int_t sNumberVDPetalCases = 4; //! Number of VD petals
108106
int getNumberOfLayers() const { return mLayers.size(); } //! Number of TRK layers
109-
int getNumberOfLayersVD() const { return mPetalCases[0].mPetalLayers.size(); }
110-
int getNumberOfDisksVD() const { return mPetalCases[0].mPetalDisks.size(); }
111107

112108
void Print(FairVolume* vol, int volume, int subDetID, int layer, int stave, int halfstave, int chipID) const;
113109

Detectors/Upgrades/ALICE3/TRK/simulation/include/TRKSimulation/TRKPetalCase.h

Lines changed: 0 additions & 93 deletions
This file was deleted.

Detectors/Upgrades/ALICE3/TRK/simulation/include/TRKSimulation/TRKPetalDisk.h

Lines changed: 0 additions & 64 deletions
This file was deleted.

Detectors/Upgrades/ALICE3/TRK/simulation/include/TRKSimulation/TRKPetalLayer.h

Lines changed: 0 additions & 61 deletions
This file was deleted.

Detectors/Upgrades/ALICE3/TRK/simulation/src/Detector.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ void Detector::createGeometry()
266266

267267
// Choose the VD design (here: IRIS4 by default).
268268
// You can wire this to a parameter in TRKBaseParam if desired.
269-
// Alternatives: createIRIS5Geometry(vVD); createIRIS4aGeometry(vVD);
269+
// Alternatives: createIRIS5Geometry(vTRK); createIRIS4aGeometry(vTRK);
270270
o2::trk::createIRIS4Geometry(vTRK);
271271

272272
mServices.excavateFromVacuum("IRIS_CUTOUTsh");

0 commit comments

Comments
 (0)