BOSS
7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoMisc.h
Go to the documentation of this file.
1
// $Id: MdcGeoMisc.h,v 1.2 2006/11/14 02:33:21 panmh 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:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoMisc.h:8
MdcGeoMisc::FWireR
double FWireR(double i)
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoMisc.h:68
MdcGeoMisc::OuterTk
double OuterTk(double i)
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoMisc.h:59
MdcGeoMisc::operator=
MdcGeoMisc & operator=(const MdcGeoMisc &e)
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoMisc.h:19
MdcGeoMisc::FWireR
double FWireR(void) const
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoMisc.h:53
MdcGeoMisc::InnerR
double InnerR(double i)
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoMisc.h:58
MdcGeoMisc::NFWire
int NFWire(int i)
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoMisc.h:62
MdcGeoMisc::SLayerNo
int SLayerNo(int i)
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoMisc.h:66
MdcGeoMisc::MdcGeoMisc
MdcGeoMisc()
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoMisc.h:12
MdcGeoMisc::~MdcGeoMisc
~MdcGeoMisc()
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoMisc.h:39
MdcGeoMisc::WireNo
int WireNo(int i)
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoMisc.h:65
MdcGeoMisc::NSWire
int NSWire(void) const
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoMisc.h:46
MdcGeoMisc::OuterTk
double OuterTk(void) const
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoMisc.h:44
MdcGeoMisc::OuterR
double OuterR(double i)
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoMisc.h:57
MdcGeoMisc::LayerNo
int LayerNo(void) const
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoMisc.h:49
MdcGeoMisc::InnerR
double InnerR(void) const
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoMisc.h:43
MdcGeoMisc::InnerTk
double InnerTk(double i)
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoMisc.h:60
MdcGeoMisc::MdcGeoMisc
MdcGeoMisc(const MdcGeoMisc &e)
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoMisc.h:16
MdcGeoMisc::LayerNo
int LayerNo(int i)
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoMisc.h:64
MdcGeoMisc::WireNo
int WireNo(void) const
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoMisc.h:50
MdcGeoMisc::OuterR
double OuterR(void) const
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoMisc.h:42
MdcGeoMisc::NFWire
int NFWire(void) const
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoMisc.h:47
MdcGeoMisc::SWireR
double SWireR(double i)
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoMisc.h:67
MdcGeoMisc::NSWire
int NSWire(int i)
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoMisc.h:61
MdcGeoMisc::SWireR
double SWireR(void) const
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoMisc.h:52
MdcGeoMisc::InnerTk
double InnerTk(void) const
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoMisc.h:45
MdcGeoMisc::SLayerNo
int SLayerNo(void) const
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoMisc.h:51
source
InstallArea
include
MdcGeomSvc
MdcGeomSvc
MdcGeoMisc.h
Generated by
1.9.6