Skip to content
Snippets Groups Projects
Commit ec3ad971 authored by Eric Pooser's avatar Eric Pooser
Browse files

Create maps for the HMS aerogel and calorimeter

Small tweak to HMS drift chambers map to include labels for mapping scheme
parent 1a5c41f9
No related branches found
No related tags found
No related merge requests found
!HMS:
! HAERO_ID= 7 (TDC),ADC
ROC=1
detector=7 !HAERO
!F250 modules
SLOT=16
! chan plane tube sig
8, 1, 1, 1! hAER01-
9, 1, 2, 1! hAER02-
10, 1, 3, 1! hAER03-
11, 1, 4, 1! hAER04-
12, 1, 5, 1! hAER05-
13, 1, 6, 1! hAER06-
14, 1, 7, 1! hAER07-
15, 1, 8, 1! hAER08-
SLOT=17
! chan plane tube sig
0, 1, 1, 0! hAER01+
1, 1, 2, 0! hAER02+
2, 1, 3, 0! hAER03+
3, 1, 4, 0! hAER04+
4, 1, 5, 0! hAER05+
5, 1, 6, 0! hAER06+
6, 1, 7, 0! hAER07+
7, 1, 8, 0! hAER08+
\ No newline at end of file
!HMS:
! HCAL_ID= 4 ADC
ROC=1
detector=4 !HCAL
!F250 modules
SLOT=3
! chan column row sig
0, 1, 1, 0! hA01+
1, 1, 2, 0! hA02+
2, 1, 3, 0! hA03+
3, 1, 4, 0! hA04+
4, 1, 5, 0! hA05+
5, 1, 6, 0! hA06+
6, 1, 7, 0! hA07+
7, 1, 8, 0! hA08+
8, 1, 9, 0! hA09+
9, 1, 10, 0! hA10+
10, 1, 11, 0! hA11+
11, 1, 12, 0! hA12+
12, 1, 13, 0! hA13+
13, 1, 1, 1! hA01-
14, 1, 2, 1! hA02-
15, 1, 3, 1! hA03-
SLOT=4
! chan column row sig
0, 1, 4, 1! hA04-
1, 1, 5, 1! hA05-
2, 1, 6, 1! hA06-
3, 1, 7, 1! hA07-
4, 1, 8, 1! hA08-
5, 1, 9, 1! hA09-
6, 1, 10, 1! hA10-
7, 1, 11, 1! hA11-
8, 1, 12, 1! hA12-
9, 1, 13, 1! hA13-
10, 2, 1, 0! hB01+
11, 2, 2, 0! hB02+
12, 2, 3, 0! hB03+
13, 2, 4, 0! hB04+
14, 2, 5, 0! hB05+
15, 2, 6, 0! hB06+
SLOT=5
! chan column row sig
0, 2, 7, 0! hB07+
1, 2, 8, 0! hB08+
2, 2, 9, 0! hB09+
3, 2, 10, 0! hB10+
4, 2, 11, 0! hB11+
5, 2, 12, 0! hB12+
6, 2, 13, 0! hB13+
7, 2, 1, 1! hB01-
8, 2, 2, 1! hB02-
9, 2, 3, 1! hB03-
10, 2, 4, 1! hB04-
11, 2, 5, 1! hB05-
12, 2, 6, 1! hB06-
13, 2, 7, 1! hB07-
14, 2, 8, 1! hB08-
15, 2, 9, 1! hB09-
SLOT=6
! chan column row sig
0, 2, 10, 1! hB10-
1, 2, 11, 1! hB11-
2, 2, 12, 1! hB12-
3, 2, 13, 1! hB13-
4, 3, 1, 0! hC01+
5, 3, 2, 0! hC02+
6, 3, 3, 0! hC03+
7, 3, 4, 0! hC04+
8, 3, 5, 0! hC05+
9, 3, 6, 0! hC06+
10, 3, 7, 0! hC07+
11, 3, 8, 0! hC08+
12, 3, 9, 0! hC09+
13, 3, 10, 0! hC10+
14, 3, 11, 0! hC11+
15, 3, 12, 0! hC12+
SLOT=7
! chan column row sig
0, 3, 13, 0! hC13+
1, 4, 1, 0! hD01+
2, 4, 2, 0! hD02+
3, 4, 3, 0! hD03+
4, 4, 4, 0! hD04+
5, 4, 5, 0! hD05+
6, 4, 6, 0! hD06+
7, 4, 7, 0! hD07+
8, 4, 8, 0! hD08+
9, 4, 9, 0! hD09+
10, 4, 10, 0! hD10+
11, 4, 11, 0! hD11+
12, 4, 12, 0! hD12+
13, 4, 13, 0! hD13+
\ No newline at end of file
!HMS: !HMS:
! HDC_ID=11 ! HDC_ID= 1 TDC
! Caen 1190 VME Modules ! Caen 1190 VME Modules
ROC=2 ROC=2
...@@ -11,10 +11,12 @@ bsub=1190 ! put the module type here to help perl script ...@@ -11,10 +11,12 @@ bsub=1190 ! put the module type here to help perl script
! Scintillators and reference channels. ! Scintillators and reference channels.
! First 10 are scintillator PMTs, last 6 are reference channels ! First 10 are scintillator PMTs, last 6 are reference channels
detector=11 !detector=11 !SOS chambers
detector=1 ! HMS chambers
====== WIREMAP ====== ====== WIREMAP ======
SLOT=5 SLOT=5
! channel,plane,wire
96,3,1 ! Plane U, wire 1 96,3,1 ! Plane U, wire 1
97,3,2 ! Plane U, wire 2 97,3,2 ! Plane U, wire 2
98,3,3 ! Plane U, wire 3 98,3,3 ! Plane U, wire 3
...@@ -124,6 +126,7 @@ SLOT=5 ...@@ -124,6 +126,7 @@ SLOT=5
14,3,106 ! Plane U, wire 106 14,3,106 ! Plane U, wire 106
15,3,107 ! Plane U, wire 107 15,3,107 ! Plane U, wire 107
SLOT=7 SLOT=7
! channel,plane,wire
96,4,1 ! Plane V, wire 1 96,4,1 ! Plane V, wire 1
97,4,2 ! Plane V, wire 2 97,4,2 ! Plane V, wire 2
98,4,3 ! Plane V, wire 3 98,4,3 ! Plane V, wire 3
...@@ -155,6 +158,7 @@ SLOT=7 ...@@ -155,6 +158,7 @@ SLOT=7
125,4,28 ! Plane V, wire 28 125,4,28 ! Plane V, wire 28
126,4,29 ! Plane V, wire 29 126,4,29 ! Plane V, wire 29
SLOT=8 SLOT=8
! channel,plane,wire
0,4,30 ! Plane V, wire 30 0,4,30 ! Plane V, wire 30
1,4,31 ! Plane V, wire 31 1,4,31 ! Plane V, wire 31
2,4,32 ! Plane V, wire 32 2,4,32 ! Plane V, wire 32
...@@ -218,6 +222,7 @@ SLOT=8 ...@@ -218,6 +222,7 @@ SLOT=8
61,4,90 ! Plane V, wire 90 61,4,90 ! Plane V, wire 90
62,4,91 ! Plane V, wire 91 62,4,91 ! Plane V, wire 91
SLOT=4 SLOT=4
! channel,plane,wire
96,4,92 ! Plane V, wire 92 96,4,92 ! Plane V, wire 92
97,4,93 ! Plane V, wire 93 97,4,93 ! Plane V, wire 93
98,4,94 ! Plane V, wire 94 98,4,94 ! Plane V, wire 94
...@@ -331,6 +336,7 @@ SLOT=4 ...@@ -331,6 +336,7 @@ SLOT=4
14,1,95 ! Plane X, wire 95 14,1,95 ! Plane X, wire 95
15,1,96 ! Plane X, wire 96 15,1,96 ! Plane X, wire 96
SLOT=7 SLOT=7
! channel,plane,wire
80,1,97 ! Plane X, wire 97 80,1,97 ! Plane X, wire 97
81,1,98 ! Plane X, wire 98 81,1,98 ! Plane X, wire 98
82,1,99 ! Plane X, wire 99 82,1,99 ! Plane X, wire 99
...@@ -348,6 +354,7 @@ SLOT=7 ...@@ -348,6 +354,7 @@ SLOT=7
94,1,111 ! Plane X, wire 111 94,1,111 ! Plane X, wire 111
95,1,112 ! Plane X, wire 112 95,1,112 ! Plane X, wire 112
SLOT=4 SLOT=4
! channel,plane,wire
112,6,1 ! Plane X', wire 1 112,6,1 ! Plane X', wire 1
113,6,2 ! Plane X', wire 2 113,6,2 ! Plane X', wire 2
114,6,3 ! Plane X', wire 3 114,6,3 ! Plane X', wire 3
...@@ -365,6 +372,7 @@ SLOT=4 ...@@ -365,6 +372,7 @@ SLOT=4
126,6,15 ! Plane X', wire 15 126,6,15 ! Plane X', wire 15
127,6,16 ! Plane X', wire 16 127,6,16 ! Plane X', wire 16
SLOT=5 SLOT=5
! channel,plane,wire
112,6,17 ! Plane X', wire 17 112,6,17 ! Plane X', wire 17
113,6,18 ! Plane X', wire 18 113,6,18 ! Plane X', wire 18
114,6,19 ! Plane X', wire 19 114,6,19 ! Plane X', wire 19
...@@ -382,6 +390,7 @@ SLOT=5 ...@@ -382,6 +390,7 @@ SLOT=5
126,6,31 ! Plane X', wire 31 126,6,31 ! Plane X', wire 31
127,6,32 ! Plane X', wire 32 127,6,32 ! Plane X', wire 32
SLOT=7 SLOT=7
! channel,plane,wire
0,6,33 ! Plane X', wire 33 0,6,33 ! Plane X', wire 33
1,6,34 ! Plane X', wire 34 1,6,34 ! Plane X', wire 34
2,6,35 ! Plane X', wire 35 2,6,35 ! Plane X', wire 35
...@@ -463,6 +472,7 @@ SLOT=7 ...@@ -463,6 +472,7 @@ SLOT=7
78,6,111 ! Plane X', wire 111 78,6,111 ! Plane X', wire 111
79,6,112 ! Plane X', wire 112 79,6,112 ! Plane X', wire 112
SLOT=8 SLOT=8
! channel,plane,wire
64,2,1 ! Plane Y, wire 1 64,2,1 ! Plane Y, wire 1
65,2,2 ! Plane Y, wire 2 65,2,2 ! Plane Y, wire 2
66,2,3 ! Plane Y, wire 3 66,2,3 ! Plane Y, wire 3
...@@ -516,6 +526,7 @@ SLOT=8 ...@@ -516,6 +526,7 @@ SLOT=8
123,2,51 ! Plane Y, wire 51 123,2,51 ! Plane Y, wire 51
124,2,52 ! Plane Y, wire 52 124,2,52 ! Plane Y, wire 52
SLOT=10 SLOT=10
! channel,plane,wire
0,5,1 ! Plane Y', wire 1 0,5,1 ! Plane Y', wire 1
1,5,2 ! Plane Y', wire 2 1,5,2 ! Plane Y', wire 2
2,5,3 ! Plane Y', wire 3 2,5,3 ! Plane Y', wire 3
...@@ -570,6 +581,7 @@ SLOT=10 ...@@ -570,6 +581,7 @@ SLOT=10
60,5,52 ! Plane Y', wire 52 60,5,52 ! Plane Y', wire 52
====== WIREMAP ====== ====== WIREMAP ======
SLOT=16 SLOT=16
! channel,plane,wire
96,9,1 ! Plane U, wire 1 96,9,1 ! Plane U, wire 1
97,9,2 ! Plane U, wire 2 97,9,2 ! Plane U, wire 2
98,9,3 ! Plane U, wire 3 98,9,3 ! Plane U, wire 3
...@@ -601,6 +613,7 @@ SLOT=16 ...@@ -601,6 +613,7 @@ SLOT=16
125,9,28 ! Plane U, wire 28 125,9,28 ! Plane U, wire 28
126,9,29 ! Plane U, wire 29 126,9,29 ! Plane U, wire 29
SLOT=14 SLOT=14
! channel,plane,wire
0,9,30 ! Plane U, wire 30 0,9,30 ! Plane U, wire 30
1,9,31 ! Plane U, wire 31 1,9,31 ! Plane U, wire 31
2,9,32 ! Plane U, wire 32 2,9,32 ! Plane U, wire 32
...@@ -680,6 +693,7 @@ SLOT=14 ...@@ -680,6 +693,7 @@ SLOT=14
94,9,106 ! Plane U, wire 106 94,9,106 ! Plane U, wire 106
95,9,107 ! Plane U, wire 107 95,9,107 ! Plane U, wire 107
SLOT=16 SLOT=16
! channel,plane,wire
80,10,1 ! Plane V, wire 1 80,10,1 ! Plane V, wire 1
81,10,2 ! Plane V, wire 2 81,10,2 ! Plane V, wire 2
82,10,3 ! Plane V, wire 3 82,10,3 ! Plane V, wire 3
...@@ -696,6 +710,7 @@ SLOT=16 ...@@ -696,6 +710,7 @@ SLOT=16
93,10,14 ! Plane V, wire 14 93,10,14 ! Plane V, wire 14
94,12,113 ! Plane X', wire 113 94,12,113 ! Plane X', wire 113
SLOT=14 SLOT=14
! channel,plane,wire
96,10,15 ! Plane V, wire 15 96,10,15 ! Plane V, wire 15
97,10,16 ! Plane V, wire 16 97,10,16 ! Plane V, wire 16
98,10,17 ! Plane V, wire 17 98,10,17 ! Plane V, wire 17
...@@ -728,6 +743,7 @@ SLOT=14 ...@@ -728,6 +743,7 @@ SLOT=14
126,10,44 ! Plane V, wire 44 126,10,44 ! Plane V, wire 44
127,10,45 ! Plane V, wire 45 127,10,45 ! Plane V, wire 45
SLOT=17 SLOT=17
! channel,plane,wire
0,10,46 ! Plane V, wire 46 0,10,46 ! Plane V, wire 46
1,10,47 ! Plane V, wire 47 1,10,47 ! Plane V, wire 47
2,10,48 ! Plane V, wire 48 2,10,48 ! Plane V, wire 48
...@@ -791,6 +807,7 @@ SLOT=17 ...@@ -791,6 +807,7 @@ SLOT=17
62,10,106 ! Plane V, wire 106 62,10,106 ! Plane V, wire 106
63,10,107 ! Plane V, wire 107 63,10,107 ! Plane V, wire 107
SLOT=13 SLOT=13
! channel,plane,wire
0,7,1 ! Plane X, wire 1 0,7,1 ! Plane X, wire 1
1,7,2 ! Plane X, wire 2 1,7,2 ! Plane X, wire 2
2,7,3 ! Plane X, wire 3 2,7,3 ! Plane X, wire 3
...@@ -920,6 +937,7 @@ SLOT=13 ...@@ -920,6 +937,7 @@ SLOT=13
126,12,15 ! Plane X', wire 15 126,12,15 ! Plane X', wire 15
127,12,16 ! Plane X', wire 16 127,12,16 ! Plane X', wire 16
SLOT=14 SLOT=14
! channel,plane,wire
16,12,17 ! Plane X', wire 17 16,12,17 ! Plane X', wire 17
17,12,18 ! Plane X', wire 18 17,12,18 ! Plane X', wire 18
18,12,19 ! Plane X', wire 19 18,12,19 ! Plane X', wire 19
...@@ -937,6 +955,7 @@ SLOT=14 ...@@ -937,6 +955,7 @@ SLOT=14
30,12,31 ! Plane X', wire 31 30,12,31 ! Plane X', wire 31
31,12,32 ! Plane X', wire 32 31,12,32 ! Plane X', wire 32
SLOT=16 SLOT=16
! channel,plane,wire
0,12,33 ! Plane X', wire 33 0,12,33 ! Plane X', wire 33
1,12,34 ! Plane X', wire 34 1,12,34 ! Plane X', wire 34
2,12,35 ! Plane X', wire 35 2,12,35 ! Plane X', wire 35
...@@ -1018,6 +1037,7 @@ SLOT=16 ...@@ -1018,6 +1037,7 @@ SLOT=16
78,12,111 ! Plane X', wire 111 78,12,111 ! Plane X', wire 111
79,12,112 ! Plane X', wire 112 79,12,112 ! Plane X', wire 112
SLOT=17 SLOT=17
! channel,plane,wire
64,8,1 ! Plane Y, wire 1 64,8,1 ! Plane Y, wire 1
65,8,2 ! Plane Y, wire 2 65,8,2 ! Plane Y, wire 2
66,8,3 ! Plane Y, wire 3 66,8,3 ! Plane Y, wire 3
...@@ -1071,6 +1091,7 @@ SLOT=17 ...@@ -1071,6 +1091,7 @@ SLOT=17
123,8,51 ! Plane Y, wire 51 123,8,51 ! Plane Y, wire 51
124,8,52 ! Plane Y, wire 52 124,8,52 ! Plane Y, wire 52
SLOT=10 SLOT=10
! channel,plane,wire
64,11,1 ! Plane Y', wire 1 64,11,1 ! Plane Y', wire 1
65,11,2 ! Plane Y', wire 2 65,11,2 ! Plane Y', wire 2
66,11,3 ! Plane Y', wire 3 66,11,3 ! Plane Y', wire 3
......
...@@ -2,7 +2,7 @@ void replay_hms(Int_t RunNumber=0, Int_t MaxEvent=0) { ...@@ -2,7 +2,7 @@ void replay_hms(Int_t RunNumber=0, Int_t MaxEvent=0) {
// //
// //
if(RunNumber == 0) { if(RunNumber == 0) {
cout << "Enter a Run Number (-1 to exit): "; cout << "Enter a Run Number (-1 to exit): ";
cin >> RunNumber; cin >> RunNumber;
if( RunNumber<=0 ) break; if( RunNumber<=0 ) break;
...@@ -16,9 +16,12 @@ void replay_hms(Int_t RunNumber=0, Int_t MaxEvent=0) { ...@@ -16,9 +16,12 @@ void replay_hms(Int_t RunNumber=0, Int_t MaxEvent=0) {
} }
} }
char* RunFileNamePattern="raw/test_%d.dat"; // char* RunFileNamePattern="raw/test_%d.dat";
const char* ROOTFileNamePattern = "ROOTfiles/hms1190_%d.root"; // const char* ROOTFileNamePattern = "ROOTfiles/hms1190_%d.root";
//
char* RunFileNamePattern="/home/pooser/HallC/FADC250_Devel/fadc_data/hms_single_000%d.dat";
const char* ROOTFileNamePattern = "ROOTfiles/hms1190_%d.root";
gHcParms->Define("gen_run_number", "Run Number", RunNumber); gHcParms->Define("gen_run_number", "Run Number", RunNumber);
gHcParms->AddString("g_ctp_database_filename", "DBASE/standard.database"); gHcParms->AddString("g_ctp_database_filename", "DBASE/standard.database");
...@@ -46,11 +49,11 @@ void replay_hms(Int_t RunNumber=0, Int_t MaxEvent=0) { ...@@ -46,11 +49,11 @@ void replay_hms(Int_t RunNumber=0, Int_t MaxEvent=0) {
THaApparatus* HMS = new THcHallCSpectrometer("H","HMS"); THaApparatus* HMS = new THcHallCSpectrometer("H","HMS");
gHaApps->Add( HMS ); gHaApps->Add( HMS );
// HMS->AddDetector( new THcHodoscope("hod", "Hodoscope" )); HMS->AddDetector( new THcHodoscope("hod", "Hodoscope" ));
//HMS->AddDetector( new THcShower("cal", "Shower" )); //HMS->AddDetector( new THcShower("cal", "Shower" ));
//THcCherenkov* cherenkov = new THcCherenkov("cher", "Gas Cerenkov" ); //THcCherenkov* cherenkov = new THcCherenkov("cher", "Gas Cerenkov" );
// HMS->AddDetector( cherenkov ); // HMS->AddDetector( cherenkov );
HMS->AddDetector( new THcDC("dc", "Drift Chambers" )); //HMS->AddDetector( new THcDC("dc", "Drift Chambers" ));
//THcAerogel* aerogel = new THcAerogel("aero", "Aerogel Cerenkov" ); //THcAerogel* aerogel = new THcAerogel("aero", "Aerogel Cerenkov" );
//HMS->AddDetector( aerogel ); //HMS->AddDetector( aerogel );
// //
...@@ -58,7 +61,7 @@ void replay_hms(Int_t RunNumber=0, Int_t MaxEvent=0) { ...@@ -58,7 +61,7 @@ void replay_hms(Int_t RunNumber=0, Int_t MaxEvent=0) {
// hscaler->SetDebugFile("HScaler.txt"); // hscaler->SetDebugFile("HScaler.txt");
//gHaEvtHandlers->Add (hscaler); //gHaEvtHandlers->Add (hscaler);
// //
// //
// Set up the analyzer - we use the standard one, // Set up the analyzer - we use the standard one,
...@@ -83,7 +86,7 @@ void replay_hms(Int_t RunNumber=0, Int_t MaxEvent=0) { ...@@ -83,7 +86,7 @@ void replay_hms(Int_t RunNumber=0, Int_t MaxEvent=0) {
// Eventually need to learn to skip over, or properly analyze // Eventually need to learn to skip over, or properly analyze
// the pedestal events // the pedestal events
run->SetEventRange(1,MaxEvent);// Physics Event number, does not run->SetEventRange(1,MaxEvent);// Physics Event number, does not
// include scaler or control events // include scaler or control events
run->SetNscan(1); run->SetNscan(1);
run->SetDataRequired(0x7); run->SetDataRequired(0x7);
run->Print(); run->Print();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment