How To ... run the TOF afterburner
How To ... run the TOF afterburner
The TOF afterburner mode allows new or alternative VPD/TOF calibrations to be applied on a MuDST level. Note that the default method is to load both BTOF and VPD calibration makers. The decision to switch between algorithms is typically handled through the database, and should be left that way. Any existing calibrated TOF PID traits will be removed and replaced with those based on the recent calibration.
// BTOF libraries
gSystem->Load("StBTofUtil");
gSystem->Load("StVpdCalibMaker");
gSystem->Load("StBTofCalibMaker");
// setting up chain and MuDST/DB Makers
StChain *chain = new StChain("StChain");
StMuDstMaker *muDstMaker = new StMuDstMaker(0,0,"",fileList,"MuDst.root",nfiles);
St_db_Maker *dbMk = new St_db_Maker("db","MySQL:StarDb","$STAR/StarDb","StarDb");
// instantiate both VPD and BTOF CalibMakers and point them to the MuDST
StVpdCalibMaker *vpdCalib = new StVpdCalibMaker();
vpdCalib->setMuDstIn();
StBTofCalibMaker *btofCalib = new StBTofCalibMaker();
btofCalib->setMuDstIn();
// continue with your private maker
StMyMaker *myMaker = new StMyMaker();
If you want to have explicit control over the algorithm, i.e. startless vs. VPD-based start then you should add the following line right before you continue with your private maker:
//Disable the VPD as start detector, BTOF calib maker will switch to the "start-less" algorithm.
vpdCalib->setUseVpdStart(kFALSE);
// continue with your private maker
...
Resources:
- startof-hn, bescan-hn hypernews: How to run the VPD/BTOF Calib Maker on your MuDSTs a.k.a. the calib afterburner
- bulkcorr-hn: How To: BTOF Calibration afterburner for Run10 200GeV and 62GeV
- Presentation by Masa Wada: https://drupal.star.bnl.gov/STAR/system/files/PID_STARmtg_UCDavis_Masa_v3_0.pdf
- geurts's blog
- Login or register to post comments