Installation instructions:

Installation part that you have to do only once:
 

Things you do once :

  1. create a directory somewhere for source code, executables and calibration parameters, say   "~/sasy"  ( ~/ denotes your home directory in linux) ; this is the directory to which $SasyHomeDir has to point to.
  2. (optional) create directory where you would keep your makers - it must be in $SasyHomeDir and must start with "maker" ;  for example makerKA, where KA are my initials
  3. (optional) create directory where you would keep your selectors - it must be in $SasyHomeDir and must start with "selector" ;  for example selectorKA, where KA are my initials
  4. (optional) create directory where you would keep your programs - it must be in $SasyHomeDir and must start with "programs" ;  for example programsKA, where KA are my initials
  5. (optional) create directory where you would keep your macros - it must be in $SasyHomeDir and must start with "macros" ;  for example macrosKA, where KA are my initials
  6. create directory where you would keep data files -  mkdir  ~/data_dir   ( or :  ln -s YourDataDirectory ~/data_dir)
  7. create directory where SasySoft would put output files with histograms - mkdir ~/sasy/hist  (or :  ln -s YourHistDir  ~/sasy/hist)
  8. (optional, in fact it is faster and more practical to create subsets of data instead, but it is possible to use eventlists too) create directory where you would keep your event lists - mkdir $(SasyHomeDir)/eventLists    (or :  ln -s YourEventListsDir  ~/eventLists
make sure you are using "bash" shell ( in user preferences set default shell to "bash" or on command line say: bash) and have the following lines at the end of your  ~/.bashrc file:
 


logoff and login again - to update environment variables. Check that they are good like this: echo $SasyHomeDir.

now, copy  .rootrc file to your home directory and change the following line:

Unix.*.Root.MacroPath:      .:$(SasyHomeDir)/macrosKA:$(SasyHomeDir)/macros

This should provide you with working environment.
If you want to customize the file ( and you do in case if you have your own macros directory)- make sure all relevant changes propagate from version to version.

You can change the order of search for macros by changing order in this list.
In this particular example current directory ( denoted with a dot) is  the first place root will look for macros, then goes my directory and then standard directory with some standard macros.
 
 
 
 
 

Installation part that you have to do every time when you move to newer version:
simple instructions untar, make depend, make

step by step instructions:

  1. Download distribution file. Put it into temporary directory. Unzip and untar distribution file by:  tar -xzvf  FILENAME. Make sure new directories or files don't have same names as yours in ~/sasy.    Some files may be overwritten  when you install new verison of SasySoft. Especially pay attention to saving customized Makefile, .rootrc  etc
  2. Make backup of your old sasy directory ( if existant) :   "tar -czvf  sasysoft_backup.tar.gz  ~/sasy"
  3. if you don't have old sasy directory create one with: "mkdir ~/sasy"
  4. go to the sasy directory: "cd ~/sasy"
  5. put downloaded distribution file into ~/sasy
  6. Unzip and untar distribution file by:  tar -xzvf  FILENAME. If your existing files  are write-protected they need to be deleted manually before overwriting them.
  7. make depend   - needs to be done only when new version ( new files )  show up OR when new files are added or when #include statements are added to existing files.
  8. make
  9. if you customized .rootrc file, this is time to compare it to new one in $SasyHomeDir/macros
Should be Ok to use now.


Latest release of SasySoft source:

compiles on FC3  with ROOT v5.09.01
SasySoft_v4.09.tar.gz