PandaRoot
PndGeoFts.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 PNDGEOFTS_H
14
#define PNDGEOFTS_H
15
16
#include "FairGeoSet.h"
17
18
class
PndGeoFts
:
public
FairGeoSet {
19
protected
:
20
char
modName
[40];
// name of module
21
char
eleName
[40];
// substring for elements in module
22
public
:
23
PndGeoFts
();
24
~PndGeoFts
() {}
25
const
char
*
getModuleName
(Int_t);
26
const
char
*
getEleName
(Int_t);
27
inline
Int_t
getModNumInMod
(
const
TString &);
28
ClassDef(
PndGeoFts
, 0)
// Class for Fts
29
};
30
31
inline
Int_t
PndGeoFts::getModNumInMod
(
const
TString &name)
32
{
33
// returns the module index from module name
34
35
return
(Int_t)(name[3] -
'0'
) - 1;
36
}
37
38
#endif
/* !PNDGEOFTS_H */
PndGeoFts::modName
char modName[40]
Definition:
PndGeoFts.h:20
PndGeoFts::getEleName
const char * getEleName(Int_t)
PndGeoFts::eleName
char eleName[40]
Definition:
PndGeoFts.h:21
PndGeoFts::~PndGeoFts
~PndGeoFts()
Definition:
PndGeoFts.h:24
PndGeoFts
Definition:
PndGeoFts.h:18
PndGeoFts::getModNumInMod
Int_t getModNumInMod(const TString &)
Definition:
PndGeoFts.h:31
PndGeoFts::PndGeoFts
PndGeoFts()
PndGeoFts::getModuleName
const char * getModuleName(Int_t)
home
gitlab-runner
builds
Vxspf1vo
0
PandaRootGroup
PandaRoot
detectors
fts
PndGeoFts.h
Generated on Fri Nov 22 2024 06:04:43 for PandaRoot by
1.8.13