BmnRoot
Loading...
Searching...
No Matches
BmnDchPoint.h
Go to the documentation of this file.
1
/*
2
* Updated: 10.09.2019 (D.Baranov)
3
* 'fPlaneNumber' data-member added
4
*/
5
6
// -------------------------------------------------------------------------
7
// ----- BmnDchPoint header file -----
8
// -------------------------------------------------------------------------
9
10
#ifndef BMNDCHPOINT_H
11
#define BMNDCHPOINT_H
12
13
#include "TObject.h"
14
#include "TVector3.h"
15
#include "FairMCPoint.h"
16
17
using namespace
std
;
18
19
class
BmnDchPoint
:
public
FairMCPoint
20
{
21
public
:
31
BmnDchPoint
(Int_t trackID, Int_t detID, TVector3 pos, Double_t radius, TVector3 mom, Double_t tof,
32
Double_t length, Double_t eLoss, Int_t isPrimary, Double_t charge, Int_t pdgId, TVector3 trackPos);
33
BmnDchPoint
(
const
BmnDchPoint
& point) { *
this
= point; };
34
35
BmnDchPoint
();
36
virtual
~BmnDchPoint
();
37
38
Double_t
GetDistance
();
// DCA between track and straw
39
Double_t
GetTrackX
() {
return
fTX
; }
40
Double_t
GetTrackY
() {
return
fTY
; }
41
Double_t
GetTrackZ
() {
return
fTZ
; }
42
Double_t
GetPdgId
() {
return
fPdgId
; }
43
Double_t
GetCharge
() {
return
fCharge
; }
44
Double_t
GetPhi
()
const
{
return
fPhi
; }
//AZ
45
Int_t
GetIsPrimary
() {
return
fIsPrimary
; }
46
Int_t
GetPlaneNumber
() {
return
fPlaneNumber
; }
47
48
void
SetPhi
(Double_t phi) {
fPhi
= phi; }
//AZ
49
void
SetPlaneNumber
(Int_t plane_num) {
fPlaneNumber
= plane_num; }
50
51
// Output to screen
52
virtual
void
Print
(
const
Option_t* opt)
const
;
53
54
protected
:
55
Int_t
fIsPrimary
;
56
Double_t
fCharge
;
57
Double_t
fRadius
;
58
Int_t
fPdgId
;
59
Double_t
fTX
,
fTY
,
fTZ
;
// track coordinates at DCA to straw
60
Double_t
fPhi
;
// tube rotation angle - AZ (interim solution)
61
Int_t
fPlaneNumber
;
// number of an active plane
62
63
ClassDef(
BmnDchPoint
,2)
64
};
65
66
#endif
BmnDchPoint
Definition
BmnDchPoint.h:20
BmnDchPoint::GetPhi
Double_t GetPhi() const
Definition
BmnDchPoint.h:44
BmnDchPoint::BmnDchPoint
BmnDchPoint()
Definition
BmnDchPoint.cxx:9
BmnDchPoint::fTZ
Double_t fTZ
Definition
BmnDchPoint.h:59
BmnDchPoint::GetPdgId
Double_t GetPdgId()
Definition
BmnDchPoint.h:42
BmnDchPoint::GetTrackX
Double_t GetTrackX()
Definition
BmnDchPoint.h:39
BmnDchPoint::fCharge
Double_t fCharge
Definition
BmnDchPoint.h:56
BmnDchPoint::SetPhi
void SetPhi(Double_t phi)
Definition
BmnDchPoint.h:48
BmnDchPoint::fIsPrimary
Int_t fIsPrimary
Definition
BmnDchPoint.h:55
BmnDchPoint::fRadius
Double_t fRadius
Definition
BmnDchPoint.h:57
BmnDchPoint::SetPlaneNumber
void SetPlaneNumber(Int_t plane_num)
Definition
BmnDchPoint.h:49
BmnDchPoint::Print
virtual void Print(const Option_t *opt) const
Definition
BmnDchPoint.cxx:30
BmnDchPoint::GetTrackZ
Double_t GetTrackZ()
Definition
BmnDchPoint.h:41
BmnDchPoint::fPdgId
Int_t fPdgId
Definition
BmnDchPoint.h:58
BmnDchPoint::fTY
Double_t fTY
Definition
BmnDchPoint.h:59
BmnDchPoint::GetPlaneNumber
Int_t GetPlaneNumber()
Definition
BmnDchPoint.h:46
BmnDchPoint::fPhi
Double_t fPhi
Definition
BmnDchPoint.h:60
BmnDchPoint::BmnDchPoint
BmnDchPoint(const BmnDchPoint &point)
Definition
BmnDchPoint.h:33
BmnDchPoint::fTX
Double_t fTX
Definition
BmnDchPoint.h:59
BmnDchPoint::fPlaneNumber
Int_t fPlaneNumber
Definition
BmnDchPoint.h:61
BmnDchPoint::GetCharge
Double_t GetCharge()
Definition
BmnDchPoint.h:43
BmnDchPoint::GetTrackY
Double_t GetTrackY()
Definition
BmnDchPoint.h:40
BmnDchPoint::~BmnDchPoint
virtual ~BmnDchPoint()
Definition
BmnDchPoint.cxx:23
BmnDchPoint::GetDistance
Double_t GetDistance()
Definition
BmnDchPoint.cxx:25
BmnDchPoint::GetIsPrimary
Int_t GetIsPrimary()
Definition
BmnDchPoint.h:45
std
STL namespace.
detectors
dch
BmnDchPoint.h
Generated on Fri May 15 2026 10:40:54 for BmnRoot by
1.9.8