Project
Loading...
Searching...
No Matches
G4Config.cxx
Go to the documentation of this file.
1
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3
// All rights not expressly granted are reserved.
4
//
5
// This software is distributed under the terms of the GNU General Public
6
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7
//
8
// In applying this license CERN does not waive the privileges and immunities
9
// granted to it by virtue of its status as an Intergovernmental Organization
10
// or submit itself to any jurisdiction.
11
12
#include "FairRunSim.h"
13
#include "
DetectorsBase/Stack.h
"
14
#include "
SimulationDataFormat/StackParam.h
"
15
#include <iostream>
16
#include <fairlogger/Logger.h>
17
#include "TGeant4.h"
18
#include "TG4RunConfiguration.h"
19
#include "FairModule.h"
20
#include "
SimConfig/G4Params.h
"
21
#include "
SimConfig/SimParams.h
"
22
#include "
Generators/DecayerPythia8.h
"
23
24
//using declarations here since SetCuts.C and g4Config.C are included within namespace
25
// these are used in g4Config.C
26
using
std::cout;
27
using
std::endl;
28
// these are used in commonConfig.C
29
using
o2::eventgen::DecayerPythia8
;
30
31
#include "../g4Config.C"
32
33
namespace
o2
34
{
35
namespace
g4config
36
{
37
38
void
G4Config
()
39
{
40
LOG
(info) <<
"Setting up G4 sim from library code"
;
41
Config
();
42
}
43
44
void
G4Terminate
()
45
{
46
Terminate();
47
}
48
49
}
// namespace g4config
50
}
// namespace o2
DecayerPythia8.h
Stack.h
Definition of the Stack class.
G4Params.h
SimParams.h
StackParam.h
o2::eventgen::DecayerPythia8
Definition
DecayerPythia8.h:31
o2::g4config::G4Terminate
void G4Terminate()
Definition
G4Config.cxx:44
o2::g4config::G4Config
void G4Config()
Definition
G4Config.cxx:38
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
BitstreamReader.h:24
o2::O2PrimaryServerInfoRequest::Config
@ Config
LOG
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"
Detectors
gconfig
src
G4Config.cxx
Generated on Tue Feb 25 2025 17:02:58 for Project by
1.9.8