BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
BmnMwpcGeometry.h
Go to the documentation of this file.
1
// @(#)bmnroot/mwpc:$Id$
2
// Author: Pavel Batyuk (VBLHEP) <pavel.batyuk@jinr.ru> 2017-02-10
3
4
////////////////////////////////////////////////////////////////////////////////
5
// //
6
// BmnMwpcGeometry //
7
// //
8
// A class containing geometry params. of //
9
// the Multi Wire Prop. Chambers of the BM@N experiment //
10
// //
11
////////////////////////////////////////////////////////////////////////////////
12
13
#ifndef BMNMWPCGEOMETRY_H
14
#define BMNMWPCGEOMETRY_H
15
16
#include <
TMath.h
>
17
#include <
TNamed.h
>
18
#include <
TVector3.h
>
19
#include <iostream>
20
21
using namespace
std
;
22
using namespace
TMath
;
23
24
class
BmnMwpcGeometry
:
public
TNamed
25
{
26
public
:
27
/** Default constructor **/
28
BmnMwpcGeometry
();
29
30
/** Destructor **/
31
virtual
~BmnMwpcGeometry
();
32
33
Short_t
GetNChambers
() {
return
fNChambers
; }
34
35
Short_t
GetNPlanes
() {
return
fNPlanes
; }
36
37
Short_t
GetTimeBin
() {
return
fTimeBin
; }
38
39
Short_t
GetNWires
() {
return
fNWires
; }
40
41
Double_t
GetAngleStep
() {
return
fAngleStep
; }
42
43
Double_t
GetWireStep
() {
return
fWireStep
; }
44
45
Double_t
GetPlaneStep
() {
return
fPlaneStep
; }
46
47
Double_t
GetPlaneHeight
() {
return
fPlaneHeight
; }
48
49
Double_t
GetPlaneWidth
() {
return
fPlaneWidth
; }
50
51
Double_t
GetZPlanePos
(
Int_t
chamber,
Int_t
plane) {
return
zPlanePos
[chamber][plane]; }
52
53
TVector3
GetChamberCenter
(
Int_t
chamber);
54
55
Double_t
GetZRight
(
Int_t
chamber) {
return
zRight
[chamber]; }
56
57
Double_t
GetZLeft
(
Int_t
chamber) {
return
zLeft
[chamber]; }
58
59
private
:
60
Short_t
fNChambers
;
61
Short_t
fNPlanes
;
62
Short_t
fTimeBin
;
// in ns
63
Short_t
fNWires
;
// in one plane
64
Double_t
fAngleStep
;
65
Double_t
fWireStep
;
// in cm
66
Double_t
fPlaneStep
;
// in cm
67
Double_t
fPlaneHeight
;
// in cm
68
Double_t
fPlaneWidth
;
// in cm
69
Double_t
fSpaceLeft
;
// in cm
70
Double_t
fSpaceRight
;
// in cm
71
72
Double_t
zPlanePos
[2][6];
73
Double_t
zRight
[2];
74
Double_t
zLeft
[2];
75
76
Double_t
fChamberWidth
;
77
Double_t
fDistanceBetweenMWPC
;
78
Double_t
fZofMWPC
[4];
79
80
Bool_t
fDebug
;
81
82
ClassDef
(
BmnMwpcGeometry
, 1);
83
};
84
85
#endif
Bool_t
bool Bool_t
Int_t
int Int_t
Short_t
short Short_t
Double_t
double Double_t
ClassDef
#define ClassDef(name, id)
TMath.h
TNamed.h
TVector3.h
BmnMwpcGeometry
Definition
BmnMwpcGeometry.h:25
BmnMwpcGeometry::GetZRight
Double_t GetZRight(Int_t chamber)
Definition
BmnMwpcGeometry.h:55
BmnMwpcGeometry::GetPlaneWidth
Double_t GetPlaneWidth()
Definition
BmnMwpcGeometry.h:49
BmnMwpcGeometry::GetTimeBin
Short_t GetTimeBin()
Definition
BmnMwpcGeometry.h:37
BmnMwpcGeometry::fNChambers
Short_t fNChambers
Definition
BmnMwpcGeometry.h:60
BmnMwpcGeometry::fDebug
Bool_t fDebug
Definition
BmnMwpcGeometry.h:80
BmnMwpcGeometry::GetZLeft
Double_t GetZLeft(Int_t chamber)
Definition
BmnMwpcGeometry.h:57
BmnMwpcGeometry::fNWires
Short_t fNWires
Definition
BmnMwpcGeometry.h:63
BmnMwpcGeometry::GetChamberCenter
TVector3 GetChamberCenter(Int_t chamber)
BmnMwpcGeometry::GetPlaneStep
Double_t GetPlaneStep()
Definition
BmnMwpcGeometry.h:45
BmnMwpcGeometry::fTimeBin
Short_t fTimeBin
Definition
BmnMwpcGeometry.h:62
BmnMwpcGeometry::BmnMwpcGeometry
BmnMwpcGeometry()
Default constructor.
BmnMwpcGeometry::fPlaneStep
Double_t fPlaneStep
Definition
BmnMwpcGeometry.h:66
BmnMwpcGeometry::fAngleStep
Double_t fAngleStep
Definition
BmnMwpcGeometry.h:64
BmnMwpcGeometry::GetWireStep
Double_t GetWireStep()
Definition
BmnMwpcGeometry.h:43
BmnMwpcGeometry::fPlaneHeight
Double_t fPlaneHeight
Definition
BmnMwpcGeometry.h:67
BmnMwpcGeometry::fNPlanes
Short_t fNPlanes
Definition
BmnMwpcGeometry.h:61
BmnMwpcGeometry::fZofMWPC
Double_t fZofMWPC[4]
Definition
BmnMwpcGeometry.h:78
BmnMwpcGeometry::GetPlaneHeight
Double_t GetPlaneHeight()
Definition
BmnMwpcGeometry.h:47
BmnMwpcGeometry::zPlanePos
Double_t zPlanePos[2][6]
Definition
BmnMwpcGeometry.h:72
BmnMwpcGeometry::GetNWires
Short_t GetNWires()
Definition
BmnMwpcGeometry.h:39
BmnMwpcGeometry::fPlaneWidth
Double_t fPlaneWidth
Definition
BmnMwpcGeometry.h:68
BmnMwpcGeometry::GetAngleStep
Double_t GetAngleStep()
Definition
BmnMwpcGeometry.h:41
BmnMwpcGeometry::GetNChambers
Short_t GetNChambers()
Definition
BmnMwpcGeometry.h:33
BmnMwpcGeometry::GetNPlanes
Short_t GetNPlanes()
Definition
BmnMwpcGeometry.h:35
BmnMwpcGeometry::GetZPlanePos
Double_t GetZPlanePos(Int_t chamber, Int_t plane)
Definition
BmnMwpcGeometry.h:51
BmnMwpcGeometry::fSpaceLeft
Double_t fSpaceLeft
Definition
BmnMwpcGeometry.h:69
BmnMwpcGeometry::fDistanceBetweenMWPC
Double_t fDistanceBetweenMWPC
Definition
BmnMwpcGeometry.h:77
BmnMwpcGeometry::fSpaceRight
Double_t fSpaceRight
Definition
BmnMwpcGeometry.h:70
BmnMwpcGeometry::fChamberWidth
Double_t fChamberWidth
Definition
BmnMwpcGeometry.h:76
BmnMwpcGeometry::fWireStep
Double_t fWireStep
Definition
BmnMwpcGeometry.h:65
BmnMwpcGeometry::~BmnMwpcGeometry
virtual ~BmnMwpcGeometry()
Destructor.
BmnMwpcGeometry::zLeft
Double_t zLeft[2]
Definition
BmnMwpcGeometry.h:74
BmnMwpcGeometry::zRight
Double_t zRight[2]
Definition
BmnMwpcGeometry.h:73
TNamed
TVector3
TMath
std
Definition
json.hpp:4446
install
include
BmnMwpcGeometry.h
Generated on
for BmnRoot by
1.17.0