BmnRoot
Loading...
Searching...
No Matches
BmnMwpcPoint Class Reference

#include <BmnMwpcPoint.h>

Inheritance diagram for BmnMwpcPoint:
[legend]
Collaboration diagram for BmnMwpcPoint:
[legend]

Public Member Functions

 BmnMwpcPoint (Int_t trackID, Int_t detID, TVector3 pos, Double_t radius, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss, Int_t isPrimary, Double_t charge, Int_t pdgId, TVector3 trackPos)
 
 BmnMwpcPoint (const BmnMwpcPoint &point)
 
 BmnMwpcPoint ()
 
virtual ~BmnMwpcPoint ()
 
Double_t GetDistance ()
 
Double_t GetTrackX ()
 
Double_t GetTrackY ()
 
Double_t GetTrackZ ()
 
Double_t GetPdgId ()
 
Double_t GetCharge ()
 
Double_t GetPhi () const
 
Int_t GetIsPrimary ()
 
void SetPhi (Double_t phi)
 
virtual void Print (const Option_t *opt) const
 
 BmnMwpcPoint (Int_t trackID, Int_t detID, TVector3 pos, Double_t radius, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss, Int_t isPrimary, Double_t charge, Int_t pdgId, TVector3 trackPos)
 
 BmnMwpcPoint (const BmnMwpcPoint &point)
 
 BmnMwpcPoint ()
 
virtual ~BmnMwpcPoint ()
 
Double_t GetDistance ()
 
Double_t GetTrackX ()
 
Double_t GetTrackY ()
 
Double_t GetTrackZ ()
 
Double_t GetPdgId ()
 
Double_t GetCharge ()
 
Double_t GetPhi () const
 
Int_t GetIsPrimary ()
 
void SetPhi (Double_t phi)
 
virtual void Print (const Option_t *opt) const
 

Protected Attributes

Int_t fIsPrimary
 
Double_t fCharge
 
Double_t fRadius
 
Int_t fPdgId
 
Double_t fTX
 
Double_t fTY
 
Double_t fTZ
 
Double_t fPhi
 

Detailed Description

Definition at line 17 of file BmnMwpcPoint.h.

Constructor & Destructor Documentation

◆ BmnMwpcPoint() [1/6]

BmnMwpcPoint::BmnMwpcPoint ( Int_t  trackID,
Int_t  detID,
TVector3  pos,
Double_t  radius,
TVector3  mom,
Double_t  tof,
Double_t  length,
Double_t  eLoss,
Int_t  isPrimary,
Double_t  charge,
Int_t  pdgId,
TVector3  trackPos 
)

Constructor with arguments

Parameters
trackIDIndex of MCTrack
detIDDetector ID
posCcoordinates at entrance to active volume [cm]
momMomentum of track at entrance [GeV]
tofTime since event start [ns]
lengthTrack length since creation [cm]
eLossEnergy deposit [GeV]

Definition at line 14 of file BmnMwpcPoint.cxx.

References fTX, fTY, and fTZ.

◆ BmnMwpcPoint() [2/6]

BmnMwpcPoint::BmnMwpcPoint ( const BmnMwpcPoint point)
inline

Definition at line 33 of file BmnMwpcPoint.h.

◆ BmnMwpcPoint() [3/6]

BmnMwpcPoint::BmnMwpcPoint ( )

Definition at line 12 of file BmnMwpcPoint.cxx.

◆ ~BmnMwpcPoint() [1/2]

BmnMwpcPoint::~BmnMwpcPoint ( )
virtual

Definition at line 24 of file BmnMwpcPoint.cxx.

◆ BmnMwpcPoint() [4/6]

BmnMwpcPoint::BmnMwpcPoint ( Int_t  trackID,
Int_t  detID,
TVector3  pos,
Double_t  radius,
TVector3  mom,
Double_t  tof,
Double_t  length,
Double_t  eLoss,
Int_t  isPrimary,
Double_t  charge,
Int_t  pdgId,
TVector3  trackPos 
)

Constructor with arguments

Parameters
trackIDIndex of MCTrack
detIDDetector ID
posCcoordinates at entrance to active volume [cm]
momMomentum of track at entrance [GeV]
tofTime since event start [ns]
lengthTrack length since creation [cm]
eLossEnergy deposit [GeV]

◆ BmnMwpcPoint() [5/6]

BmnMwpcPoint::BmnMwpcPoint ( const BmnMwpcPoint point)
inline

Definition at line 33 of file BmnMwpcPoint.h.

◆ BmnMwpcPoint() [6/6]

BmnMwpcPoint::BmnMwpcPoint ( )

◆ ~BmnMwpcPoint() [2/2]

virtual BmnMwpcPoint::~BmnMwpcPoint ( )
virtual

Member Function Documentation

◆ GetCharge() [1/2]

Double_t BmnMwpcPoint::GetCharge ( )
inline

Definition at line 43 of file BmnMwpcPoint.h.

References fCharge.

Referenced by BmnMwpcHitProducer::ProcessPoints().

◆ GetCharge() [2/2]

Double_t BmnMwpcPoint::GetCharge ( )
inline

Definition at line 43 of file BmnMwpcPoint.h.

References fCharge.

◆ GetDistance() [1/2]

Double_t BmnMwpcPoint::GetDistance ( )

Definition at line 26 of file BmnMwpcPoint.cxx.

References dist(), fTX, fTY, and fTZ.

◆ GetDistance() [2/2]

Double_t BmnMwpcPoint::GetDistance ( )

◆ GetIsPrimary() [1/2]

Int_t BmnMwpcPoint::GetIsPrimary ( )
inline

Definition at line 45 of file BmnMwpcPoint.h.

References fIsPrimary.

Referenced by BmnMwpcHitProducer::ProcessPoints().

◆ GetIsPrimary() [2/2]

Int_t BmnMwpcPoint::GetIsPrimary ( )
inline

Definition at line 45 of file BmnMwpcPoint.h.

References fIsPrimary.

◆ GetPdgId() [1/2]

Double_t BmnMwpcPoint::GetPdgId ( )
inline

Definition at line 42 of file BmnMwpcPoint.h.

References fPdgId.

Referenced by BmnMwpcHitProducer::ProcessPoints().

◆ GetPdgId() [2/2]

Double_t BmnMwpcPoint::GetPdgId ( )
inline

Definition at line 42 of file BmnMwpcPoint.h.

References fPdgId.

◆ GetPhi() [1/2]

Double_t BmnMwpcPoint::GetPhi ( ) const
inline

Definition at line 44 of file BmnMwpcPoint.h.

References fPhi.

◆ GetPhi() [2/2]

Double_t BmnMwpcPoint::GetPhi ( ) const
inline

Definition at line 44 of file BmnMwpcPoint.h.

References fPhi.

◆ GetTrackX() [1/2]

Double_t BmnMwpcPoint::GetTrackX ( )
inline

Definition at line 39 of file BmnMwpcPoint.h.

References fTX.

◆ GetTrackX() [2/2]

Double_t BmnMwpcPoint::GetTrackX ( )
inline

Definition at line 39 of file BmnMwpcPoint.h.

References fTX.

◆ GetTrackY() [1/2]

Double_t BmnMwpcPoint::GetTrackY ( )
inline

Definition at line 40 of file BmnMwpcPoint.h.

References fTY.

◆ GetTrackY() [2/2]

Double_t BmnMwpcPoint::GetTrackY ( )
inline

Definition at line 40 of file BmnMwpcPoint.h.

References fTY.

◆ GetTrackZ() [1/2]

Double_t BmnMwpcPoint::GetTrackZ ( )
inline

Definition at line 41 of file BmnMwpcPoint.h.

References fTZ.

◆ GetTrackZ() [2/2]

Double_t BmnMwpcPoint::GetTrackZ ( )
inline

Definition at line 41 of file BmnMwpcPoint.h.

References fTZ.

◆ Print() [1/2]

void BmnMwpcPoint::Print ( const Option_t *  opt) const
virtual

Definition at line 31 of file BmnMwpcPoint.cxx.

◆ Print() [2/2]

virtual void BmnMwpcPoint::Print ( const Option_t *  opt) const
virtual

◆ SetPhi() [1/2]

void BmnMwpcPoint::SetPhi ( Double_t  phi)
inline

Definition at line 46 of file BmnMwpcPoint.h.

References fPhi.

Referenced by BmnMwpc::ProcessHits().

◆ SetPhi() [2/2]

void BmnMwpcPoint::SetPhi ( Double_t  phi)
inline

Definition at line 46 of file BmnMwpcPoint.h.

References fPhi.

Member Data Documentation

◆ fCharge

Double_t BmnMwpcPoint::fCharge
protected

Definition at line 52 of file BmnMwpcPoint.h.

Referenced by GetCharge().

◆ fIsPrimary

Int_t BmnMwpcPoint::fIsPrimary
protected

Definition at line 51 of file BmnMwpcPoint.h.

Referenced by GetIsPrimary().

◆ fPdgId

Int_t BmnMwpcPoint::fPdgId
protected

Definition at line 54 of file BmnMwpcPoint.h.

Referenced by GetPdgId().

◆ fPhi

Double_t BmnMwpcPoint::fPhi
protected

Definition at line 56 of file BmnMwpcPoint.h.

Referenced by GetPhi(), and SetPhi().

◆ fRadius

Double_t BmnMwpcPoint::fRadius
protected

Definition at line 53 of file BmnMwpcPoint.h.

◆ fTX

Double_t BmnMwpcPoint::fTX
protected

Definition at line 55 of file BmnMwpcPoint.h.

Referenced by BmnMwpcPoint(), GetDistance(), and GetTrackX().

◆ fTY

Double_t BmnMwpcPoint::fTY
protected

Definition at line 55 of file BmnMwpcPoint.h.

Referenced by BmnMwpcPoint(), GetDistance(), and GetTrackY().

◆ fTZ

Double_t BmnMwpcPoint::fTZ
protected

Definition at line 55 of file BmnMwpcPoint.h.

Referenced by BmnMwpcPoint(), GetDistance(), and GetTrackZ().


The documentation for this class was generated from the following files: