PandaRoot
PndGeoOt.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
14
// PndGeoOt header file
15
//
16
// Class for geometry of OT
17
//
18
// authors: Radoslaw Karabowicz, GSI, 2024
19
//
20
// modified from PndGeoFts by Nafija Ibrišimović in 2023
22
23
#ifndef PNDGEOOT_H
24
#define PNDGEOOT_H
25
26
// from FairRoot
27
#include <FairGeoSet.h>
28
29
class
PndGeoOt
:
public
FairGeoSet {
30
protected
:
31
std::string
modName
;
// name of module
32
std::string
eleName
;
// substring for elements in module
33
public
:
34
PndGeoOt
();
35
~PndGeoOt
() {}
36
const
char
*
getModuleName
(Int_t);
37
const
char
*
getEleName
(Int_t);
38
inline
Int_t
getModNumInMod
(
const
TString &);
39
ClassDef(
PndGeoOt
, 0)
// Class for Ot
40
};
41
42
inline
Int_t
PndGeoOt::getModNumInMod
(
const
TString &name)
43
{
44
// returns the module index from module name
45
46
return
(Int_t)(name[2] -
'0'
) - 1;
47
}
48
49
#endif
/* !PNDGEOOT_H */
PndGeoOt::PndGeoOt
PndGeoOt()
PndGeoOt::getModNumInMod
Int_t getModNumInMod(const TString &)
Definition:
PndGeoOt.h:42
PndGeoOt::eleName
std::string eleName
Definition:
PndGeoOt.h:32
PndGeoOt::modName
std::string modName
Definition:
PndGeoOt.h:31
PndGeoOt::~PndGeoOt
~PndGeoOt()
Definition:
PndGeoOt.h:35
PndGeoOt
Definition:
PndGeoOt.h:29
PndGeoOt::getModuleName
const char * getModuleName(Int_t)
PndGeoOt::getEleName
const char * getEleName(Int_t)
home
gitlab-runner
builds
Vxspf1vo
0
PandaRootGroup
PandaRoot
detectors
ot
PndGeoOt.h
Generated on Fri Nov 29 2024 06:04:42 for PandaRoot by
1.8.13