Production afterburner

Under:

 The MTD afterburner mode allows new or alternative calibration parameters to be applied on MuDst files. Usually, the MTD hits and PidTratis are modified to relfect a better understanding of the MTD performance. These makers should be run before users' analysis makers.

 


Run13, pp 500, second part (day 130-161)

The following makers need to be run to select and calibrate MTD information:

// libriaries
  gSystem->Load("StBTofUtil");
  gSystem->Load("St_db_Maker");
  gSystem->Load("StMagF");
  gSystem->Load("StMtdHitMaker");
  gSystem->Load("StMtdUtil");
  gSystem->Load("StMtdMatchMaker");
  gSystem->Load("StMtdCalibMaker");

// 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");

// initiate MTD hit maker to apply trigger time window cut used to reject background hits
  StMtdHitMaker *mtdHitMaker = new StMtdHitMaker("mtdHitMaker");
  mtdHitMaker->setSwapBacklegInRun13(2);

// match maker needs to be re-run everytime hit maker is re-run
  StMagFMaker *magfMk = new StMagFMaker; 
  StMtdMatchMaker *mtdMatchMaker = new StMtdMatchMaker();

// Use calibration maker to apply the calibration parameters
  StMtdCalibMaker *mtdCalibMaker = new StMtdCalibMaker("mtdcalib");