BmnRoot
Loading...
Searching...
No Matches
BmnMwpcPoint.h
Go to the documentation of this file.
1
//------------------------------------------------------------------------------------------------------------------------
2
// -------------------------------------------------------------------------
3
// ----- BmnMWPCPoint header file -----
4
// -------------------------------------------------------------------------
5
6
#ifndef BMNMWPCPOINT_H
7
#define BMNMWPCPOINT_H
8
9
10
#include "TObject.h"
11
#include "TVector3.h"
12
#include "FairMCPoint.h"
13
14
using namespace
std
;
15
16
//------------------------------------------------------------------------------------------------------------------------
17
class
BmnMwpcPoint
:
public
FairMCPoint
18
{
19
20
public
:
21
31
BmnMwpcPoint
(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
BmnMwpcPoint
(
const
BmnMwpcPoint
& point) { *
this
= point; };
34
35
BmnMwpcPoint
();
36
virtual
~BmnMwpcPoint
();
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
void
SetPhi
(Double_t phi) {
fPhi
= phi; }
//AZ
47
48
// Output to screen
49
virtual
void
Print
(
const
Option_t* opt)
const
;
50
protected
:
51
Int_t
fIsPrimary
;
52
Double_t
fCharge
;
53
Double_t
fRadius
;
54
Int_t
fPdgId
;
55
Double_t
fTX
,
fTY
,
fTZ
;
// track coordinates at DCA to straw
56
Double_t
fPhi
;
// tube rotation angle - AZ (interim solution)
57
58
ClassDef(
BmnMwpcPoint
,2)
59
60
};
61
62
//------------------------------------------------------------------------------------------------------------------------
63
#endif
BmnMwpcPoint
Definition
BmnMwpcPoint.h:18
BmnMwpcPoint::fRadius
Double_t fRadius
Definition
BmnMwpcPoint.h:53
BmnMwpcPoint::BmnMwpcPoint
BmnMwpcPoint()
Definition
BmnMwpcPoint.cxx:12
BmnMwpcPoint::fCharge
Double_t fCharge
Definition
BmnMwpcPoint.h:52
BmnMwpcPoint::GetCharge
Double_t GetCharge()
Definition
BmnMwpcPoint.h:43
BmnMwpcPoint::GetTrackY
Double_t GetTrackY()
Definition
BmnMwpcPoint.h:40
BmnMwpcPoint::fTZ
Double_t fTZ
Definition
BmnMwpcPoint.h:55
BmnMwpcPoint::GetPdgId
Double_t GetPdgId()
Definition
BmnMwpcPoint.h:42
BmnMwpcPoint::fIsPrimary
Int_t fIsPrimary
Definition
BmnMwpcPoint.h:51
BmnMwpcPoint::GetTrackZ
Double_t GetTrackZ()
Definition
BmnMwpcPoint.h:41
BmnMwpcPoint::fTY
Double_t fTY
Definition
BmnMwpcPoint.h:55
BmnMwpcPoint::GetPhi
Double_t GetPhi() const
Definition
BmnMwpcPoint.h:44
BmnMwpcPoint::fPhi
Double_t fPhi
Definition
BmnMwpcPoint.h:56
BmnMwpcPoint::GetTrackX
Double_t GetTrackX()
Definition
BmnMwpcPoint.h:39
BmnMwpcPoint::GetIsPrimary
Int_t GetIsPrimary()
Definition
BmnMwpcPoint.h:45
BmnMwpcPoint::fPdgId
Int_t fPdgId
Definition
BmnMwpcPoint.h:54
BmnMwpcPoint::fTX
Double_t fTX
Definition
BmnMwpcPoint.h:55
BmnMwpcPoint::~BmnMwpcPoint
virtual ~BmnMwpcPoint()
Definition
BmnMwpcPoint.cxx:24
BmnMwpcPoint::Print
virtual void Print(const Option_t *opt) const
Definition
BmnMwpcPoint.cxx:31
BmnMwpcPoint::GetDistance
Double_t GetDistance()
Definition
BmnMwpcPoint.cxx:26
BmnMwpcPoint::SetPhi
void SetPhi(Double_t phi)
Definition
BmnMwpcPoint.h:46
BmnMwpcPoint::BmnMwpcPoint
BmnMwpcPoint(const BmnMwpcPoint &point)
Definition
BmnMwpcPoint.h:33
std
STL namespace.
detectors
mwpc
BmnMwpcPoint.h
Generated on Fri May 15 2026 10:40:54 for BmnRoot by
1.9.8