Skip to content

Commit 73a4a13

Browse files
authored
Add LUT maker for ITS1,2,3 (#26)
* Add Proto-LUT maker for ITS1,2,3 * Add carbon foam to the ITS3
1 parent fd897cb commit 73a4a13

File tree

3 files changed

+128
-0
lines changed

3 files changed

+128
-0
lines changed

src/lutWrite.its1.cc

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
/// @author Nicolo' Jacazio
2+
/// @email: [email protected]
3+
/// @since 30/10/2020
4+
/// @file lutWrite.its1.cc
5+
6+
#include "lutWrite.cc"
7+
8+
void fatInit_its1(float field = 0.5, float rmin = 100.) {
9+
10+
fat.SetBField(field);
11+
fat.SetdNdEtaCent(400.);
12+
fat.MakeAliceCurrent();
13+
fat.SetAtLeastHits(4);
14+
fat.SetAtLeastCorr(4);
15+
fat.SetAtLeastFake(0);
16+
//
17+
fat.SetMinRadTrack(rmin);
18+
//
19+
fat.PrintLayout();
20+
}
21+
22+
void lutWrite_its1(const char *filename = "lutCovm.dat", int pdg = 211,
23+
float field = 0.2, float rmin = 20.) {
24+
25+
// init FAT
26+
fatInit_its1(field, rmin);
27+
// write
28+
lutWrite(filename, pdg, field, rmin);
29+
}

src/lutWrite.its2.cc

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
/// @author Nicolo' Jacazio
2+
/// @email: [email protected]
3+
/// @since 30/10/2020
4+
/// @file lutWrite.its2.cc
5+
6+
#include "lutWrite.cc"
7+
8+
void fatInit_its2(float field = 0.5, float rmin = 100.) {
9+
fat.SetBField(field);
10+
fat.SetdNdEtaCent(400.);
11+
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 x0 = 0.0050;
17+
Double_t resRPhi = 0.0006;
18+
Double_t resZ = 0.0006;
19+
Double_t eff = 0.98;
20+
Double_t xrhoOB = 1.1646e-01; // 500 mum Si
21+
22+
fat.AddLayer((char *)"ddd1", 2.3, x0, xrhoOB, resRPhi, resZ, eff);
23+
fat.AddLayer((char *)"ddd2", 3.1, x0, xrhoOB, resRPhi, resZ, eff);
24+
fat.AddLayer((char *)"ddd3", 3.9, x0, xrhoOB, resRPhi, resZ, eff);
25+
fat.AddLayer((char *)"ddd4", 19.4, x0, xrhoOB, resRPhi, resZ, eff);
26+
fat.AddLayer((char *)"ddd5", 24.7, x0, xrhoOB, resRPhi, resZ, eff);
27+
fat.AddLayer((char *)"ddd6", 35.3, x0, xrhoOB, resRPhi, resZ, eff);
28+
fat.AddLayer((char *)"ddd7", 40.5, x0, xrhoOB, resRPhi, resZ, eff);
29+
30+
fat.AddTPC(0.1, 0.1); // TPC
31+
fat.SetAtLeastHits(4);
32+
fat.SetAtLeastCorr(4);
33+
fat.SetAtLeastFake(0);
34+
//
35+
fat.SetMinRadTrack(rmin);
36+
//
37+
fat.PrintLayout();
38+
}
39+
40+
void lutWrite_its2(const char *filename = "lutCovm.dat", int pdg = 211,
41+
float field = 0.2, float rmin = 20.) {
42+
43+
// init FAT
44+
fatInit_its2(field, rmin);
45+
// write
46+
lutWrite(filename, pdg, field, rmin);
47+
}

src/lutWrite.its3.cc

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
/// @author Nicolo' Jacazio
2+
/// @email: [email protected]
3+
/// @since 30/10/2020
4+
/// @file lutWrite.its3.cc
5+
6+
#include "lutWrite.cc"
7+
8+
void fatInit_its3(float field = 0.5, float rmin = 100.) {
9+
fat.SetBField(field);
10+
fat.SetdNdEtaCent(400.);
11+
12+
fat.AddLayer((char *)"bpipe", 1.6, 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.0005; // X/X0 of the inner barrel (first three layers)
17+
Double_t x0OB = 0.0035; // X/X0 of the outer barrel
18+
Double_t resRPhi = 0.0006; // Resolution in Rphi
19+
Double_t resZ = 0.0006; // Resolution in Z
20+
Double_t eff = 0.98; // Efficiency
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", 1.8, x0IB, xrhoIB, resRPhi, resZ, eff);
25+
fat.AddLayer((char *)"foam1", 1.8 + 9.370 * x0IB, 0.0008); // Foam spacer
26+
fat.AddLayer((char *)"ddd2", 2.4, x0IB, xrhoIB, resRPhi, resZ, eff);
27+
fat.AddLayer((char *)"foam2", 2.4 + 9.370 * x0IB, 0.0008); // Foam spacer
28+
fat.AddLayer((char *)"ddd3", 3.0, x0IB, xrhoIB, resRPhi, resZ, eff);
29+
fat.AddLayer((char *)"foam3", 3.0 + 9.370 * x0IB, 0.0008); // Foam spacer
30+
fat.AddLayer((char *)"ddd4", 19.4, x0OB, xrhoOB, resRPhi, resZ, eff);
31+
fat.AddLayer((char *)"ddd5", 24.7, x0OB, xrhoOB, resRPhi, resZ, eff);
32+
fat.AddLayer((char *)"ddd6", 35.3, x0OB, xrhoOB, resRPhi, resZ, eff);
33+
fat.AddLayer((char *)"ddd7", 40.5, x0OB, xrhoOB, resRPhi, resZ, eff);
34+
35+
fat.AddTPC(0.1, 0.1); // TPC
36+
fat.SetAtLeastHits(4);
37+
fat.SetAtLeastCorr(4);
38+
fat.SetAtLeastFake(0);
39+
//
40+
fat.SetMinRadTrack(rmin);
41+
//
42+
fat.PrintLayout();
43+
}
44+
45+
void lutWrite_its3(const char *filename = "lutCovm.dat", int pdg = 211,
46+
float field = 0.2, float rmin = 20.) {
47+
48+
// init FAT
49+
fatInit_its3(field, rmin);
50+
// write
51+
lutWrite(filename, pdg, field, rmin);
52+
}

0 commit comments

Comments
 (0)