PandaRoot
PndGeoMagnet.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 #ifndef PNDGEOMAGNET_H
14 #define PNDGEOMAGNET_H
15 
16 #include "FairGeoSet.h"
17 #include "TString.h"
18 
19 class PndGeoMagnet : public FairGeoSet {
20  protected:
21  char modName[2]; // name of module
22  char eleName[2]; // substring for elements in module
23  public:
24  PndGeoMagnet();
26  const char *getModuleName(Int_t) { return modName; }
27  const char *getEleName(Int_t) { return eleName; }
28  ClassDef(PndGeoMagnet, 0) // Class for the geometry of Magnet
29 };
30 
31 #endif /* !CBMGEOMAGNET_H */
char eleName[2]
Definition: PndGeoMagnet.h:22
char modName[2]
Definition: PndGeoMagnet.h:21
const char * getModuleName(Int_t)
Definition: PndGeoMagnet.h:26
const char * getEleName(Int_t)
Definition: PndGeoMagnet.h:27