Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
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
10
#include "
MatcherComparatorOptions.h
"
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
22
void
RunMatcherComparator
() {
23
24
// get options
25
STrackMatcherComparatorConfig
config
=
MatcherComparatorOptions::GetConfig
();
26
STrackMatcherComparatorHistDef
histos
=
MatcherComparatorOptions::GetHistDef
();
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 ------------------------------------------------------------------------
analysis
blob
master
AndersonAnalysisModules
TrackStudies
STrackMatchingComparator
RunMatcherComparator.C
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:47
using
1.8.2 with
sPHENIX GitHub integration