FairRoot
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
FairTutPropGeo.cxx
Go to the documentation of this file.
1
/********************************************************************************
2
* Copyright (C) 2019 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
#include "
FairTutPropGeo.h
"
9
10
#include <stdio.h>
// for sprintf
11
12
ClassImp
(
FairTutPropGeo
);
13
14
// ----- Default constructor -------------------------------------------
15
FairTutPropGeo::FairTutPropGeo
()
16
:
FairGeoSet
()
17
{
18
// Constructor
19
// fName has to be the name used in the geometry for all volumes.
20
// If there is a mismatch the geometry cannot be build.
21
fName =
"Pixel"
;
22
strcpy(
modName
,
"Pixel"
);
23
strcpy(
eleName
,
"Pixel"
);
24
maxSectors
= 0;
25
maxModules
= 10;
26
}
27
28
// -------------------------------------------------------------------------
29
30
const
char
*
FairTutPropGeo::getModuleName
(Int_t m)
31
{
37
sprintf(
modName
,
"Pixel%i"
, m + 1);
38
return
modName
;
39
}
40
41
const
char
*
FairTutPropGeo::getEleName
(Int_t m)
42
{
44
sprintf(
eleName
,
"Pixel%i"
, m + 1);
45
return
eleName
;
46
}
ClassImp
ClassImp(FairEventBuilder)
FairGeoSet::maxSectors
Int_t maxSectors
Definition:
FairGeoSet.h:55
FairTutPropGeo
Definition:
FairTutPropGeo.h:15
FairGeoSet::maxModules
Int_t maxModules
Definition:
FairGeoSet.h:57
FairTutPropGeo::eleName
char eleName[20]
Definition:
FairTutPropGeo.h:20
FairTutPropGeo::modName
char modName[20]
Definition:
FairTutPropGeo.h:19
FairTutPropGeo.h
FairTutPropGeo::FairTutPropGeo
FairTutPropGeo()
Definition:
FairTutPropGeo.cxx:15
FairTutPropGeo::getModuleName
const char * getModuleName(Int_t)
Definition:
FairTutPropGeo.cxx:30
FairTutPropGeo::getEleName
const char * getEleName(Int_t)
Definition:
FairTutPropGeo.cxx:41
FairGeoSet
Definition:
FairGeoSet.h:30
FairRoot
examples
advanced
propagator
src
FairTutPropGeo.cxx
Generated on Mon Mar 8 2021 12:14:05 for FairRoot by
1.8.5