Skip to content

Commit 15484d6

Browse files
authored
Add sensor thickness to Layer class
Added sensor thickness parameter to Layer constructor and updated member variables accordingly.
1 parent d6d1f3c commit 15484d6

File tree

1 file changed

+5
-4
lines changed
  • Detectors/Upgrades/ALICE3/IOTOF/simulation/include/IOTOFSimulation

1 file changed

+5
-4
lines changed

Detectors/Upgrades/ALICE3/IOTOF/simulation/include/IOTOFSimulation/Layer.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Layer
2626
public:
2727
Layer() = default;
2828
Layer(std::string layerName, float rInn, float rOut, float zLength, float zOffset, float layerX2X0,
29-
int layout = kBarrel, int nStaves = 0, float staveSize = 0.0, double staveTiltAngle = 0.0, int modulesPerStave = 0);
29+
int layout = kBarrel, int nStaves = 0, float staveSize = 0.0, double staveTiltAngle = 0.0, int modulesPerStave = 0, float sensorThickness = 0.0f);
3030
~Layer() = default;
3131

3232
auto getInnerRadius() const { return mInnerRadius; }
@@ -52,8 +52,9 @@ class Layer
5252
float mZLength;
5353
float mZOffset{0.f}; // Of use when fwd layers
5454
float mX2X0;
55-
float mChipThickness;
56-
int mLayout{kBarrel}; // Identifier of the type of layer layout (barrel, disk, barrel segmented, disk segmented)
55+
float mChipThickness; // Thickness of the chip in cm, derived from mX2X0 and the radiation length of silicon
56+
float mSensorThickness; // Thickness of the sensor in cm, to be subtracted from the chip thickness to get the total module thickness
57+
int mLayout{kBarrel}; // Identifier of the type of layer layout (barrel, disk, barrel segmented, disk segmented)
5758
// To be used only in case of the segmented layout, to define the number of staves in phi (for barrel) or in r (for disk)
5859
std::pair<int, float> mStaves{0, 0.0f}; // Number and size of staves in phi (for barrel) or in r (for disk) in case of segmented layout
5960
int mModulesPerStave{0}; // Number of modules along a stave
@@ -92,4 +93,4 @@ class BTOFLayer : public Layer
9293

9394
} // namespace iotof
9495
} // namespace o2
95-
#endif // ALICEO2_IOTOF_LAYER_H
96+
#endif // ALICEO2_IOTOF_LAYER_H

0 commit comments

Comments
 (0)