Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4_CaloTrigger.C
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file G4_CaloTrigger.C
1 #ifndef MACRO_G4CALOTRIGGER_C
2 #define MACRO_G4CALOTRIGGER_C
3 
4 #include <GlobalVariables.C>
5 
6 #include <calotrigger/CaloTriggerSim.h>
7 
9 
10 R__LOAD_LIBRARY(libcalotrigger.so)
11 
12 namespace Enable
13 {
14  bool CALOTRIGGER = false;
16 } // namespace Enable
17 
19 {
21 
22  //---------------
23  // Fun4All server
24  //---------------
25 
27 
28  CaloTriggerSim* calotriggersim = new CaloTriggerSim();
29  calotriggersim->Verbosity(verbosity);
30  se->registerSubsystem(calotriggersim);
31 
32  return;
33 }
34 #endif