EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4_Centrality.C
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file G4_Centrality.C
1 #ifndef MACRO_G4CENTRALITY_C
2 #define MACRO_G4CENTRALITY_C
3 
4 #include <GlobalVariables.C>
5 
7 
9 
10 R__LOAD_LIBRARY(libfun4all.so)
11 R__LOAD_LIBRARY(libcentrality_io.so)
12 R__LOAD_LIBRARY(libg4centrality.so)
13 
14 namespace Enable
15 {
16  bool CENTRALITY = false;
18 } // namespace Enable
19 
20 void Centrality()
21 {
23  //---------------
24  // Fun4All server
25  //---------------
26 
28 
30  cent->Verbosity(verbosity);
31  cent->GetCalibrationParameters().ReadFromFile("centrality", "xml", 0, 0, string(getenv("CALIBRATIONROOT")) + string("/Centrality/"));
32  se->registerSubsystem( cent );
33 
34  return;
35 }
36 #endif