EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
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
8
#include <
fun4all/Fun4AllServer.h
>
9
10
R__LOAD_LIBRARY
(libcalotrigger.so)
11
12
namespace Enable
13
{
14
bool
CALOTRIGGER
=
false
;
15
int
CALOTRIGGER_VERBOSITY
= 0;
16
}
// namespace Enable
17
18
void
CaloTrigger_Sim
()
19
{
20
int
verbosity =
std::max
(
Enable::VERBOSITY
,
Enable::CALOTRIGGER_VERBOSITY
);
21
22
//---------------
23
// Fun4All server
24
//---------------
25
26
Fun4AllServer
* se =
Fun4AllServer::instance
();
27
28
CaloTriggerSim
* calotriggersim =
new
CaloTriggerSim
();
29
calotriggersim->
Verbosity
(verbosity);
30
se->
registerSubsystem
(calotriggersim);
31
32
return
;
33
}
34
#endif
fun4all_macros
blob
master
common
G4_CaloTrigger.C
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:54
using
1.8.2 with
EIC GitHub integration