Project
Loading...
Searching...
No Matches
O2MCApplicationEvalMat.h
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
/*
13
* O2MCApplicationEvalMat.h
14
*
15
* Created on: March 17, 2022
16
* Author: amorsch
17
*/
18
19
#ifndef STEER_INCLUDE_STEER_O2MCAPPLICATIONEVALMAT_H_
20
#define STEER_INCLUDE_STEER_O2MCAPPLICATIONEVALMAT_H_
21
22
#include <
Steer/O2MCApplicationBase.h
>
23
#include <
Steer/MaterialBudgetMap.h
>
24
#include "Rtypes.h"
// for Int_t, Bool_t, Double_t, etc
25
#include <TVirtualMC.h>
26
#include "
SimConfig/SimParams.h
"
27
28
namespace
o2
29
{
30
namespace
steer
31
{
32
33
// O2 specific changes/overrides to FairMCApplication
34
// Here in particular for custom adjustments to stepping logic
35
// and tracking limits
36
class
O2MCApplicationEvalMat
:
public
O2MCApplicationBase
37
{
38
public
:
39
O2MCApplicationEvalMat
() :
O2MCApplicationBase
() {}
40
O2MCApplicationEvalMat
(
const
char
*
name
,
const
char
* title, TObjArray* ModList,
const
char
* MatName) :
O2MCApplicationBase
(
name
, title, ModList, MatName),
mMaterialBudgetMap
(nullptr),
mPhi
(0),
mMode
(-1) {}
41
42
~O2MCApplicationEvalMat
()
override
=
default
;
43
void
FinishPrimary
()
override
;
44
void
Stepping
()
override
;
45
void
BeginEvent
()
override
;
46
void
FinishEvent
()
override
;
47
48
protected
:
49
MaterialBudgetMap
*
mMaterialBudgetMap
;
50
Int_t
mMode
;
// 0: theta-phi, 1: eta-phi, 2: z-phi
51
Float_t
mC1
[3];
// current coordinate 1
52
Float_t
mPhi
;
// current phi
53
54
ClassDefOverride
(
O2MCApplicationEvalMat
, 1);
55
};
56
57
}
// end namespace steer
58
}
// end namespace o2
59
60
#endif
/* STEER_INCLUDE_STEER_O2MCAPPLICATIONEVALMAT_H_ */
MaterialBudgetMap.h
O2MCApplicationBase.h
SimParams.h
Float_t
o2::steer::MaterialBudgetMap
Definition
MaterialBudgetMap.h:33
o2::steer::O2MCApplicationBase
Definition
O2MCApplicationBase.h:36
o2::steer::O2MCApplicationEvalMat
Definition
O2MCApplicationEvalMat.h:37
o2::steer::O2MCApplicationEvalMat::ClassDefOverride
ClassDefOverride(O2MCApplicationEvalMat, 1)
o2::steer::O2MCApplicationEvalMat::O2MCApplicationEvalMat
O2MCApplicationEvalMat()
Definition
O2MCApplicationEvalMat.h:39
o2::steer::O2MCApplicationEvalMat::~O2MCApplicationEvalMat
~O2MCApplicationEvalMat() override=default
o2::steer::O2MCApplicationEvalMat::Stepping
void Stepping() override
Definition
O2MCApplicationEvalMat.cxx:29
o2::steer::O2MCApplicationEvalMat::FinishPrimary
void FinishPrimary() override
Definition
O2MCApplicationEvalMat.cxx:23
o2::steer::O2MCApplicationEvalMat::mC1
Float_t mC1[3]
Definition
O2MCApplicationEvalMat.h:51
o2::steer::O2MCApplicationEvalMat::O2MCApplicationEvalMat
O2MCApplicationEvalMat(const char *name, const char *title, TObjArray *ModList, const char *MatName)
Definition
O2MCApplicationEvalMat.h:40
o2::steer::O2MCApplicationEvalMat::mMode
Int_t mMode
Definition
O2MCApplicationEvalMat.h:50
o2::steer::O2MCApplicationEvalMat::BeginEvent
void BeginEvent() override
Definition
O2MCApplicationEvalMat.cxx:51
o2::steer::O2MCApplicationEvalMat::mPhi
Float_t mPhi
Definition
O2MCApplicationEvalMat.h:52
o2::steer::O2MCApplicationEvalMat::FinishEvent
void FinishEvent() override
Definition
O2MCApplicationEvalMat.cxx:87
o2::steer::O2MCApplicationEvalMat::mMaterialBudgetMap
MaterialBudgetMap * mMaterialBudgetMap
Definition
O2MCApplicationEvalMat.h:49
name
GLuint const GLchar * name
Definition
glcorearb.h:781
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
BitstreamReader.h:24
Steer
include
Steer
O2MCApplicationEvalMat.h
Generated on Tue Feb 25 2025 23:16:47 for Project by
1.9.8