PandaRoot
PndSdsGeo.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 PNDSDSGEO_H
14
#define PNDSDSGEO_H
15
16
#include "FairGeoSet.h"
17
18
class
PndSdsGeo
:
public
FairGeoSet {
19
public
:
20
PndSdsGeo
();
21
~PndSdsGeo
() {}
22
const
char
*
getModuleName
(Int_t
m
);
23
const
char
*
getEleName
(Int_t m);
24
const
char
*
getKeepinName
(Int_t
i
, Int_t j);
25
inline
Int_t
getModNumInMod
(
const
TString &name)
const
;
26
27
protected
:
28
char
fModName
[20];
// name of module
29
char
fEleName
[20];
// substring for elements in module
30
char
fKeepinName
[20];
31
32
ClassDef
(
PndSdsGeo
, 1);
// Class for PndSds
33
};
34
35
// TODO: we don't need this?
36
37
inline
Int_t
PndSdsGeo::getModNumInMod
(
const
TString &name)
const
38
{
40
return
(Int_t)(name[3] -
'0'
) - 1;
41
}
42
43
#endif
/* !PNDSDSGEO_H */
PndSdsGeo::getKeepinName
const char * getKeepinName(Int_t i, Int_t j)
m
__m128 m
Definition:
P4_F32vec4.h:38
PndSdsGeo::fEleName
char fEleName[20]
Definition:
PndSdsGeo.h:29
PndSdsGeo::fKeepinName
char fKeepinName[20]
Definition:
PndSdsGeo.h:30
PndSdsGeo::fModName
char fModName[20]
Definition:
PndSdsGeo.h:28
i
unsigned int i
Definition:
P4_F32vec4.h:33
PndSdsGeo::ClassDef
ClassDef(PndSdsGeo, 1)
PndSdsGeo::getEleName
const char * getEleName(Int_t m)
PndSdsGeo::getModuleName
const char * getModuleName(Int_t m)
PndSdsGeo::~PndSdsGeo
~PndSdsGeo()
Definition:
PndSdsGeo.h:21
PndSdsGeo::PndSdsGeo
PndSdsGeo()
PndSdsGeo::getModNumInMod
Int_t getModNumInMod(const TString &name) const
Definition:
PndSdsGeo.h:37
PndSdsGeo
Definition:
PndSdsGeo.h:18
home
gitlab-runner
builds
Vxspf1vo
0
PandaRootGroup
PandaRoot
detectors
sds
SdsMC
PndSdsGeo.h
Generated on Fri Nov 29 2024 06:04:44 for PandaRoot by
1.8.13