CGEM BOSS
6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcGeomSvc-00-01-42/MdcGeomSvc/MdcGeoMisc.h
Go to the documentation of this file.
1
// $Id: MdcGeoMisc.h,v 1.2 2015/10/22 06:21:15 wulh Exp $ // -*-c++-*-
2
// a template header file for a class called "MdcGeoMisc"
3
#ifndef MDC_GEO_MISC_H
4
#define MDC_GEO_MISC_H
5
6
#include <iostream>
7
8
class
MdcGeoMisc
{
9
10
public
:
11
// Constructor.
12
MdcGeoMisc
():fOuterR(0),fInnerR(0),fOuterTk(0),fInnerTk(0),fNSWire(0),fNFWire(0),
13
fLayerNo(0),fWireNo(0),fSLayerNo(0),fSWireR(0),fFWireR(0){};
14
15
// Copy and Assignment
16
MdcGeoMisc
(
const
MdcGeoMisc
& e):fOuterR(e.
OuterR
()),fInnerR(e.
InnerR
()),fOuterTk(e.
OuterTk
()),fInnerTk(e.
InnerTk
()),fNSWire(e.
NSWire
()),fNFWire(e.
NFWire
()),
17
fLayerNo(e.
LayerNo
()),fWireNo(e.
WireNo
()),fSLayerNo(e.
SLayerNo
()),fSWireR(e.
SWireR
()),fFWireR(e.
FWireR
()){};
18
19
MdcGeoMisc
&
operator=
(
const
MdcGeoMisc
& e) {
20
if
(
this
!=&e)
21
{
22
fOuterR=e.
OuterR
();
23
fInnerR=e.
InnerR
();
24
fOuterTk=e.
OuterTk
();
25
fInnerTk=e.
InnerTk
();
26
fNSWire=e.
NSWire
();
27
fNFWire=e.
NFWire
();
28
29
fLayerNo=e.
LayerNo
();
30
fWireNo=e.
WireNo
();
31
fSLayerNo=e.
SLayerNo
();
32
fSWireR=e.
SWireR
();
33
fFWireR=e.
FWireR
();
34
}
35
return
*
this
;
36
}
37
38
// Destructor
39
~MdcGeoMisc
(){};
40
41
public
:
// Extractors
42
double
OuterR
(
void
)
const
{
return
fOuterR; };
43
double
InnerR
(
void
)
const
{
return
fInnerR; };
44
double
OuterTk
(
void
)
const
{
return
fOuterTk; };
45
double
InnerTk
(
void
)
const
{
return
fInnerTk; };
46
int
NSWire
(
void
)
const
{
return
fNSWire; };
47
int
NFWire
(
void
)
const
{
return
fNFWire; };
48
49
int
LayerNo
(
void
)
const
{
return
fLayerNo;}
50
int
WireNo
(
void
)
const
{
return
fWireNo;}
51
int
SLayerNo
(
void
)
const
{
return
fSLayerNo;}
52
double
SWireR
(
void
)
const
{
return
fSWireR; }
53
double
FWireR
(
void
)
const
{
return
fFWireR; }
54
55
56
public
:
// Modifiers
57
double
OuterR
(
double
i) {
return
fOuterR=i; };
58
double
InnerR
(
double
i) {
return
fInnerR=i; };
59
double
OuterTk
(
double
i) {
return
fOuterTk=i; };
60
double
InnerTk
(
double
i) {
return
fInnerTk=i; };
61
int
NSWire
(
int
i) {
return
fNSWire=i; };
62
int
NFWire
(
int
i) {
return
fNFWire=i; };
63
64
int
LayerNo
(
int
i) {
return
fLayerNo=i;}
65
int
WireNo
(
int
i) {
return
fWireNo=i;}
66
int
SLayerNo
(
int
i) {
return
fSLayerNo=i;}
67
double
SWireR
(
double
i) {
return
fSWireR=i;}
68
double
FWireR
(
double
i) {
return
fFWireR=i;}
69
70
71
private
:
72
double
fOuterR;
//radius of outer cylinder (mm)
73
double
fInnerR;
//radius of inner cylinder (mm)
74
double
fOuterTk;
//thickness of outer wall (mm)
75
double
fInnerTk;
//thickness of inner wall (mm)
76
int
fNSWire;
//# of sense wires
77
int
fNFWire;
//# of field wires
78
79
int
fLayerNo;
// Total layers number of Mdc
80
int
fWireNo;
// Total wires number of Mdc
81
int
fSLayerNo;
// Total signal layers number
82
double
fSWireR;
//radius of signalwire (micrometer)
83
double
fFWireR;
//radius of fieldwire (micrometer)
84
};
85
86
#endif
/* MdcGeoMisc_CLASS */
87
88
MdcGeoMisc
Definition
bak_MdcGeomSvc-00-01-39/MdcGeomSvc/MdcGeoMisc.h:8
MdcGeoMisc::FWireR
double FWireR(double i)
Definition
MdcGeomSvc-00-01-42/MdcGeomSvc/MdcGeoMisc.h:68
MdcGeoMisc::OuterTk
double OuterTk(double i)
Definition
MdcGeomSvc-00-01-42/MdcGeomSvc/MdcGeoMisc.h:59
MdcGeoMisc::operator=
MdcGeoMisc & operator=(const MdcGeoMisc &e)
Definition
MdcGeomSvc-00-01-42/MdcGeomSvc/MdcGeoMisc.h:19
MdcGeoMisc::FWireR
double FWireR(void) const
Definition
bak_MdcGeomSvc-00-01-39/MdcGeomSvc/MdcGeoMisc.h:53
MdcGeoMisc::InnerR
double InnerR(double i)
Definition
MdcGeomSvc-00-01-42/MdcGeomSvc/MdcGeoMisc.h:58
MdcGeoMisc::NFWire
int NFWire(int i)
Definition
MdcGeomSvc-00-01-42/MdcGeomSvc/MdcGeoMisc.h:62
MdcGeoMisc::SLayerNo
int SLayerNo(int i)
Definition
MdcGeomSvc-00-01-42/MdcGeomSvc/MdcGeoMisc.h:66
MdcGeoMisc::MdcGeoMisc
MdcGeoMisc()
Definition
MdcGeomSvc-00-01-42/MdcGeomSvc/MdcGeoMisc.h:12
MdcGeoMisc::~MdcGeoMisc
~MdcGeoMisc()
Definition
MdcGeomSvc-00-01-42/MdcGeomSvc/MdcGeoMisc.h:39
MdcGeoMisc::WireNo
int WireNo(int i)
Definition
MdcGeomSvc-00-01-42/MdcGeomSvc/MdcGeoMisc.h:65
MdcGeoMisc::NSWire
int NSWire(void) const
Definition
bak_MdcGeomSvc-00-01-39/MdcGeomSvc/MdcGeoMisc.h:46
MdcGeoMisc::OuterTk
double OuterTk(void) const
Definition
bak_MdcGeomSvc-00-01-39/MdcGeomSvc/MdcGeoMisc.h:44
MdcGeoMisc::OuterR
double OuterR(double i)
Definition
MdcGeomSvc-00-01-42/MdcGeomSvc/MdcGeoMisc.h:57
MdcGeoMisc::LayerNo
int LayerNo(void) const
Definition
bak_MdcGeomSvc-00-01-39/MdcGeomSvc/MdcGeoMisc.h:49
MdcGeoMisc::InnerR
double InnerR(void) const
Definition
bak_MdcGeomSvc-00-01-39/MdcGeomSvc/MdcGeoMisc.h:43
MdcGeoMisc::InnerTk
double InnerTk(double i)
Definition
MdcGeomSvc-00-01-42/MdcGeomSvc/MdcGeoMisc.h:60
MdcGeoMisc::MdcGeoMisc
MdcGeoMisc(const MdcGeoMisc &e)
Definition
MdcGeomSvc-00-01-42/MdcGeomSvc/MdcGeoMisc.h:16
MdcGeoMisc::LayerNo
int LayerNo(int i)
Definition
MdcGeomSvc-00-01-42/MdcGeomSvc/MdcGeoMisc.h:64
MdcGeoMisc::WireNo
int WireNo(void) const
Definition
bak_MdcGeomSvc-00-01-39/MdcGeomSvc/MdcGeoMisc.h:50
MdcGeoMisc::OuterR
double OuterR(void) const
Definition
bak_MdcGeomSvc-00-01-39/MdcGeomSvc/MdcGeoMisc.h:42
MdcGeoMisc::NFWire
int NFWire(void) const
Definition
bak_MdcGeomSvc-00-01-39/MdcGeomSvc/MdcGeoMisc.h:47
MdcGeoMisc::SWireR
double SWireR(double i)
Definition
MdcGeomSvc-00-01-42/MdcGeomSvc/MdcGeoMisc.h:67
MdcGeoMisc::NSWire
int NSWire(int i)
Definition
MdcGeomSvc-00-01-42/MdcGeomSvc/MdcGeoMisc.h:61
MdcGeoMisc::SWireR
double SWireR(void) const
Definition
bak_MdcGeomSvc-00-01-39/MdcGeomSvc/MdcGeoMisc.h:52
MdcGeoMisc::InnerTk
double InnerTk(void) const
Definition
bak_MdcGeomSvc-00-01-39/MdcGeomSvc/MdcGeoMisc.h:45
MdcGeoMisc::SLayerNo
int SLayerNo(void) const
Definition
bak_MdcGeomSvc-00-01-39/MdcGeomSvc/MdcGeoMisc.h:51
6.6.5.h
Mdc
MdcGeomSvc
MdcGeomSvc-00-01-42
MdcGeomSvc
MdcGeoMisc.h
Generated by
1.12.0