SSD code : instructions for run15

Instructions as of 2015/02/18
 
1) StRoot code

a) from offline/hft

cvs co offline/hft/StRoot/StSsdPointMaker
cvs co offline/hft/StRoot/StSstDaqMaker
cvs co offline/hft/StRoot/StSstUtil
cvs co offline/hft/StRoot/StSsdDbMaker
cvs co offline/hft/StRoot/StSsdMONMaker [optional]
cvs co offline/hft/StRoot/StEvent

b) from CVSROOT

cvs co StRoot/StEvent
cvs co StRoot/StBFChain

2) StDb code

cvs co offline/hft/calibrations/SsdMasking/StDb
cvs co offline/hft/calibrations/SsdMasking/StarDb


then re-arrange directories

cp -r $STAR/StDb/idl/ ./
mkdir StDb
mv idl StDb
mv offline/hft/calibrations/SsdMasking/StDb/idl/*.idl StDb/idl/

3) assemble codes


mv offline/hft/calibrations/SsdMasking/StarDb ./
mv offline/hft/StRoot/StSs* StRoot
mv offline/hft/StRoot/StEvent/StSsdHit.* StRoot/StEvent

4) compilation

cons +StDb

add to StBFChain/BigFullChain.h :

 {"sstCalDb"    ,""     ,"","sstDb"         ,"","","Declare Calibrations/ssd as while list member",kFALSE},
 {"sst_daq","","","sstCalDb,svt_T,-sls,-spa,ssdUtil","StSstDaqMaker","StSstDaqMaker","... SSD Daq",kFALSE},

if MonitorMaker :

{"ssdMON"    ,"","","StEvent"                ,"StSsdMONMaker","StSsdMONMaker","Example of SSD QA",kFALSE}, 

then

cons +StRoot

5) run BFC 

x bfc.C(1,2,"in db MakeEvent y2014a sst_daq spt Debug ssdMON analysis","")

Result :

when running this chain, I see from the log file :

LoadTable: .L /star/institutions/ksu/bouchet/ssdcode_20150208/StarDb/Calibrations/ssd/ssdHotChips.20150101.000001.C 
StSstDaqMaker:INFO  - InitRun(Int_t runumber) - Read now Databases 
Load TFile:   /star/institutions/ksu/bouchet/ssdcode_20150208/StarDb/Calibrations/ssd/ssdStripCalib.20150115.192908.root 
StSstDaqMaker:INFO  - We will use the default Pedestal(=0) and Rms(=0)  
Load TFile:   /star/institutions/ksu/bouchet/ssdcode_20150208/StarDb/Calibrations/ssd/ssdNoise.20150101.112908.root 
StSstDaqMaker:INFO  - InitRun for real data : new Table(ssdNoise) is used 
LoadTable: .L /star/institutions/ksu/bouchet/ssdcode_20150208/StarDb/Calibrations/ssd/ssdWaferConfiguration.20150101.000001.C 

which is expected in term of loaded tables.