FairRoot
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
FairFastSimulation.cxx
Go to the documentation of this file.
1
/********************************************************************************
2
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3
* *
4
* This software is distributed under the terms of the *
5
* GNU Lesser General Public Licence (LGPL) version 3, *
6
* copied verbatim in the file "LICENSE" *
7
********************************************************************************/
8
// -------------------------------------------------------------------------
9
// ----- FairFastSimulation source file -----
10
// ----- Created 2019/01/30 by R. Karabowicz -----
11
// -------------------------------------------------------------------------
12
13
#include "
FairFastSimulation.h
"
14
15
#include "
FairFastSimModel.h
"
16
#include "
FairLogger.h
"
17
18
#include <TG4VUserFastSimulation.h>
// for TG4VUserFastSimulation
19
20
FairFastSimulation::FairFastSimulation
()
21
: TG4VUserFastSimulation()
22
{
23
SetModel(
"fairFastSimModel"
);
24
LOG(info) <<
"FairFastSimulation::FairFastSimulation() model set"
;
25
26
SetModelParticles(
"fairFastSimModel"
,
"all"
);
27
SetModelRegions(
"fairFastSimModel"
,
"FastSimMedium"
);
28
29
LOG(info) <<
"FairFastSimulation::FairFastSimulation() finished"
;
30
}
31
32
FairFastSimulation::~FairFastSimulation
() {}
33
34
//
35
// protected methods
36
//
37
38
void
FairFastSimulation::Construct
()
39
{
42
43
LOG(info) <<
"Construct FairFastSimulation model."
;
44
45
// Create the fast simulation model
46
FairFastSimModel
* fairFastSimModel =
new
FairFastSimModel
(
"fairFastSimModel"
);
47
48
// Register the model in the VMC framework
49
Register(fairFastSimModel);
50
51
LOG(info) <<
"end construct FairFastSimulation model."
;
52
//
53
// end Initializing shower model
54
}
FairFastSimModel
Definition:
FairFastSimModel.h:23
FairFastSimulation::Construct
virtual void Construct()
Definition:
FairFastSimulation.cxx:38
FairFastSimModel.h
FairFastSimulation::~FairFastSimulation
virtual ~FairFastSimulation()
Definition:
FairFastSimulation.cxx:32
FairFastSimulation::FairFastSimulation
FairFastSimulation()
Definition:
FairFastSimulation.cxx:20
FairFastSimulation.h
FairLogger.h
FairRoot
base
sim
fastsim
FairFastSimulation.cxx
Generated on Mon Mar 8 2021 12:14:05 for FairRoot by
1.8.5