BOSS 6.6.4.p03
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>
7using namespace std;
8
9class MdcGeoEnd {
10//class used for construct tube and endplate in MC
11public:
12 MdcGeoEnd(void){};
13 ~MdcGeoEnd(void){};
14
15public:
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
23public:
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
31private:
32 int fId;
33 double fLength, fInnerR, fOutR, fZ;
34 string fName;
35};
36
37#endif /* MdcGeoEnd_CLASS */
38
39
Double_t x[10]
MdcGeoEnd(void)
Definition: MdcGeoEnd.h:12
double Length(void) const
Definition: MdcGeoEnd.h:17
string Name(void) const
Definition: MdcGeoEnd.h:21
double InnerR(void) const
Definition: MdcGeoEnd.h:18
double OutR(void) const
Definition: MdcGeoEnd.h:19
void Id(int x)
Definition: MdcGeoEnd.h:24
void OutR(double x)
Definition: MdcGeoEnd.h:27
void InnerR(double x)
Definition: MdcGeoEnd.h:26
void Length(double x)
Definition: MdcGeoEnd.h:25
double Z(void) const
Definition: MdcGeoEnd.h:20
~MdcGeoEnd(void)
Definition: MdcGeoEnd.h:13
void Name(string x)
Definition: MdcGeoEnd.h:29
void Z(double x)
Definition: MdcGeoEnd.h:28
int Id(void) const
Definition: MdcGeoEnd.h:16