CGEM BOSS
6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcGeoEnd.h
Go to the documentation of this file.
1
// a template header file for a class called "MdcGeoEnd"
2
#ifndef MDC_GEO_End_H
3
#define MDC_GEO_End_H
4
5
#include <iostream>
6
#include <string>
7
using namespace
std
;
8
9
class
MdcGeoEnd
{
10
//class used for construct tube and endplate in MC
11
public
:
12
MdcGeoEnd
(
void
){};
13
~MdcGeoEnd
(
void
){};
14
15
public
:
16
int
Id
(
void
)
const
{
return
fId; }
17
double
Length
(
void
)
const
{
return
fLength;}
//Full length In Z direction
18
double
InnerR
(
void
)
const
{
return
fInnerR;}
//From Z axes to bottom surface of those segments.
19
double
OutR
(
void
)
const
{
return
fOutR; }
//From Z axes to upper surface of those segments.
20
double
Z
(
void
)
const
{
return
fZ; }
//Offset value of segment center from Z=0
21
string
Name
(
void
)
const
{
return
fName; }
//name of segment
22
23
public
:
24
void
Id
(
int
x) {fId=
x
;}
25
void
Length
(
double
x) {fLength=
x
;}
26
void
InnerR
(
double
x) {fInnerR=
x
;}
27
void
OutR
(
double
x) {fOutR=
x
;}
28
void
Z
(
double
x) {fZ=
x
;}
29
void
Name
(
string
x) {fName=
x
;}
30
31
private
:
32
int
fId;
33
double
fLength, fInnerR, fOutR, fZ;
34
string
fName;
35
};
36
37
#endif
/* MdcGeoEnd_CLASS */
38
39
x
Double_t x[10]
Definition:
DataBase/tau_mode.c:57
MdcGeoEnd
Definition:
MdcGeoEnd.h:9
MdcGeoEnd::MdcGeoEnd
MdcGeoEnd(void)
Definition:
MdcGeoEnd.h:12
MdcGeoEnd::Length
double Length(void) const
Definition:
MdcGeoEnd.h:17
MdcGeoEnd::Name
string Name(void) const
Definition:
MdcGeoEnd.h:21
MdcGeoEnd::InnerR
double InnerR(void) const
Definition:
MdcGeoEnd.h:18
MdcGeoEnd::OutR
double OutR(void) const
Definition:
MdcGeoEnd.h:19
MdcGeoEnd::Id
void Id(int x)
Definition:
MdcGeoEnd.h:24
MdcGeoEnd::OutR
void OutR(double x)
Definition:
MdcGeoEnd.h:27
MdcGeoEnd::InnerR
void InnerR(double x)
Definition:
MdcGeoEnd.h:26
MdcGeoEnd::Length
void Length(double x)
Definition:
MdcGeoEnd.h:25
MdcGeoEnd::Z
double Z(void) const
Definition:
MdcGeoEnd.h:20
MdcGeoEnd::~MdcGeoEnd
~MdcGeoEnd(void)
Definition:
MdcGeoEnd.h:13
MdcGeoEnd::Name
void Name(string x)
Definition:
MdcGeoEnd.h:29
MdcGeoEnd::Z
void Z(double x)
Definition:
MdcGeoEnd.h:28
MdcGeoEnd::Id
int Id(void) const
Definition:
MdcGeoEnd.h:16
std
Definition:
RootEventData_rootcint.cxx:16
source
Mdc
MdcGeomSvc
MdcGeomSvc-00-01-39
MdcGeomSvc
MdcGeoEnd.h
Generated by
1.9.6