Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
245 changes: 217 additions & 28 deletions analysis/HidraAna.C

Large diffs are not rendered by default.

53 changes: 48 additions & 5 deletions analysis/HidraGeo.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,17 @@ const double tuberadius = 1.0;





// 70 modules -> TB25
const int NofModulesX = 5;
const int NofModulesY = 18;
const int NofmodulesX = 5;
const int NofmodulesY = 18;
// 80 miniM -> But different geometry-> move one minimodules from row to corner, horizontal placement
const int modflag[90]={-1, -1, 0, -1, -1,
-1, 1, 2, 3, -1,
-1, 4, 5, 6, -1,
-1, 7, 8, 9, -1,
10, 1, 12, 13, 14,
10, 11, 12, 13, 14,
15, 16, 17, 18, 19,
20, 21, 22, 23, 24,
25, 26, 27, 28, 29,
Expand All @@ -38,19 +40,60 @@ const int modflag[90]={-1, -1, 0, -1, -1,
-1, 66, 67, 68, -1,
-1, -1, 69, -1, -1};
const int NoModulesSiPM=8;
const int SiPMMod[8]={17,22,27,32,37,42,47,52};
const int NofSiPMTowersX = 1;
const int NofSiPMTowersY = 8;
const int SiPMMod[8]={17,22,27,32,37,42,47,52};
const int NofFiberscolumn = 64;
const int NofFibersrow = 16;
const int NoModulesActive=80;
const int NoModulesActive=70;
const double moduleZ = (2500.);
const bool irot=false;
const int NoFibersTower=NofFiberscolumn*NofFibersrow/2;





/*
// 80 modules -> TB26 (HiDRa geometry, SiPMs placed in two towers)
const int NofModulesX = 5;
const int NofModulesY = 20;
const int modflag[100]={-1, -1, 0, -1, -1,
-1, 1, 2, 3, -1,
-1, 4, 5, 6, -1,
-1, 7, 8, 9, -1,
10, 1, 12, 13, 14,
15, 16, 17, 18, 19,
20, 21, 22, 23, 24,
25, 26, 27, 28, 29,
30, 31, 32, 33, 34,
35, 36, 37, 38, 39,
40, 41, 42, 43, 44,
45, 46, 47, 48, 49,
50, 51, 52, 53, 54,
55, 56, 57, 58, 59,
60, 61, 62, 63, 64,
65, 66, 67, 68, 69,
-1, 70, 71, 72, -1,
-1, 73, 74, 75, -1,
-1, 76, 77, 78, -1,
-1, -1, 79, -1, -1};
const int NoModulesSiPM=10;
const int SiPMMod[10]={27,32,37,42,47,52, 26, 31, 36, 41};
const int NofFiberscolumn = 64;
const int NofFibersrow = 16;
const int NofSiPMTowersX = 2;
const int NofSiPMTowersY = 10;
const int NoModulesActive=80;
const double moduleZ = (2500.);
const bool irot=false;
const int NoFibersTower=NofFiberscolumn*NofFibersrow/2;*/






const int NofSciSiPM=(NofFibersrow*NofFiberscolumn*NoModulesSiPM)/2;
const int NofCerSiPM=(NofFibersrow*NofFiberscolumn*NoModulesSiPM)/2;

Expand Down
Loading