FairRoot
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
FairTutorialDet4Geo.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
#include "
FairTutorialDet4Geo.h
"
9
10
#include <stdio.h>
// for sprintf
11
12
ClassImp
(
FairTutorialDet4Geo
);
13
14
FairTutorialDet4Geo::FairTutorialDet4Geo
()
15
:
FairGeoSet
()
16
{
17
// Constructor
18
fName =
"tutdet"
;
19
strcpy(
modName
,
"tutdet"
);
20
strcpy(
eleName
,
"tutdet"
);
21
maxSectors
= 0;
22
maxModules
= 100;
23
}
24
25
const
char
*
FairTutorialDet4Geo::getModuleName
(Int_t m)
26
{
32
sprintf(
modName
,
"tutdet%i"
, m + 1);
33
return
modName
;
34
}
35
36
const
char
*
FairTutorialDet4Geo::getEleName
(Int_t m)
37
{
39
sprintf(
eleName
,
"tutdet%i"
, m + 1);
40
return
eleName
;
41
}
FairTutorialDet4Geo::modName
char modName[20]
Definition:
FairTutorialDet4Geo.h:19
ClassImp
ClassImp(FairEventBuilder)
FairGeoSet::maxSectors
Int_t maxSectors
Definition:
FairGeoSet.h:55
FairTutorialDet4Geo::getEleName
const char * getEleName(Int_t)
Definition:
FairTutorialDet4Geo.cxx:36
FairTutorialDet4Geo
Definition:
FairTutorialDet4Geo.h:16
FairGeoSet::maxModules
Int_t maxModules
Definition:
FairGeoSet.h:57
FairTutorialDet4Geo::getModuleName
const char * getModuleName(Int_t)
Definition:
FairTutorialDet4Geo.cxx:25
FairTutorialDet4Geo::FairTutorialDet4Geo
FairTutorialDet4Geo()
Definition:
FairTutorialDet4Geo.cxx:14
FairTutorialDet4Geo.h
FairTutorialDet4Geo::eleName
char eleName[20]
Definition:
FairTutorialDet4Geo.h:20
FairGeoSet
Definition:
FairGeoSet.h:30
FairRoot
examples
simulation
Tutorial4
src
mc
FairTutorialDet4Geo.cxx
Generated on Mon Mar 8 2021 12:14:06 for FairRoot by
1.8.5