BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
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
21using namespace std;
22using namespace TMath;
23
24class BmnMwpcGeometry : public TNamed
25{
26 public:
27 /** Default constructor **/
29
30 /** Destructor **/
32
34
36
38
40
42
44
46
48
50
51 Double_t GetZPlanePos(Int_t chamber, Int_t plane) { return zPlanePos[chamber][plane]; }
52
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:
62 Short_t fTimeBin; // in ns
63 Short_t fNWires; // in one plane
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];
74 Double_t zLeft[2];
75
79
81
83};
84
85#endif
bool Bool_t
int Int_t
short Short_t
double Double_t
#define ClassDef(name, id)
Double_t GetZRight(Int_t chamber)
Double_t GetPlaneWidth()
Double_t GetZLeft(Int_t chamber)
TVector3 GetChamberCenter(Int_t chamber)
Double_t GetPlaneStep()
BmnMwpcGeometry()
Default constructor.
Double_t GetWireStep()
Double_t fZofMWPC[4]
Double_t GetPlaneHeight()
Double_t zPlanePos[2][6]
Double_t GetAngleStep()
Short_t GetNChambers()
Double_t GetZPlanePos(Int_t chamber, Int_t plane)
Double_t fDistanceBetweenMWPC
virtual ~BmnMwpcGeometry()
Destructor.
Double_t zLeft[2]
Double_t zRight[2]
Definition json.hpp:4446