Newer
Older
TB_Chris / TbUT / scripts / .svn / text-base / ClusterWithTrackAna_README.svn-base
  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. > SetupProject LHCb v36r2
  20. > root [0] .x runClusterWithTrackAna.C
  21.  
  22.  
  23. * Right now, it is set up to run over a file in the area:
  24. const TString m_fileIndir = "/afs/cern.ch/work/s/sblusk/public/TB/";
  25. and it picks up the file in subdirectory: "BoardA6/", set with:
  26. const TString m_board = "A6";
  27.  
  28. * Only the files defined in ClusterWithTrackAna.h will run, so if you grab a different
  29. file, you need to check it is a good run and in the list of files. As of April 21, 2016,
  30. only the fgood 2015 test beam runs are included.
  31.  
  32.  
  33. [*] A set of plot should pop up after the script runs, and an output ROOT file called histOutput.root is created.
  34.  
  35. [*] Until we have a more refinced processing scheme, files that you want to test should be put in by hand into
  36. ClusterWithTrackAna::getFileBase (follow the examples in there).
  37.  
  38. [*] Input & output files directories are included in the Analysis_Inputs.h
  39.  
  40. Once we have to process many runs, we should have a way of automatically providing the input file and the output file.
  41. This is being worked on...
  42.  
  43.  
  44. KNOWN ISSUES
  45. ------------
  46.  
  47. * 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.