update README.md

This commit is contained in:
Ryan Tang 2024-05-29 14:47:44 -04:00
parent a727af0b48
commit 7940f1cd95
2 changed files with 17 additions and 20 deletions

View File

@ -9,7 +9,6 @@ Codes need to be compiled are in armory/
# Function of Programs # Function of Programs
![Alt text](armory/programs_explain.png?raw=true "program explained") ![Alt text](armory/programs_explain.png?raw=true "program explained")
# armory/DataBlock.h # armory/DataBlock.h
this is the source file for the class DataBlock, it stored all information from a single data block from pixie16 output. this is the source file for the class DataBlock, it stored all information from a single data block from pixie16 output.
@ -18,11 +17,8 @@ this is the source file for the class evtReader.
It read the *.evt file (which is same as pixie16 output) and convert each measurement (or data block) from byte into meaningful data and use DataBlock class to store the information. It read the *.evt file (which is same as pixie16 output) and convert each measurement (or data block) from byte into meaningful data and use DataBlock class to store the information.
It can also scan the evt file. It can also scan the evt file.
# armory/MergeEVT
this merges all evt files into *_raw.root.
# armory/EventBuilder # armory/EventBuilder
this builds events from *_raw,root to *.root file This builds events from *.evt files to *.root file. It by pass the *.to file. the default BUFFERSIZE is 1 million datablock.
# armory/evt2hist # armory/evt2hist
this processes evt file to hstograms. this processes evt file to hstograms.
@ -34,9 +30,6 @@ this build events from *.evt.to files to *.root file (need to check the compacta
this sorting the time from *evt file to *.evt.to.fsu.XXX, where XXX is the time window. this sorting the time from *evt file to *.evt.to.fsu.XXX, where XXX is the time window.
It will search data within XXX time window, if non of the data is from clover, discard. It will search data within XXX time window, if non of the data is from clover, discard.
# armory/xia2root
this is old evt to root for custom pixie DAQ.
# Analyzer.C/h # Analyzer.C/h
this is a TSelector for analysis the *.root file this is a TSelector for analysis the *.root file

View File

@ -16,18 +16,22 @@ ZERO DEGREE : 300 - 399
#define NGAGG 26 #define NGAGG 26
#define NZEROGAGG 2 ///NZERO is used #define NZEROGAGG 2 ///NZERO is used
// 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 int mapping[176] ={
int mapping[176] ={ 0, 1, 2, 3, 100, 4, 5, 6, 7, 101, 8, 9, 10, 11, 102, -1, //mod-0 //***************** <-- load indicator
12, 13, 14, 15, 103, 16, 17, 18, 19, 104, 20, 21, 22, 23, 105, -1, //mod-1 // 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
24, 25, 26, 27, 106, 28, 29, 30, 31, 107, 32, 33, 34, 35, 108, -1, //mod-2 0, 1, 2, 3, 100, 4, 5, 6, 7, 101, 8, 9, 10, 11, 102, -1, //mod-0
36, 37, 38, 39, 109, 40, 41, 42, 43, 110, 300, 301, 200, 201, 202, 203, //mod-3 12, 13, 14, 15, 103, 16, 17, 18, 19, 104, 20, 21, 22, 23, 105, -1, //mod-1
204, 205, 206, 207, 208, 209, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, //mod-4 24, 25, 26, 27, 106, 28, 29, 30, 31, 107, 32, 33, 34, 35, 108, -1, //mod-2
210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, //mod-5, Ring 4A 36, 37, 38, 39, 109, 40, 41, 42, 43, 110, 300, 301, 200, 201, 202, 203, //mod-3
260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, //mod-6, Ring 4B 204, 205, 206, 207, 208, 209, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, //mod-4
-1, -1, -1, -1, 4, 5, -1, -1, 8, 9, -1, -1, -1, -1, -1, -1, //mod-7 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, //mod-5, Ring 4A
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, //mod-8 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, //mod-6, Ring 4B
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, //mod-9 -1, -1, -1, -1, 4, 5, -1, -1, 8, 9, -1, -1, -1, -1, -1, -1, //mod-7
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}; //mod-10 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, //mod-8
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, //mod-9
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 //mod-10
//&*************** <-- end of mapping indicator
};
//200- 209 GAGG 2A //200- 209 GAGG 2A
//210- 225 GAGG 4A //210- 225 GAGG 4A