Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RunMatcherComparator.C
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file RunMatcherComparator.C
1 // ----------------------------------------------------------------------------
2 // 'RunMatcherComparator.C'
3 // Derek Anderson
4 // 01.30.2024
5 //
6 // root macro to run the STrackMatcherComparator module.
7 // ----------------------------------------------------------------------------
8 
9 // analysis specific utilities
11 #include "/sphenix/user/danderson/install/include/strackmatchercomparator/STrackMatcherComparator.h"
12 #include "/sphenix/user/danderson/install/include/strackmatchercomparator/STrackMatcherComparatorConfig.h"
13 #include "/sphenix/user/danderson/install/include/strackmatchercomparator/STrackMatcherComparatorHistDef.h"
14 
15 // load libraries
16 R__LOAD_LIBRARY(/sphenix/user/danderson/install/lib/libstrackmatchercomparator.so)
17 
18 
19 
20 // macro body -----------------------------------------------------------------
21 
23 
24  // get options
27 
28  // run module
29  STrackMatcherComparator* comparator = new STrackMatcherComparator(config);
30  comparator -> SetHistDef(histos);
31  comparator -> Init();
32  comparator -> Analyze();
33  comparator -> End();
34  return;
35 
36 }
37 
38 // end ------------------------------------------------------------------------