Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
cd analisys-rel
sit_setup

The last sit_setup command is very important and must be executed from the release directory every time you change the directory.

...

  • For Python-based analysis framework you need to execute following commands:
    Code Block
    mkdir my_ana_pkg/src   # only if src directory does not exist yet
    codegen -l pyana-module my_ana_pkg my_ana_mod
    
    This will create file my_ana_pkg/src/my_ana_mod.py which contains boilerplate code for analysis module. The codegen command can also be used to generate other template modules, as explained here.
  • For C++-based analysis framework you need to execute following commands:
    Code Block
    mkdir my_ana_pkg/src my_ana_pkg/include   # only if src and include directories do not exist yet
    codegen -l psana-module my_ana_pkg my_ana_mod
    
    This will create files my_ana_pkg/include/my_ana_mod.h and my_ana_pkg/src/my_ana_mod.cpp which contain skeleton code for analysis module.

...