setup D0RunII t02.33.00 setup d0cvs newrel -t t02.33.00 t02.33.00 cd t02.33.00 addpkg -h l2stt_fitting addpkg -h l2stt_util addpkg -h l2stt_analyze addpkg -h tsim_l2stt gmake all >& compile.log d0setwa cd tsim_l2stt/rcp emacs tsim_l2stt.rcp -> to turn on the test vector switches emacs ReadEvent.rcp -> to set the data file and number of events cd ../test chmod u+x Setup.sh chmod u+x Runme.sh ./Setup.sh (only need to do this once for a new release) ./Runme.sh >& out.log &I've attached the full tsim_l2stt.rcp file for your reference.
// Processing Switches
//////////////////////
bool doSMT = yes
bool doL1CTT = yes
bool doFRC = yes
bool doSTC = yes
bool doClustering = yes
bool doRoads = yes
bool doTFC = no
bool doLevel2 = no
bool doLevel3 = no
I recommend turning off the fitting for STC test vector generation,
since you are going to use a huge LUT and there will be a memory
problem if the TFC LUTs are also created.
You'll have to edit the selectByList accordingly...
// Test Vector Switches
///////////////////////
int doSMTTestVectors = 1 // 0 = No, 1 = Meena
bool annotateTestVectors= no
string selectBy = ("sextant", "stc", "fiber")
int selectByList = ( 0, 0, 0, 0 // sextant
0, 0, 1, 1 // stc
0, 1, 0, 1) // fiber
int doFRCTestVectors = 2 // 0 = No, 1 = John, 2 = Meena, 3 = John+Meena
int doSTCTestVectors = 2 // 0 = No, 1 = John, 2 = Meena, 3 = John+Meena
int doTFCTestVectors = 0 // 0 = No, 1 = Yes
.
.
.
// createSTCLut will only create the STCLut. The use of the
// STCLut has not been implemented yet. Once the use of the Lut is
// implemented, createSTCLut should always be 1 when doRoads is 1.
// The default value at the moment is 0. WML 17-Jan-01
int createSTCLut = 1 // WJT DEBUG
etc.
I have never created the STC Output test vectors in the new format, so the rest of the parameters are as new to me as to you.
If there are problems compiling/building the trigger simulator, Harrison presumably can help. He also wrote this code, so he is the one to answer detailed questions on the RCP parameters and the algorithms.
Questions and answers, examples: