HYDRA_development_version
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
hemcgeompar.h
Go to the documentation of this file.
1
#ifndef HEMCGEOMPAR_H
2
#define HEMCGEOMPAR_H
3
4
#include "
hdetgeompar.h
"
5
6
class
HGeomShapes
;
7
8
class
HEmcGeomPar
:
public
HDetGeomPar
{
9
Int_t
maxCells
;
10
public
:
11
HEmcGeomPar
(
const
Char_t* name=
"EmcGeomPar"
,
12
const
Char_t* title=
"Emc geometry parameters"
,
13
const
Char_t* context=
"GeomProduction"
);
14
~HEmcGeomPar
() {}
15
Bool_t
init
(
HParIo
*,Int_t*);
16
Int_t
write
(
HParIo
*);
17
inline
Int_t
getSecNum
(
const
TString&);
18
inline
Int_t
getModNumInMod
(
const
TString&);
19
inline
Int_t
getModNumInComp
(
const
TString&);
20
Int_t
getCompNum
(
const
TString&);
21
ClassDef(
HEmcGeomPar
,1)
// Container for the Emc geometry parameters
22
};
23
24
inline
Int_t
HEmcGeomPar::getSecNum
(
const
TString& name) {
25
// returns the module index retrieved from the module name GMOMx
26
return
(Int_t)(name[4]-
'0'
)-1;
27
}
28
29
inline
Int_t
HEmcGeomPar::getModNumInMod
(
const
TString& name) {
30
// returns the module index (always 0)
31
return
0;
32
}
33
34
inline
Int_t
HEmcGeomPar::getModNumInComp
(
const
TString& name) {
35
// returns the module index (always 0)
36
return
0;
37
}
38
39
#endif
/* !HEMCGEOMPAR_H */
HEmcGeomPar::~HEmcGeomPar
~HEmcGeomPar()
Definition:
hemcgeompar.h:14
HEmcGeomPar
Definition:
hemcgeompar.h:8
HEmcGeomPar::getModNumInComp
Int_t getModNumInComp(const TString &)
Definition:
hemcgeompar.h:34
HEmcGeomPar::HEmcGeomPar
HEmcGeomPar(const Char_t *name="EmcGeomPar", const Char_t *title="Emc geometry parameters", const Char_t *context="GeomProduction")
HEmcGeomPar::getSecNum
Int_t getSecNum(const TString &)
Definition:
hemcgeompar.h:24
HParIo
Definition:
hpario.h:11
HParSet::write
virtual Int_t write()
Definition:
hparset.cc:119
HEmcGeomPar::maxCells
Int_t maxCells
Definition:
hemcgeompar.h:9
HDetGeomPar
Definition:
hdetgeompar.h:30
HGeomShapes
Definition:
hgeomshapes.h:16
HEmcGeomPar::getModNumInMod
Int_t getModNumInMod(const TString &)
Definition:
hemcgeompar.h:29
HEmcGeomPar::getCompNum
Int_t getCompNum(const TString &)
Definition:
hemcgeompar.cc:48
hdetgeompar.h
HParSet::init
virtual Bool_t init(void)
Definition:
hparset.h:21
emc
hemcgeompar.h
Generated on Fri Oct 9 2020 14:30:03 for HYDRA_development_version by
1.8.8