doFlowSumAll.csh 840 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #!/bin/csh
  2. # doFlowSumAll.csh
  3. # runs doFlowSumAll.C for each centrality
  4. # first cenNo is first arg
  5. # first anaNo is second arg
  6. # dirName is third arg
  7. # $Id: doFlowSumAll.csh,v 1.2 2011/07/25 15:54:51 posk Exp $
  8. if ($# != 3) then
  9. echo "usage: $0 firstCenNo firstAnaNo dirName"
  10. exit 1
  11. endif
  12. set firstCenNo = $1
  13. set firstAnaNo = $2
  14. set dirName = $3
  15. set cenN = 9
  16. set cen = 0
  17. while ($cenN - $cen)
  18. @ cenNo = $firstCenNo + $cen
  19. @ anaNo = $firstAnaNo + $cen
  20. echo "$dirName $cenNo to $anaNo"
  21. root4star -b << FINIS
  22. .x doFlowSumAll.C($cenNo,$cenNo,"$dirName",$anaNo)
  23. .q
  24. FINIS
  25. @ cen++
  26. end
  27. # $Log: doFlowSumAll.csh,v $
  28. # Revision 1.2 2011/07/25 15:54:51 posk
  29. # Added correction for non-flatness of event plane.
  30. #
  31. # Revision 1.1 2006/03/22 21:59:53 posk
  32. # Macro and shell script to sum the outputs of the second pass.