BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnMwpcGeometrySRC.h
Go to the documentation of this file.
1// @(#)bmnroot/mwpc:$Id$
2// Author: Maria Patsyuk <mpatsyuk@mit.edu> 2018-02-10
3
4////////////////////////////////////////////////////////////////////////////////
5// //
6// BmnMwpcGeometrySRC //
7// //
8// A class containing geometry params. of //
9// the Multi Wire Prop. Chambers of the SRC at BM@N experiment //
10// //
11////////////////////////////////////////////////////////////////////////////////
12
13#ifndef BMNMWPCGEOMETRYSRC_H
14#define BMNMWPCGEOMETRYSRC_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 BmnMwpcGeometrySRC : public TNamed
25{
26 public:
28 /** Default constructor **/
29 BmnMwpcGeometrySRC(Int_t periodNum, Int_t runNum); //(Int_t periodNum)
30 /** Destructor **/
32
34
36
38
40
42
44
46
48
50
51 Double_t GetZPlanePos(Int_t chamber, Int_t plane) { return fZPlanePos[chamber][plane]; }
52
57
58 Double_t GetAngleX(Int_t chamber) { return fAngleX[chamber]; }
59
60 Double_t GetAngleY(Int_t chamber) { return fAngleY[chamber]; }
61
62 Double_t GetZRight(Int_t chamber) { return fZright[chamber]; }
63
64 Double_t GetZLeft(Int_t chamber) { return fZleft[chamber]; }
65
66 private:
71 Short_t fTimeBin; // in ns
72 Short_t fNWires; // in one plane
74 Double_t fWireStep; // in cm
75 Double_t fPlaneStep; // in cm
76 Double_t fPlaneHeight; // in cm
77 Double_t fPlaneWidth; // in cm
78 Double_t fSpaceLeft; // in cm
79 Double_t fSpaceRight; // in cm
80
81 Double_t* fAngleX; //!
82 Double_t* fAngleY; //!
83
84 Double_t** fZPlanePos; //! [4][6];
85 Double_t* fZright; //!
86 Double_t* fZleft; //!
87 Double_t* fX; //!
88 Double_t* fY; //!
89
91 // Double_t fDistanceBetweenMWPC;
93
95
99
101};
102
103#endif
bool Bool_t
int Int_t
short Short_t
double Double_t
#define ClassDef(name, id)
Double_t GetAngleX(Int_t chamber)
Double_t * fZright
[4][6];
Double_t GetZRight(Int_t chamber)
Double_t GetTy(Int_t chamber)
Double_t GetTx(Int_t chamber)
Double_t GetAngleY(Int_t chamber)
virtual ~BmnMwpcGeometrySRC()
Destructor.
TVector3 GetChamberCenter(Int_t chamber)
BmnMwpcGeometrySRC(Int_t periodNum, Int_t runNum)
Default constructor.
TVector3 GetAxisPrime(Int_t chamber, Int_t axis)
Double_t GetZPlanePos(Int_t chamber, Int_t plane)
Double_t GetZLeft(Int_t chamber)
Definition json.hpp:4446