@@ -42,6 +42,8 @@ class FT3Module
4242 static TGeoMedium* epoxyMed;
4343 static TGeoMaterial* AluminumMat;
4444 static TGeoMedium* AluminumMed;
45+ static TGeoMaterial* carbonFiberMat;
46+ static TGeoMedium* carbonFiberMed;
4547
4648 const char * mDetName ;
4749
@@ -52,7 +54,8 @@ class FT3Module
5254
5355 void createModule_scopingV3 (
5456 double mZ , int layerNumber, int direction, double Rin,
55- double Rout, double overlap, TGeoVolume* motherVolume);
57+ double Rout, double overlap, TGeoVolume* motherVolume,
58+ bool useStaves);
5659
5760 private:
5861 static void create_layout (
@@ -62,32 +65,37 @@ class FT3Module
6265
6366 void create_layout_scopingV3 (
6467 double mZ , int layerNumber, int direction, double Rin,
65- double Rout, double overlap, TGeoVolume* motherVolume);
68+ double Rout, double overlap, TGeoVolume* motherVolume,
69+ bool useStaves);
6670
6771 // Helper functions
6872 void fill_stave (PosNegPositionTypes& y_positions, double Rout,
6973 double x_left, unsigned kSensorStack , double tolerance,
7074 std::pair<double , double > y_start);
75+ void addStaveVolume (
76+ TGeoVolume* motherVolume, std::string volumeName, int direction,
77+ unsigned * volume_count, double staveLength,
78+ double x_mid, double y_mid, double z_stave_shift_abs);
7179 void addDetectorVolume (
72- TGeoVolume* motherVolume, std::string volumeName, int color, unsigned * sensor_count ,
80+ TGeoVolume* motherVolume, std::string volumeName, int color, unsigned * volume_count ,
7381 double x_mid, double y_mid, double z_mid,
7482 double x_half_length, double y_half_length, double z_half_length);
7583
7684 void add2x1GlueVolume (
77- TGeoVolume* motherVolume, int layerNumber, int direction, unsigned * sensor_count ,
85+ TGeoVolume* motherVolume, int layerNumber, int direction, unsigned * volume_count ,
7886 std::string side_str, double x_mid, double y_mid, double z_mid,
7987 std::string element_glued_to);
8088
8189 void add2x1CopperVolume (
82- TGeoVolume* motherVolume, int layerNumber, int direction, unsigned * sensor_count ,
90+ TGeoVolume* motherVolume, int layerNumber, int direction, unsigned * volume_count ,
8391 std::string side_str, double x_mid, double y_mid, double z_mid);
8492
8593 void add2x1KaptonVolume (
86- TGeoVolume* motherVolume, int layerNumber, int direction, unsigned * sensor_count ,
94+ TGeoVolume* motherVolume, int layerNumber, int direction, unsigned * volume_count ,
8795 std::string side_str, double x_mid, double y_mid, double z_mid);
8896
8997 void addSingleSensorVolume (
90- TGeoVolume* motherVolume, int layerNumber, int direction, unsigned * sensor_count ,
98+ TGeoVolume* motherVolume, int layerNumber, int direction, unsigned * volume_count ,
9199 double active_x_mid, double y_mid, double z_mid, std::string side_str, bool isLeft);
92100};
93101
0 commit comments