Loading [MathJax]/extensions/tex2jax.js
Iguana 0.9.0
Implementation Guardian of Analysis Algorithms
iguana_ex_cpp_01_action_functions.cc File Reference
#include <hipo4/reader.h>
#include <iguana/algorithms/clas12/EventBuilderFilter/Algorithm.h>
#include <iguana/algorithms/clas12/SectorFinder/Algorithm.h>
#include <iguana/algorithms/clas12/MomentumCorrection/Algorithm.h>

Detailed Description

Example using Iguana action functions on data from bank rows. This is useful for users who do not have the hipo::bank objects, instead only having the numerical data from them.

Usage
iguana_ex_cpp_01_action_functions [HIPO_FILE] [NUM_EVENTS]
HIPO_FILE the HIPO file to analyze
NUM_EVENTS the number of events to analyze;
set to zero to analyze all events
Note
while this example does use hipo::bank objects to read HIPO data, it demonstrates using action functions called with the data from these banks. We only use hipo::bank to obtain these data, since it is convenient that we don't have to use another HIPO reader, which would introduce another build dependency to this program.

Definition in file iguana_ex_cpp_01_action_functions.cc.

Include dependency graph for iguana_ex_cpp_01_action_functions.cc:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 main function

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

main function

Definition at line 27 of file iguana_ex_cpp_01_action_functions.cc.