Project
Loading...
Searching...
No Matches
O2TrivialMCConfig.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
#include "FairRunSim.h"
12
#include "
O2TrivialMC/O2TrivialMCEngine.h
"
13
#include "
DetectorsBase/Stack.h
"
14
#include "
SimulationDataFormat/StackParam.h
"
15
#include <fairlogger/Logger.h>
16
#include "FairModule.h"
17
#include "
Generators/DecayerPythia8.h
"
18
#include "../commonConfig.C"
19
20
// these are used in commonConfig.C
21
using
o2::eventgen::DecayerPythia8
;
22
23
namespace
o2
24
{
25
namespace
o2trivialmcengineconfig
26
{
27
28
void
Config
()
29
{
30
// TString* gModel = run->GetGeoModel();
31
FairRunSim
* run = FairRunSim::Instance();
32
auto
* replay =
new
mc::O2TrivialMCEngine
();
33
stackSetup(replay, run);
34
}
35
36
void
O2TrivialMCEngineConfig
()
37
{
38
LOG
(info) <<
"Setting up O2TrivialMCEngine sim from library code"
;
39
Config
();
40
}
41
42
}
// namespace o2trivialmcengineconfig
43
}
// namespace o2
DecayerPythia8.h
Stack.h
Definition of the Stack class.
O2TrivialMCEngine.h
StackParam.h
FairRunSim
o2::eventgen::DecayerPythia8
Definition
DecayerPythia8.h:31
o2::mc::O2TrivialMCEngine
Definition
O2TrivialMCEngine.h:34
o2::o2trivialmcengineconfig::O2TrivialMCEngineConfig
void O2TrivialMCEngineConfig()
Definition
O2TrivialMCConfig.cxx:36
o2::o2trivialmcengineconfig::Config
void Config()
Definition
O2TrivialMCConfig.cxx:28
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
BitstreamReader.h:24
LOG
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"
Detectors
gconfig
src
O2TrivialMCConfig.cxx
Generated on Tue Feb 25 2025 17:02:58 for Project by
1.9.8