@@ -759,9 +759,9 @@ void WCSimDetectorConstruction::SetNuPrism_mPMTGeometry()
759
759
WCPMTRadius = PMT->GetRadius ();
760
760
761
761
// mPMT params go first because detector depends on it:
762
- vessel_cyl_height = 38 .*CLHEP::mm; // option A, option B would be 277 mm
763
- vessel_radius_curv = 342 .*CLHEP::mm; // needs to include the vessel thickness, as we construct from outside inwards.
764
- vessel_radius = 254 .*CLHEP::mm;
762
+ mPMT_vessel_cyl_height = 38 .*CLHEP::mm; // option A, option B would be 277 mm
763
+ mPMT_vessel_radius_curv = 342 .*CLHEP::mm; // needs to include the vessel thickness, as we construct from outside inwards.
764
+ mPMT_vessel_radius = 254 .*CLHEP::mm;
765
765
dist_pmt_vessel = 8 *CLHEP::mm;
766
766
orientation = PERPENDICULAR;
767
767
mPMT_outer_material = " G4_PLEXIGLASS" ;
@@ -774,7 +774,7 @@ void WCSimDetectorConstruction::SetNuPrism_mPMTGeometry()
774
774
id_reflector_z_offset = 6.12 *CLHEP::mm;
775
775
id_reflector_angle = 46.5 *CLHEP::deg;
776
776
mPMT_pmt_openingAngle = 8.3 *CLHEP::deg;
777
- G4double vessel_tot_height = vessel_radius + vessel_cyl_height ;
777
+ G4double mPMT_vessel_tot_height = mPMT_vessel_radius + mPMT_vessel_cyl_height ;
778
778
779
779
// parameters related to filling the ID mPMT
780
780
nID_PMTs = 19 ;
@@ -812,9 +812,9 @@ void WCSimDetectorConstruction::SetNuPrismBeamTest_mPMTGeometry()
812
812
WCPMTRadius = PMT->GetRadius ();
813
813
814
814
// mPMT params go first because detector depends on it:
815
- vessel_cyl_height = 38 .*CLHEP::mm; // option A, option B would be 277 mm
816
- vessel_radius_curv = 342 .*CLHEP::mm; // needs to include the vessel thickness, as we construct from outside inwards.
817
- vessel_radius = 254 .*CLHEP::mm;
815
+ mPMT_vessel_cyl_height = 38 .*CLHEP::mm; // option A, option B would be 277 mm
816
+ mPMT_vessel_radius_curv = 342 .*CLHEP::mm; // needs to include the vessel thickness, as we construct from outside inwards.
817
+ mPMT_vessel_radius = 254 .*CLHEP::mm;
818
818
dist_pmt_vessel = 8 *CLHEP::mm;
819
819
orientation = PERPENDICULAR;
820
820
mPMT_outer_material = " G4_PLEXIGLASS" ;
@@ -827,7 +827,7 @@ void WCSimDetectorConstruction::SetNuPrismBeamTest_mPMTGeometry()
827
827
id_reflector_z_offset = 6.12 *CLHEP::mm;
828
828
id_reflector_angle = 46.5 *CLHEP::deg;
829
829
mPMT_pmt_openingAngle = 8.3 *CLHEP::deg;
830
- G4double vessel_tot_height = vessel_radius + vessel_cyl_height ;
830
+ G4double mPMT_vessel_tot_height = mPMT_vessel_radius + mPMT_vessel_cyl_height ;
831
831
832
832
// parameters related to filling the ID mPMT
833
833
nID_PMTs = 19 ;
@@ -864,9 +864,9 @@ void WCSimDetectorConstruction::SetNuPrismShort_mPMTGeometry()
864
864
WCPMTRadius = PMT->GetRadius ();
865
865
866
866
// mPMT params go first because detector depends on it:
867
- vessel_cyl_height = 38 .*CLHEP::mm; // option A, option B would be 277 mm
868
- vessel_radius_curv = 342 .*CLHEP::mm; // needs to include the vessel thickness, as we construct from outside inwards.
869
- vessel_radius = 254 .*CLHEP::mm;
867
+ mPMT_vessel_cyl_height = 38 .*CLHEP::mm; // option A, option B would be 277 mm
868
+ mPMT_vessel_radius_curv = 342 .*CLHEP::mm; // needs to include the vessel thickness, as we construct from outside inwards.
869
+ mPMT_vessel_radius = 254 .*CLHEP::mm;
870
870
dist_pmt_vessel = 8 *CLHEP::mm;
871
871
orientation = PERPENDICULAR;
872
872
mPMT_outer_material = " G4_PLEXIGLASS" ;
@@ -879,7 +879,7 @@ void WCSimDetectorConstruction::SetNuPrismShort_mPMTGeometry()
879
879
id_reflector_z_offset = 6.12 *CLHEP::mm;
880
880
id_reflector_angle = 46.5 *CLHEP::deg;
881
881
mPMT_pmt_openingAngle = 8.3 *CLHEP::deg;
882
- G4double vessel_tot_height = vessel_radius + vessel_cyl_height ;
882
+ G4double mPMT_vessel_tot_height = mPMT_vessel_radius + mPMT_vessel_cyl_height ;
883
883
884
884
// parameters related to filling the ID mPMT
885
885
nID_PMTs = 19 ;
@@ -889,7 +889,7 @@ void WCSimDetectorConstruction::SetNuPrismShort_mPMTGeometry()
889
889
WCIDDiameter = 8.0 *CLHEP::m;
890
890
WCIDVerticalPosition = 0 .;
891
891
892
- WCBarrelPMTOffset = vessel_tot_height ;
892
+ WCBarrelPMTOffset = mPMT_vessel_tot_height ;
893
893
WCPMTperCellHorizontal = 1.0 ;
894
894
WCPMTperCellVertical = 1.0 ;
895
895
@@ -918,9 +918,9 @@ void WCSimDetectorConstruction::SetTestSinglemPMTGeometry()
918
918
WCPMTRadius = PMT->GetRadius ();
919
919
920
920
// mPMT params
921
- vessel_cyl_height = 38 .*CLHEP::mm;
922
- vessel_radius_curv = 300 .*CLHEP::mm;
923
- vessel_radius = 254 .*CLHEP::mm;
921
+ mPMT_vessel_cyl_height = 38 .*CLHEP::mm;
922
+ mPMT_vessel_radius_curv = 300 .*CLHEP::mm;
923
+ mPMT_vessel_radius = 254 .*CLHEP::mm;
924
924
dist_pmt_vessel = 8 *CLHEP::mm;
925
925
orientation = PERPENDICULAR;
926
926
mPMT_outer_material = " G4_PLEXIGLASS" ;
@@ -934,20 +934,20 @@ void WCSimDetectorConstruction::SetTestSinglemPMTGeometry()
934
934
mPMT_pmt_openingAngle = 8.3 *CLHEP::deg;
935
935
936
936
// BarrelPMTOffset/WCCapEdgeLimit needs PMT/mPMT height
937
- G4double vessel_tot_height = vessel_radius + vessel_cyl_height ;
937
+ G4double mPMT_vessel_tot_height = mPMT_vessel_radius + mPMT_vessel_cyl_height ;
938
938
// parameters related to filling the ID mPMT
939
939
nID_PMTs = 33 ;
940
940
config_file = wcsimdir_path+" /mPMT-configfiles/mPMTconfig_33_13_1.txt" ;
941
941
942
942
WCIDDiameter = 10.0 *m;
943
943
WCIDHeight = 30.0 *m;
944
- WCBarrelPMTOffset = vessel_tot_height ;
944
+ WCBarrelPMTOffset = mPMT_vessel_tot_height ;
945
945
WCBarrelNumPMTHorizontal = 3 ;
946
946
WCBarrelNRings = 3 ;
947
947
WCPMTperCellHorizontal = 1 ;
948
948
WCPMTperCellVertical = 1 ;
949
949
WCPMTPercentCoverage = 10 .;
950
- WCCapEdgeLimit = WCIDDiameter/2.0 - vessel_tot_height ;
950
+ WCCapEdgeLimit = WCIDDiameter/2.0 - mPMT_vessel_tot_height ;
951
951
WCCapPMTSpacing = WCIDDiameter*2.0 ;
952
952
WCBlackSheetThickness = 2.0 *cm;
953
953
WCAddGd = false ;
@@ -968,19 +968,19 @@ void WCSimDetectorConstruction::Cylinder_60x74_3inchmPMT_14perCent()
968
968
969
969
970
970
// mPMT params go first because detector depends on it:
971
- vessel_cyl_height = 0 .*CLHEP::mm; // the 50mm should exist only for OD and extends behind the iD wall
972
- vessel_radius_curv = 270 .*CLHEP::mm;
973
- vessel_radius = 270 .*CLHEP::mm;
971
+ mPMT_vessel_cyl_height = 0 .*CLHEP::mm; // the 50mm should exist only for OD and extends behind the iD wall
972
+ mPMT_vessel_radius_curv = 270 .*CLHEP::mm;
973
+ mPMT_vessel_radius = 270 .*CLHEP::mm;
974
974
dist_pmt_vessel = 5 *CLHEP::mm;
975
975
orientation = PERPENDICULAR;
976
976
mPMT_outer_material = " G4_PLEXIGLASS" ;
977
977
mPMT_inner_material = " SilGel" ;
978
- mPMT_outer_material_d = 0.03 *2 * vessel_radius *CLHEP::mm; // using NEMO article safety margin of 0.03 for t/D
978
+ mPMT_outer_material_d = 0.03 *2 * mPMT_vessel_radius *CLHEP::mm; // using NEMO article safety margin of 0.03 for t/D
979
979
// Radius of cone at z=reflectorHeight
980
980
id_reflector_height = 7.5 *CLHEP::mm; // 7.5mm from KM3Net JINST
981
981
id_reflector_z_offset = 1.1 *CLHEP::mm; // from KM3Net CAD drawings
982
982
id_reflector_angle = CLHEP::pi /4 *CLHEP::rad; // Based on KM3Net JINST: 45 deg wrt normal, so 7.5mm xtra
983
- G4double vessel_tot_height = vessel_radius + vessel_cyl_height ;
983
+ G4double mPMT_vessel_tot_height = mPMT_vessel_radius + mPMT_vessel_cyl_height ;
984
984
985
985
// parameters related to filling the ID mPMT
986
986
nID_PMTs = 33 ;
@@ -993,7 +993,7 @@ void WCSimDetectorConstruction::Cylinder_60x74_3inchmPMT_14perCent()
993
993
// WCBarrelPMTOffset does not change total No. of modules, so use actual outer_module_radius.
994
994
WCIDDiameter = 74.0 *m;
995
995
WCIDHeight = 60.0 *m;
996
- WCBarrelPMTOffset = vessel_tot_height ; // mPMT cylinder Radius //WCPMTRadius; //offset from vertical
996
+ WCBarrelPMTOffset = mPMT_vessel_tot_height ; // mPMT cylinder Radius //WCPMTRadius; //offset from vertical
997
997
WCPMTperCellHorizontal= 4 ;
998
998
WCPMTperCellVertical = 3 ;
999
999
WCPMTPercentCoverage = 13.51 ;
@@ -1021,19 +1021,19 @@ void WCSimDetectorConstruction::Cylinder_60x74_3inchmPMT_40perCent()
1021
1021
WCPMTRadius = 0.254 *m;
1022
1022
1023
1023
// mPMT params:
1024
- vessel_cyl_height = 0 .*CLHEP::mm; // the 50mm should exist only for OD and extends behind the iD wall
1025
- vessel_radius_curv = 280 .*CLHEP::mm;
1026
- vessel_radius = 280 .*CLHEP::mm;
1024
+ mPMT_vessel_cyl_height = 0 .*CLHEP::mm; // the 50mm should exist only for OD and extends behind the iD wall
1025
+ mPMT_vessel_radius_curv = 280 .*CLHEP::mm;
1026
+ mPMT_vessel_radius = 280 .*CLHEP::mm;
1027
1027
dist_pmt_vessel = 5 *CLHEP::mm;
1028
1028
orientation = PERPENDICULAR;
1029
1029
mPMT_outer_material = " G4_PLEXIGLASS" ;
1030
1030
mPMT_inner_material = " SilGel" ;
1031
- mPMT_outer_material_d = 0.03 *2 *vessel_radius *CLHEP::mm; // using NEMO article safety margin of 0.03 for t/D
1031
+ mPMT_outer_material_d = 0.03 *2 *mPMT_vessel_radius *CLHEP::mm; // using NEMO article safety margin of 0.03 for t/D
1032
1032
// Radius of cone at z=reflectorHeight
1033
1033
id_reflector_height = 7.5 *CLHEP::mm; // 7.5mm from KM3Net JINST
1034
1034
id_reflector_z_offset = 1.1 *CLHEP::mm; // from KM3Net CAD drawings
1035
1035
id_reflector_angle = CLHEP::pi /4 *CLHEP::rad; // Based on KM3Net JINST: 45 deg wrt normal, so 7.5mm xtra
1036
- G4double vessel_tot_height = vessel_radius + vessel_cyl_height ;
1036
+ G4double mPMT_vessel_tot_height = mPMT_vessel_radius + mPMT_vessel_cyl_height ;
1037
1037
1038
1038
// parameters related to filling the ID mPMT
1039
1039
nID_PMTs = 34 ;
@@ -1042,7 +1042,7 @@ void WCSimDetectorConstruction::Cylinder_60x74_3inchmPMT_40perCent()
1042
1042
1043
1043
WCIDDiameter = 74.0 *m;
1044
1044
WCIDHeight = 60.0 *m;
1045
- WCBarrelPMTOffset = vessel_tot_height ; // mPMT cylinder Radius //WCPMTRadius; //offset from vertical
1045
+ WCBarrelPMTOffset = mPMT_vessel_tot_height ; // mPMT cylinder Radius //WCPMTRadius; //offset from vertical
1046
1046
WCPMTperCellHorizontal= 4 ;
1047
1047
WCPMTperCellVertical = 3 ;
1048
1048
WCPMTPercentCoverage = 40.0 ;
@@ -1112,9 +1112,9 @@ void WCSimDetectorConstruction::Cylinder_60x74_3inch_40perCent()
1112
1112
1113
1113
void WCSimDetectorConstruction::InitSinglePMT (){
1114
1114
1115
- vessel_cyl_height = 0 .*mm;
1116
- vessel_radius_curv = 0.1 *mm;
1117
- vessel_radius = 0.1 *mm;
1115
+ mPMT_vessel_cyl_height = 0 .*mm;
1116
+ mPMT_vessel_radius_curv = 0.1 *mm;
1117
+ mPMT_vessel_radius = 0.1 *mm;
1118
1118
dist_pmt_vessel = 0 .*mm;
1119
1119
orientation = PERPENDICULAR;
1120
1120
mPMT_ID_PMT = " " ;
0 commit comments