FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairRutherfordGeo.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 "FairRutherfordGeo.h"
9 
10 #include <cstdio> // for sprintf
11 
13 
15  : FairGeoSet()
16 {
17  // Constructor
18  fName = "rutherford";
19  strcpy(modName, "rutherford");
20  strcpy(eleName, "rutherford");
21  maxSectors = 0;
22  maxModules = 10;
23 }
24 
26 {
32  sprintf(modName, "rutherford%i", m + 1);
33  return modName;
34 }
35 
36 const char* FairRutherfordGeo::getEleName(Int_t m)
37 {
39  sprintf(eleName, "rutherford%i", m + 1);
40  return eleName;
41 }
const char * getModuleName(Int_t)
ClassImp(FairEventBuilder)
Int_t maxSectors
Definition: FairGeoSet.h:55
const char * getEleName(Int_t)
Int_t maxModules
Definition: FairGeoSet.h:57