ATLAS Offline Software
AFP_constants.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef AFP_CONSTANTS_H
6 #define AFP_CONSTANTS_H 1
7 
8 #include "CLHEP/Units/defs.h"
9 #include "CLHEP/Units/SystemOfUnits.h"
10 
11 //#define USE_TDLBARS 1
12 
13 struct AFP_CONSTANTS {
14  static constexpr int Stat_GlobalVacuumSensorID=11;
15  static constexpr double Stat_GlobalVacuumSensorThickness=0.0001*CLHEP::mm;
16  static constexpr double Stat_GlobalVacuumSensorZOffset=275.0*CLHEP::mm;
17 
18  static constexpr double SiT_Plate_amount=4;
19  static constexpr double SiT_DistanceToFloor=0.4*CLHEP::mm;
20  static constexpr double SiT_NearDistanceToFloor=0.4*CLHEP::mm;
21  static constexpr double SiT_FarDistanceToFloor=0.3*CLHEP::mm;
22  static constexpr double SiT_ZDistanceInRPot=20.0*CLHEP::mm;
23  static constexpr double SiT_CorrZOffset=5.0*CLHEP::mm;
24 
25  static constexpr double SiT_Plate_Main_length_x=47.5*CLHEP::mm;
26  static constexpr double SiT_Plate_Main_length_y=58.0*CLHEP::mm;
27  static constexpr double SiT_Plate_Main_thickness=1.0*CLHEP::mm;
28 
29  static constexpr double SiT_Plate_Window_length_x=18.0*CLHEP::mm;
30  static constexpr double SiT_Plate_Window_length_y=20.0*CLHEP::mm;
31  static constexpr double SiT_Plate_Window_thickness=0.5*CLHEP::mm;
32 
33  static constexpr double SiT_Plate_Window_x=+14.75*CLHEP::mm;
34  static constexpr double SiT_Plate_Window_y=0.0*CLHEP::mm;
35 
36  static constexpr double SiT_Plate_CutEdge_length_x=28.0*CLHEP::mm;
37  static constexpr double SiT_Plate_CutEdge_length_y=14.0*CLHEP::mm;
38  static constexpr double SiT_Plate_CutEdge_thickness=1.0*CLHEP::mm;
39 
40  static constexpr double SiT_Plate_CutEdge_x1=0.0*CLHEP::mm; //TO BE DEFINED
41  static constexpr double SiT_Plate_CutEdge_y1=0.0*CLHEP::mm; //TO BE DEFINED
42  static constexpr double SiT_Plate_CutEdge_x2=0.0*CLHEP::mm; //TO BE DEFINED
43  static constexpr double SiT_Plate_CutEdge_y2=0.0*CLHEP::mm; //TO BE DEFINED
44 
45  static constexpr double SiT_Plate_zsep=9.0*CLHEP::mm;
46  static constexpr double SiT_Plate_rot_xz=14.0*CLHEP::deg;
47 
48  static constexpr double SiT_Chip_length_x=18.8*CLHEP::mm;
49  static constexpr double SiT_Chip_length_y=20.2*CLHEP::mm;
50  static constexpr double SiT_Chip_thickness=0.7*CLHEP::mm;
51 
52  static constexpr double SiT_Chip_x=0.5*(SiT_Plate_Main_length_x-SiT_Chip_length_x);
53  static constexpr double SiT_Chip_y=0.0*CLHEP::mm;
54  static constexpr double SiT_Chip_rot=0.0*CLHEP::deg;
55 
56  static constexpr double SiT_Pixel_amount_x=336;
57  static constexpr double SiT_Pixel_amount_y=80;
58  static constexpr double SiT_Pixel_length_x=0.050*CLHEP::mm;
59  static constexpr double SiT_Pixel_length_y=0.250*CLHEP::mm;
60  static constexpr double SiT_Pixel_thickness=0.23*CLHEP::mm;
63 
64  static constexpr double SiT_Pixel_x=0.5*(SiT_Chip_length_x-SiT_Pixel_length_totx);
65  static constexpr double SiT_Pixel_y=0.0*CLHEP::mm;
66 
67  static constexpr double SiT_DeathEdge=0.0*CLHEP::mm;
68  static constexpr double SiT_LowerEdge=0.1*CLHEP::mm;
69 
70  static constexpr double ToF_MinBarGap=0.02*CLHEP::mm;
71  static constexpr double ToF_Sensor2BarDist=0.001*CLHEP::mm;
72  static constexpr double ToF_LGuideTrainOffset=0.1*CLHEP::mm;
73  static constexpr double ToF_SensorCentreXPos=-31.502*CLHEP::mm;
74  static constexpr double ToF_SensorCentreZPos=45.017*CLHEP::mm;
75  static constexpr double ToF_HolderPinXPos=-38.304*CLHEP::mm;
76  static constexpr double ToF_HolderPinZPos=47.137*CLHEP::mm;
77  static constexpr double ToF_DistanceToFloor=0.200*CLHEP::mm;
78  static constexpr double ToF_SeparationWindowDiameter=54.5*CLHEP::mm;
79  static constexpr double ToF_SeparationWindowThickness=2.9*CLHEP::mm;
80 
81  static constexpr double ToF_TrainsCnt=4;
82  static constexpr double ToF_ColumnsCnt=4;
83  static constexpr double ToF_NominalSlope=48*CLHEP::deg;
84  static constexpr double ToF_SensorThickness=0.050*CLHEP::mm;
85 
86  static constexpr double Stat_InnerZDistance=205.217*CLHEP::m; //204.500*CLHEP::m
87  static constexpr double Stat_OuterZDistance=217.302*CLHEP::m; //212.675*CLHEP::m
88  static constexpr double Stat_ShiftInYAxis=0.0*CLHEP::mm;
89  static constexpr double Stat_RPotFloorDistance=1.5*CLHEP::mm;
90 };
91 
92 #define DETXSIDE (-1)
93 // #define LHCXOFFSET (-97.0*CLHEP::mm)
94 #define LHCXOFFSET (0.0*CLHEP::mm)
95 
96 
97 #endif //AFP_CONSTANTS_H
AFP_CONSTANTS::ToF_SensorCentreZPos
static constexpr double ToF_SensorCentreZPos
Definition: AFP_constants.h:74
AFP_CONSTANTS::Stat_ShiftInYAxis
static constexpr double Stat_ShiftInYAxis
Definition: AFP_constants.h:88
AFP_CONSTANTS::Stat_InnerZDistance
static constexpr double Stat_InnerZDistance
Definition: AFP_constants.h:86
AFP_CONSTANTS::ToF_DistanceToFloor
static constexpr double ToF_DistanceToFloor
Definition: AFP_constants.h:77
AFP_CONSTANTS::SiT_Pixel_length_x
static constexpr double SiT_Pixel_length_x
Definition: AFP_constants.h:58
AFP_CONSTANTS::SiT_Chip_y
static constexpr double SiT_Chip_y
Definition: AFP_constants.h:53
AFP_CONSTANTS::ToF_HolderPinZPos
static constexpr double ToF_HolderPinZPos
Definition: AFP_constants.h:76
AFP_CONSTANTS::SiT_NearDistanceToFloor
static constexpr double SiT_NearDistanceToFloor
Definition: AFP_constants.h:20
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
AFP_CONSTANTS::SiT_Chip_length_y
static constexpr double SiT_Chip_length_y
Definition: AFP_constants.h:49
AFP_CONSTANTS::SiT_FarDistanceToFloor
static constexpr double SiT_FarDistanceToFloor
Definition: AFP_constants.h:21
AFP_CONSTANTS::SiT_Pixel_length_y
static constexpr double SiT_Pixel_length_y
Definition: AFP_constants.h:59
AFP_CONSTANTS
Definition: AFP_constants.h:13
AFP_CONSTANTS::ToF_SeparationWindowThickness
static constexpr double ToF_SeparationWindowThickness
Definition: AFP_constants.h:79
deg
#define deg
Definition: SbPolyhedron.cxx:17
AFP_CONSTANTS::SiT_LowerEdge
static constexpr double SiT_LowerEdge
Definition: AFP_constants.h:68
AFP_CONSTANTS::ToF_SensorThickness
static constexpr double ToF_SensorThickness
Definition: AFP_constants.h:84
AFP_CONSTANTS::SiT_Pixel_x
static constexpr double SiT_Pixel_x
Definition: AFP_constants.h:64
AFP_CONSTANTS::SiT_Plate_zsep
static constexpr double SiT_Plate_zsep
Definition: AFP_constants.h:45
AFP_CONSTANTS::SiT_Plate_CutEdge_y2
static constexpr double SiT_Plate_CutEdge_y2
Definition: AFP_constants.h:43
AFP_CONSTANTS::SiT_Plate_amount
static constexpr double SiT_Plate_amount
Definition: AFP_constants.h:18
AFP_CONSTANTS::Stat_GlobalVacuumSensorThickness
static constexpr double Stat_GlobalVacuumSensorThickness
Definition: AFP_constants.h:15
AFP_CONSTANTS::ToF_Sensor2BarDist
static constexpr double ToF_Sensor2BarDist
Definition: AFP_constants.h:71
AFP_CONSTANTS::SiT_Pixel_y
static constexpr double SiT_Pixel_y
Definition: AFP_constants.h:65
AFP_CONSTANTS::SiT_DistanceToFloor
static constexpr double SiT_DistanceToFloor
Definition: AFP_constants.h:19
AFP_CONSTANTS::SiT_Chip_length_x
static constexpr double SiT_Chip_length_x
Definition: AFP_constants.h:48
AFP_CONSTANTS::SiT_Chip_rot
static constexpr double SiT_Chip_rot
Definition: AFP_constants.h:54
AFP_CONSTANTS::ToF_TrainsCnt
static constexpr double ToF_TrainsCnt
Definition: AFP_constants.h:81
AFP_CONSTANTS::SiT_Plate_rot_xz
static constexpr double SiT_Plate_rot_xz
Definition: AFP_constants.h:46
AFP_CONSTANTS::SiT_Plate_CutEdge_thickness
static constexpr double SiT_Plate_CutEdge_thickness
Definition: AFP_constants.h:38
AFP_CONSTANTS::Stat_OuterZDistance
static constexpr double Stat_OuterZDistance
Definition: AFP_constants.h:87
AFP_CONSTANTS::ToF_HolderPinXPos
static constexpr double ToF_HolderPinXPos
Definition: AFP_constants.h:75
AFP_CONSTANTS::SiT_Plate_Window_length_y
static constexpr double SiT_Plate_Window_length_y
Definition: AFP_constants.h:30
AFP_CONSTANTS::SiT_Plate_CutEdge_length_y
static constexpr double SiT_Plate_CutEdge_length_y
Definition: AFP_constants.h:37
AFP_CONSTANTS::Stat_GlobalVacuumSensorZOffset
static constexpr double Stat_GlobalVacuumSensorZOffset
Definition: AFP_constants.h:16
AFP_CONSTANTS::Stat_GlobalVacuumSensorID
static constexpr int Stat_GlobalVacuumSensorID
Definition: AFP_constants.h:14
AFP_CONSTANTS::SiT_Plate_CutEdge_x1
static constexpr double SiT_Plate_CutEdge_x1
Definition: AFP_constants.h:40
AFP_CONSTANTS::ToF_NominalSlope
static constexpr double ToF_NominalSlope
Definition: AFP_constants.h:83
AFP_CONSTANTS::SiT_Plate_CutEdge_length_x
static constexpr double SiT_Plate_CutEdge_length_x
Definition: AFP_constants.h:36
AFP_CONSTANTS::SiT_Chip_thickness
static constexpr double SiT_Chip_thickness
Definition: AFP_constants.h:50
AFP_CONSTANTS::Stat_RPotFloorDistance
static constexpr double Stat_RPotFloorDistance
Definition: AFP_constants.h:89
AFP_CONSTANTS::SiT_Plate_Main_length_x
static constexpr double SiT_Plate_Main_length_x
Definition: AFP_constants.h:25
AFP_CONSTANTS::SiT_Plate_Window_thickness
static constexpr double SiT_Plate_Window_thickness
Definition: AFP_constants.h:31
AFP_CONSTANTS::SiT_Plate_CutEdge_x2
static constexpr double SiT_Plate_CutEdge_x2
Definition: AFP_constants.h:42
AFP_CONSTANTS::SiT_Chip_x
static constexpr double SiT_Chip_x
Definition: AFP_constants.h:52
AFP_CONSTANTS::ToF_SeparationWindowDiameter
static constexpr double ToF_SeparationWindowDiameter
Definition: AFP_constants.h:78
AFP_CONSTANTS::ToF_SensorCentreXPos
static constexpr double ToF_SensorCentreXPos
Definition: AFP_constants.h:73
AFP_CONSTANTS::SiT_Plate_Window_y
static constexpr double SiT_Plate_Window_y
Definition: AFP_constants.h:34
AFP_CONSTANTS::SiT_Pixel_amount_x
static constexpr double SiT_Pixel_amount_x
Definition: AFP_constants.h:56
AFP_CONSTANTS::SiT_DeathEdge
static constexpr double SiT_DeathEdge
Definition: AFP_constants.h:67
python.SystemOfUnits.mm
int mm
Definition: SystemOfUnits.py:83
AFP_CONSTANTS::SiT_Plate_CutEdge_y1
static constexpr double SiT_Plate_CutEdge_y1
Definition: AFP_constants.h:41
AFP_CONSTANTS::ToF_ColumnsCnt
static constexpr double ToF_ColumnsCnt
Definition: AFP_constants.h:82
AFP_CONSTANTS::SiT_Plate_Main_length_y
static constexpr double SiT_Plate_Main_length_y
Definition: AFP_constants.h:26
AFP_CONSTANTS::SiT_Plate_Window_x
static constexpr double SiT_Plate_Window_x
Definition: AFP_constants.h:33
AFP_CONSTANTS::SiT_Pixel_thickness
static constexpr double SiT_Pixel_thickness
Definition: AFP_constants.h:60
AFP_CONSTANTS::SiT_Plate_Main_thickness
static constexpr double SiT_Plate_Main_thickness
Definition: AFP_constants.h:27
AFP_CONSTANTS::ToF_MinBarGap
static constexpr double ToF_MinBarGap
Definition: AFP_constants.h:70
AFP_CONSTANTS::SiT_Plate_Window_length_x
static constexpr double SiT_Plate_Window_length_x
Definition: AFP_constants.h:29
AFP_CONSTANTS::SiT_Pixel_amount_y
static constexpr double SiT_Pixel_amount_y
Definition: AFP_constants.h:57
AFP_CONSTANTS::SiT_Pixel_length_toty
static constexpr double SiT_Pixel_length_toty
Definition: AFP_constants.h:62
AFP_CONSTANTS::SiT_ZDistanceInRPot
static constexpr double SiT_ZDistanceInRPot
Definition: AFP_constants.h:22
AFP_CONSTANTS::SiT_Pixel_length_totx
static constexpr double SiT_Pixel_length_totx
Definition: AFP_constants.h:61
AFP_CONSTANTS::SiT_CorrZOffset
static constexpr double SiT_CorrZOffset
Definition: AFP_constants.h:23
AFP_CONSTANTS::ToF_LGuideTrainOffset
static constexpr double ToF_LGuideTrainOffset
Definition: AFP_constants.h:72