Project
Loading...
Searching...
No Matches
GeneratorGeantinos.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
13
14
#ifndef ALICEO2_GENERATORGEANTINOS_H
15
#define ALICEO2_GENERATORGEANTINOS_H
16
18
// //
19
// //
20
// Utility class to compute and draw Radiation Length Map //
21
// //
22
// //
24
25
#include "FairGenerator.h"
26
namespace
o2
27
{
28
namespace
eventgen
29
{
30
class
GeneratorGeantinos
:
public
FairGenerator
31
{
32
33
public
:
34
GeneratorGeantinos
();
35
GeneratorGeantinos
(Int_t
mode
, Int_t nc1,
Float_t
c1min,
Float_t
c1max,
36
Int_t nc2,
Float_t
c2min,
Float_t
c2max,
37
Float_t
rmin,
Float_t
rmax,
Float_t
zmax);
38
~GeneratorGeantinos
()
override
=
default
;
39
Bool_t
ReadEvent
(
FairPrimaryGenerator
* primGen)
override
;
40
// Getters
41
Float_t
ZMax
()
const
{
return
mZMax
; }
42
Float_t
RadMax
()
const
{
return
mRadMax
; }
43
Int_t
NCoor1
()
const
{
return
mNCoor1
; }
44
Int_t
NCoor2
()
const
{
return
mNCoor2
; }
45
// Helpers
46
static
Float_t
PropagateCylinder
(
Float_t
*
x
,
Float_t
*
v
,
Float_t
r
,
Float_t
z
);
47
48
protected
:
49
Int_t
mMode
;
// generation mode
50
Float_t
mRadMin
;
// Generation radius
51
Float_t
mRadMax
;
// Maximum tracking radius
52
Float_t
mZMax
;
// Maximum tracking Z
53
Int_t
mNCoor1
;
// Number of bins in Coor1
54
Int_t
mNCoor2
;
// Number of bins in Coor2
55
56
Float_t
mCoor1Min
;
// Minimum Coor1
57
Float_t
mCoor1Max
;
// Maximum Coor1
58
Float_t
mCoor2Min
;
// Minimum Coor2
59
Float_t
mCoor2Max
;
// Maximum Coor2
60
};
61
}
// namespace eventgen
62
}
// namespace o2
63
#endif
FairGenerator
FairPrimaryGenerator
Float_t
o2::eventgen::GeneratorGeantinos
Definition
GeneratorGeantinos.h:31
o2::eventgen::GeneratorGeantinos::mMode
Int_t mMode
Definition
GeneratorGeantinos.h:49
o2::eventgen::GeneratorGeantinos::mCoor2Min
Float_t mCoor2Min
Definition
GeneratorGeantinos.h:58
o2::eventgen::GeneratorGeantinos::mCoor2Max
Float_t mCoor2Max
Definition
GeneratorGeantinos.h:59
o2::eventgen::GeneratorGeantinos::ZMax
Float_t ZMax() const
Definition
GeneratorGeantinos.h:41
o2::eventgen::GeneratorGeantinos::mCoor1Min
Float_t mCoor1Min
Definition
GeneratorGeantinos.h:56
o2::eventgen::GeneratorGeantinos::mRadMin
Float_t mRadMin
Definition
GeneratorGeantinos.h:50
o2::eventgen::GeneratorGeantinos::mNCoor1
Int_t mNCoor1
Definition
GeneratorGeantinos.h:53
o2::eventgen::GeneratorGeantinos::PropagateCylinder
static Float_t PropagateCylinder(Float_t *x, Float_t *v, Float_t r, Float_t z)
Definition
GeneratorGeantinos.cxx:119
o2::eventgen::GeneratorGeantinos::mRadMax
Float_t mRadMax
Definition
GeneratorGeantinos.h:51
o2::eventgen::GeneratorGeantinos::GeneratorGeantinos
GeneratorGeantinos()
Definition
GeneratorGeantinos.cxx:28
o2::eventgen::GeneratorGeantinos::RadMax
Float_t RadMax() const
Definition
GeneratorGeantinos.h:42
o2::eventgen::GeneratorGeantinos::NCoor1
Int_t NCoor1() const
Definition
GeneratorGeantinos.h:43
o2::eventgen::GeneratorGeantinos::mNCoor2
Int_t mNCoor2
Definition
GeneratorGeantinos.h:54
o2::eventgen::GeneratorGeantinos::ReadEvent
Bool_t ReadEvent(FairPrimaryGenerator *primGen) override
Definition
GeneratorGeantinos.cxx:66
o2::eventgen::GeneratorGeantinos::NCoor2
Int_t NCoor2() const
Definition
GeneratorGeantinos.h:44
o2::eventgen::GeneratorGeantinos::mZMax
Float_t mZMax
Definition
GeneratorGeantinos.h:52
o2::eventgen::GeneratorGeantinos::~GeneratorGeantinos
~GeneratorGeantinos() override=default
o2::eventgen::GeneratorGeantinos::mCoor1Max
Float_t mCoor1Max
Definition
GeneratorGeantinos.h:57
x
GLint GLenum GLint x
Definition
glcorearb.h:403
mode
GLenum mode
Definition
glcorearb.h:266
v
const GLdouble * v
Definition
glcorearb.h:832
r
GLboolean r
Definition
glcorearb.h:1233
z
GLdouble GLdouble GLdouble z
Definition
glcorearb.h:843
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
BitstreamReader.h:24
Generators
include
Generators
GeneratorGeantinos.h
Generated on Tue Feb 25 2025 23:16:43 for Project by
1.9.8