ATLAS Offline Software
Loading...
Searching...
No Matches
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
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
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
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
static constexpr double ToF_TrainsCnt
static constexpr double SiT_Pixel_x
static constexpr double SiT_Plate_Window_length_y
static constexpr double SiT_Pixel_amount_y
static constexpr double Stat_OuterZDistance
static constexpr double SiT_Pixel_length_totx
static constexpr double SiT_Chip_x
static constexpr double SiT_FarDistanceToFloor
static constexpr double ToF_HolderPinXPos
static constexpr double SiT_Pixel_y
static constexpr double ToF_SensorCentreZPos
static constexpr double SiT_Plate_Main_thickness
static constexpr double SiT_Chip_rot
static constexpr double SiT_Plate_Main_length_y
static constexpr double SiT_Plate_CutEdge_length_x
static constexpr double SiT_Plate_CutEdge_y1
static constexpr double Stat_GlobalVacuumSensorThickness
static constexpr double Stat_ShiftInYAxis
static constexpr double ToF_NominalSlope
static constexpr double SiT_Plate_rot_xz
static constexpr int Stat_GlobalVacuumSensorID
static constexpr double ToF_SensorThickness
static constexpr double SiT_DistanceToFloor
static constexpr double SiT_Plate_zsep
static constexpr double SiT_Pixel_length_toty
static constexpr double Stat_InnerZDistance
static constexpr double SiT_Plate_Window_thickness
static constexpr double ToF_SeparationWindowThickness
static constexpr double SiT_CorrZOffset
static constexpr double SiT_Pixel_length_x
static constexpr double SiT_LowerEdge
static constexpr double SiT_Chip_thickness
static constexpr double ToF_DistanceToFloor
static constexpr double SiT_Plate_CutEdge_y2
static constexpr double SiT_Plate_Window_length_x
static constexpr double ToF_SeparationWindowDiameter
static constexpr double SiT_Pixel_thickness
static constexpr double ToF_LGuideTrainOffset
static constexpr double SiT_Plate_CutEdge_thickness
static constexpr double SiT_Plate_Window_x
static constexpr double SiT_Pixel_length_y
static constexpr double ToF_HolderPinZPos
static constexpr double ToF_SensorCentreXPos
static constexpr double SiT_ZDistanceInRPot
static constexpr double SiT_Chip_length_y
static constexpr double SiT_Plate_amount
static constexpr double ToF_MinBarGap
static constexpr double Stat_GlobalVacuumSensorZOffset
static constexpr double SiT_Chip_y
static constexpr double SiT_Plate_CutEdge_length_y
static constexpr double Stat_RPotFloorDistance
static constexpr double ToF_Sensor2BarDist
static constexpr double SiT_Chip_length_x
static constexpr double SiT_DeathEdge
static constexpr double SiT_Plate_Main_length_x
static constexpr double SiT_Plate_Window_y
static constexpr double SiT_Pixel_amount_x
static constexpr double SiT_Plate_CutEdge_x1
static constexpr double ToF_ColumnsCnt
static constexpr double SiT_NearDistanceToFloor
static constexpr double SiT_Plate_CutEdge_x2