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"
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"
23
24//using declarations here since SetCuts.C and g4Config.C are included within namespace
25// these are used in g4Config.C
26using std::cout;
27using std::endl;
28// these are used in commonConfig.C
30
31#include "../g4Config.C"
32
33namespace o2
34{
35namespace g4config
36{
37
39{
40 LOG(info) << "Setting up G4 sim from library code";
41 Config();
42}
43
45{
46 Terminate();
47}
48
49} // namespace g4config
50} // namespace o2
Definition of the Stack class.
void G4Terminate()
Definition G4Config.cxx:44
void G4Config()
Definition G4Config.cxx:38
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"