FairShip
Loading...
Searching...
No Matches
strawtubesPoint Class Reference

#include <strawtubesPoint.h>

Inheritance diagram for strawtubesPoint:
Collaboration diagram for strawtubesPoint:

Public Member Functions

 strawtubesPoint ()
 
 strawtubesPoint (Int_t eventID, Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss, Int_t pdgcode, Double_t dist)
 
virtual ~strawtubesPoint ()
 
Double_t dist2Wire () const
 
void extraPrintInfo () const override
 
- Public Member Functions inherited from SHiP::DetectorPoint
 DetectorPoint ()
 
 ~DetectorPoint ()=default
 
 DetectorPoint (Int_t eventID, Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss, Int_t pdgCode, TVector3 Lpos, TVector3 Lmom)
 
 DetectorPoint (Int_t eventID, Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss, Int_t pdgCode)
 
 DetectorPoint (const DetectorPoint &point)=default
 
DetectorPointoperator= (const DetectorPoint &point)=default
 
virtual void Print () const
 
Int_t PdgCode () const
 
TVector3 LastPoint () const
 
TVector3 LastMom () const
 
virtual void extraPrintInfo () const
 

Private Member Functions

 ClassDefOverride (strawtubesPoint, 5)
 

Private Attributes

Double_t fdist2Wire
 

Additional Inherited Members

- Protected Attributes inherited from SHiP::DetectorPoint
Int_t fPdgCode
 
std::array< Double_t, 3 > fLpos
 
std::array< Double_t, 3 > fLmom
 

Detailed Description

Definition at line 14 of file strawtubesPoint.h.

Constructor & Destructor Documentation

◆ strawtubesPoint() [1/2]

strawtubesPoint::strawtubesPoint ( )

Default constructor

Definition at line 13 of file strawtubesPoint.cxx.

◆ strawtubesPoint() [2/2]

strawtubesPoint::strawtubesPoint ( Int_t  eventID,
Int_t  trackID,
Int_t  detID,
TVector3  pos,
TVector3  mom,
Double_t  tof,
Double_t  length,
Double_t  eLoss,
Int_t  pdgcode,
Double_t  dist 
)

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 17 of file strawtubesPoint.cxx.

21 : DetectorPoint(eventID, trackID, detID, pos, mom, tof, length, eLoss,
22 pdgcode, pos, mom),
23 fdist2Wire(dist) {}

◆ ~strawtubesPoint()

strawtubesPoint::~strawtubesPoint ( )
virtual

Destructor

Definition at line 27 of file strawtubesPoint.cxx.

27{}

Member Function Documentation

◆ ClassDefOverride()

strawtubesPoint::ClassDefOverride ( strawtubesPoint  ,
 
)
private

◆ dist2Wire()

Double_t strawtubesPoint::dist2Wire ( ) const
inline

Output to screen

Definition at line 38 of file strawtubesPoint.h.

38{ return fdist2Wire; }

◆ extraPrintInfo()

void strawtubesPoint::extraPrintInfo ( ) const
overridevirtual

Reimplemented from SHiP::DetectorPoint.

Definition at line 30 of file strawtubesPoint.cxx.

30 {
31 LOG(info) << " Position (" << fX << ", " << fY << ", " << fZ << ", "
32 << fdist2Wire << ") cm";
33}

Member Data Documentation

◆ fdist2Wire

Double_t strawtubesPoint::fdist2Wire
private

Definition at line 42 of file strawtubesPoint.h.


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