BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Mdc/MdcGeomSvc/MdcGeomSvc-00-01-37/MdcGeomSvc/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]