Newer
Older
TB_Chris / TbUT / scripts / ClusterWithTrackAna_README
  1. //
  2. // S. Blusk, Oct 6, 2015
  3. // Updated April 21, 2016 -- S. Blusk
  4.  
  5. This is a simple script to loop over a TB run that has ben processed by TbUT and has tracks added to the ntuple.
  6. To run interactively:
  7.  
  8. <
  9.  
  10. In you home area, create your own work area:
  11. > mkdir TBANAL/
  12. > cd TBANAL
  13. > mkdir Output
  14. > mkdir Plots/
  15.  
  16. Set up ROOT environment (ROOT 5!) - code is not fully compliant with ROOT 6.
  17. >
  18. //> setenv CMTCONFIG x86_64-slc5-gcc46-opt
  19.  
  20.  
  21.  
  22. LbLogin -c x86_64-slc6-gcc48-opt
  23. > SetupProject LHCb v36r2
  24. > root [0] .x runClusterWithTrackAna.C
  25.  
  26.  
  27. * Right now, it is set up to run over a file in the area:
  28. const TString m_fileIndir = "/afs/cern.ch/work/s/sblusk/public/TB/";
  29. and it picks up the file in subdirectory: "BoardA6/", set with:
  30. const TString m_board = "A6";
  31.  
  32. * Only the files defined in ClusterWithTrackAna.h will run, so if you grab a different
  33. file, you need to check it is a good run and in the list of files. As of April 21, 2016,
  34. only the fgood 2015 test beam runs are included.
  35.  
  36.  
  37. [*] A set of plot should pop up after the script runs, and an output ROOT file called histOutput.root is created.
  38.  
  39. [*] Until we have a more refinced processing scheme, files that you want to test should be put in by hand into
  40. ClusterWithTrackAna::getFileBase (follow the examples in there).
  41.  
  42. [*] Input & output files directories are included in the Analysis_Inputs.h
  43.  
  44. Once we have to process many runs, we should have a way of automatically providing the input file and the output file.
  45. This is being worked on...
  46.  
  47.  
  48. KNOWN ISSUES
  49. ------------
  50.  
  51. * Array stripGap[4] need to be updated to depend on the particular sensor. Right now, it's assumed no gaps for Type A, and same gaps for all type D.