Skip to content

Commit dbd9542

Browse files
authored
Update Beam pipe in ITS2 (#68)
-Update ITS2 LUT maker - Format ITS3 LUT maker
1 parent 623dffe commit dbd9542

2 files changed

Lines changed: 50 additions & 37 deletions

File tree

src/lutWrite.its2.cc

Lines changed: 33 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,39 @@
55

66
#include "lutWrite.cc"
77

8-
void fatInit_its2(float field = 0.5, float rmin = 100.) {
8+
void fatInit_its2(float field = 0.5, float rmin = 100.)
9+
{
910
fat.SetBField(field);
1011
fat.SetdNdEtaCent(400.);
1112

12-
fat.AddLayer((char *)"bpipe", 2.0, 0.0022); // beam pipe
13-
fat.AddLayer((char *)"vertex", 0, 0); // dummy vertex for matrix calculation
14-
15-
// new ideal Pixel properties?
16-
Double_t x0IB = 0.0035; // X/X0 of the inner barrel (first three layers)
17-
Double_t x0OB = 0.008; // X/X0 of the outer barrel
18-
Double_t resRPhi = 0.0006;
19-
Double_t resZ = 0.0006;
20-
Double_t eff = 0.98;
21-
Double_t xrhoIB = 1.1646e-02; // Surface density for 50 mum thick Si
22-
Double_t xrhoOB = 1.1646e-01; // Surface density for 500 mum thick Si
23-
24-
fat.AddLayer((char *)"ddd1", 2.3, x0IB, xrhoIB, resRPhi, resZ, eff);
25-
fat.AddLayer((char *)"ddd2", 3.1, x0IB, xrhoIB, resRPhi, resZ, eff);
26-
fat.AddLayer((char *)"ddd3", 3.9, x0IB, xrhoIB, resRPhi, resZ, eff);
27-
fat.AddLayer((char *)"ddd4", 19.4, x0OB, xrhoOB, resRPhi, resZ, eff);
28-
fat.AddLayer((char *)"ddd5", 24.7, x0OB, xrhoOB, resRPhi, resZ, eff);
29-
fat.AddLayer((char *)"ddd6", 35.3, x0OB, xrhoOB, resRPhi, resZ, eff);
30-
fat.AddLayer((char *)"ddd7", 40.5, x0OB, xrhoOB, resRPhi, resZ, eff);
13+
const Double_t x0BP = 0.00224; // 800 mum Be
14+
const Double_t xrhoBP = 1.4784e-1; // 800 mum Be
15+
16+
fat.AddLayer((char*)"vertex", 0, 0); // dummy vertex for matrix calculation
17+
fat.AddLayer((char*)"bpipe", 1.98, x0BP, xrhoBP); // beam pipe
18+
19+
// X/X0 of the inner barrel, values taken from the TDR of ITS upgrade
20+
const Double_t x0IB = 0.0035; // X/X0 of the inner barrel (first three layers)
21+
// X/X0 of the outer barrel, values taken from the TDR of ITS upgrade
22+
const Double_t x0OB = 0.008; // X/X0 of the outer barrel
23+
// Resolution in Rphi values taken from A. Kalweit (table presented at the
24+
// Physics Forum on 24th Feb. 2021) the value is in the middle of 15 and 30
25+
// micron pitch
26+
const Double_t resRPhi = 0.0006;
27+
// Resolution in Z, values taken from A. Kalweit (table presented at the
28+
// Physics Forum on 24th Feb. 2021) the value is in the middle of 15 and 30
29+
// micron pitch
30+
const Double_t resZ = 0.0006;
31+
const Double_t eff = 0.98; // Efficiency (lower limit)
32+
const Double_t xrhoIBOB = 1.1646e-01; // Surface density for 500 mum thick Si
33+
34+
fat.AddLayer((char*)"il0", 2.3, x0IB, xrhoIBOB, resRPhi, resZ, eff);
35+
fat.AddLayer((char*)"il1", 3.1, x0IB, xrhoIBOB, resRPhi, resZ, eff);
36+
fat.AddLayer((char*)"il2", 3.9, x0IB, xrhoIBOB, resRPhi, resZ, eff);
37+
fat.AddLayer((char*)"ml3", 19.4, x0OB, xrhoIBOB, resRPhi, resZ, eff);
38+
fat.AddLayer((char*)"ml4", 24.7, x0OB, xrhoIBOB, resRPhi, resZ, eff);
39+
fat.AddLayer((char*)"ol5", 35.3, x0OB, xrhoIBOB, resRPhi, resZ, eff);
40+
fat.AddLayer((char*)"ol6", 40.5, x0OB, xrhoIBOB, resRPhi, resZ, eff);
3141

3242
fat.AddTPC(0.1, 0.1); // TPC
3343
fat.SetAtLeastHits(4);
@@ -39,8 +49,9 @@ void fatInit_its2(float field = 0.5, float rmin = 100.) {
3949
fat.PrintLayout();
4050
}
4151

42-
void lutWrite_its2(const char *filename = "lutCovm.dat", int pdg = 211,
43-
float field = 0.2, float rmin = 20.) {
52+
void lutWrite_its2(const char* filename = "lutCovm.dat", int pdg = 211,
53+
float field = 0.2, float rmin = 20.)
54+
{
4455

4556
// init FAT
4657
fatInit_its2(field, rmin);

src/lutWrite.its3.cc

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,17 @@ const bool add_foam = true;
1010
// Puts foam spacers mid-way betwen layers
1111
const bool foam_middle = false;
1212

13-
void fatInit_its3(float field = 0.5, float rmin = 100.) {
13+
void fatInit_its3(float field = 0.5, float rmin = 100.)
14+
{
1415
fat.SetBField(field);
1516
fat.SetdNdEtaCent(400.);
1617

1718
const Double_t x0BP = 0.0014; // 500 mum Be
1819
const Double_t xrhoBP = 9.24e-02; // 500 mum Be
1920

2021
// dummy vertex for matrix calculation
21-
fat.AddLayer((char *)"vertex", 0.0, 0, 0);
22-
fat.AddLayer((char *)"bpipe", 1.625, x0BP, xrhoBP); // 500 mum Be beam pipe
22+
fat.AddLayer((char*)"vertex", 0.0, 0, 0);
23+
fat.AddLayer((char*)"bpipe", 1.625, x0BP, xrhoBP); // 500 mum Be beam pipe
2324

2425
// X/X0 of the inner barrel first three layers), values taken from the LOI of
2526
// the ITS3
@@ -41,26 +42,26 @@ void fatInit_its3(float field = 0.5, float rmin = 100.) {
4142
const Double_t x0Foam = 0.0008; // X0 ~710cm for 0.6cm thick foam
4243
float foam_radius = 9.370 * x0IB; // width of a chip
4344

44-
fat.AddLayer((char *)"ddd1", 1.8, x0IB, xrhoIB, resRPhi, resZ, eff);
45+
fat.AddLayer((char*)"ddd1", 1.8, x0IB, xrhoIB, resRPhi, resZ, eff);
4546
if (foam_middle)
4647
foam_radius = (2.4 - 1.8) / 2;
4748
if (add_foam)
48-
fat.AddLayer((char *)"foam1", 1.8 + foam_radius, x0Foam); // Foam spacer
49-
fat.AddLayer((char *)"ddd2", 2.4, x0IB, xrhoIB, resRPhi, resZ, eff);
49+
fat.AddLayer((char*)"foam1", 1.8 + foam_radius, x0Foam); // Foam spacer
50+
fat.AddLayer((char*)"ddd2", 2.4, x0IB, xrhoIB, resRPhi, resZ, eff);
5051
if (foam_middle)
5152
foam_radius = (3.0 - 2.4) / 2;
5253
if (add_foam)
53-
fat.AddLayer((char *)"foam2", 2.4 + foam_radius, x0Foam); // Foam spacer
54-
fat.AddLayer((char *)"ddd3", 3.0, x0IB, xrhoIB, resRPhi, resZ, eff);
54+
fat.AddLayer((char*)"foam2", 2.4 + foam_radius, x0Foam); // Foam spacer
55+
fat.AddLayer((char*)"ddd3", 3.0, x0IB, xrhoIB, resRPhi, resZ, eff);
5556
if (foam_middle)
5657
foam_radius = (19.4 - 3.0) / 2;
5758
if (add_foam)
58-
fat.AddLayer((char *)"foam3", 3.0 + foam_radius, x0Foam); // Foam spacer
59+
fat.AddLayer((char*)"foam3", 3.0 + foam_radius, x0Foam); // Foam spacer
5960
// Structural cylinder?
60-
fat.AddLayer((char *)"ddd4", 19.4, x0OB, xrhoOB, resRPhi, resZ, eff);
61-
fat.AddLayer((char *)"ddd5", 24.7, x0OB, xrhoOB, resRPhi, resZ, eff);
62-
fat.AddLayer((char *)"ddd6", 35.3, x0OB, xrhoOB, resRPhi, resZ, eff);
63-
fat.AddLayer((char *)"ddd7", 40.5, x0OB, xrhoOB, resRPhi, resZ, eff);
61+
fat.AddLayer((char*)"ddd4", 19.4, x0OB, xrhoOB, resRPhi, resZ, eff);
62+
fat.AddLayer((char*)"ddd5", 24.7, x0OB, xrhoOB, resRPhi, resZ, eff);
63+
fat.AddLayer((char*)"ddd6", 35.3, x0OB, xrhoOB, resRPhi, resZ, eff);
64+
fat.AddLayer((char*)"ddd7", 40.5, x0OB, xrhoOB, resRPhi, resZ, eff);
6465

6566
fat.AddTPC(0.1, 0.1); // TPC
6667
fat.SetAtLeastHits(4);
@@ -72,8 +73,9 @@ void fatInit_its3(float field = 0.5, float rmin = 100.) {
7273
fat.PrintLayout();
7374
}
7475

75-
void lutWrite_its3(const char *filename = "lutCovm.dat", int pdg = 211,
76-
float field = 0.2, float rmin = 20.) {
76+
void lutWrite_its3(const char* filename = "lutCovm.dat", int pdg = 211,
77+
float field = 0.2, float rmin = 20.)
78+
{
7779

7880
// init FAT
7981
fatInit_its3(field, rmin);

0 commit comments

Comments
 (0)