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,8 +16,10 @@ ZERO DEGREE : 300 - 399
#define NGAGG 26 #define NGAGG 26
#define NZEROGAGG 2 ///NZERO is used #define NZEROGAGG 2 ///NZERO is used
int mapping[176] ={
//***************** <-- load indicator
// 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 // 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
int mapping[176] ={ 0, 1, 2, 3, 100, 4, 5, 6, 7, 101, 8, 9, 10, 11, 102, -1, //mod-0 0, 1, 2, 3, 100, 4, 5, 6, 7, 101, 8, 9, 10, 11, 102, -1, //mod-0
12, 13, 14, 15, 103, 16, 17, 18, 19, 104, 20, 21, 22, 23, 105, -1, //mod-1 12, 13, 14, 15, 103, 16, 17, 18, 19, 104, 20, 21, 22, 23, 105, -1, //mod-1
24, 25, 26, 27, 106, 28, 29, 30, 31, 107, 32, 33, 34, 35, 108, -1, //mod-2 24, 25, 26, 27, 106, 28, 29, 30, 31, 107, 32, 33, 34, 35, 108, -1, //mod-2
36, 37, 38, 39, 109, 40, 41, 42, 43, 110, 300, 301, 200, 201, 202, 203, //mod-3 36, 37, 38, 39, 109, 40, 41, 42, 43, 110, 300, 301, 200, 201, 202, 203, //mod-3
@ -27,7 +29,9 @@ int mapping[176] ={ 0, 1, 2, 3, 100, 4, 5, 6, 7, 101, 8, 9,
-1, -1, -1, -1, 4, 5, -1, -1, 8, 9, -1, -1, -1, -1, -1, -1, //mod-7 -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-8 -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-9
-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-10
//&*************** <-- end of mapping indicator
};
//200- 209 GAGG 2A //200- 209 GAGG 2A
//210- 225 GAGG 4A //210- 225 GAGG 4A