Online Applications

From MICEWiki

Jump to: navigation, search

Change Program Code

(Re)Compile G4MICE Online Applications

This works only for G4MICE version on miceonrec02a computer.

  • Before executing following commands make sure that setupmice.(csh/sh) is sourced. Just login as mice on miceonrec02a is usually enough.
  • Go to the RealData/mgr folder of G4MICE distribution.
cd /home/mice/mice/MICE/RealData/mgr
  • Clean the RealData object files and library
make clean
  • Compile with DATE monitoring libraries enabled
make monitor=1 -s
  • Go to the folder of the application you wish to make online (e.g. Scalers)
cd /home/mice/mice/MICE/Applications/Scalers
  • Again, clean the object files and recompile with monitor flag on
make clean && make monitor=1 -s
  • Run the application. Note that the cards.in file used for reading offline data has to be modified if "DataLocation", "runNumber" or "Runs" are used. Just remove those datacards from the file and your program is ready to run online (hopefully).
./Scalers cards-online.in
Personal tools