/// Class for run all tasks in Stand Alone Package #ifndef _MainStap_h #define _MainStap_h // #include "RootTypes.h" // for mmmalloc16 #include "Algo/L1Algo/L1Types.h" #include "Algo/L1AlgoInter.h" #include "Performance/Performance.h" class L1AlgoInter; // interface for tracking algorythms class Performance; // performance results class MainStap { public: char work_dir[100]; // path to input and output files int iVerbose; // level of detailed of info int maxNEvent; // number of all analyse event int nEvent; // number of current analysing event L1AlgoInter *algoInter; // interface for tracking algorythms Performance *perfo; // performance results MainStap() {}; ~MainStap() { if (algoInter) mmdelete16(algoInter); if (perfo) mmdelete16(perfo); /*delete algoInter;*/ /*if (perfo) delete perfo;*/}; /// @param _maxNEvent - number of all analyse event /// @param _work_dir - first part of path in witch read and write files (data_perfo.txt, data_algo.txt, geo_algo.txt) /// @param _iVerbose - level of detailed of info void Init(int _maxNEvent, const char* _work_dir, int _iVerbose = 0); void Run(); }; #include "MainStap.cxx" // uncomment if don't use make #endif // _MainCbm_h