SND@LHC Software
Loading...
Searching...
No Matches
MuFilterPoint Class Reference

#include <MuFilterPoint.h>

Inheritance diagram for MuFilterPoint:
Collaboration diagram for MuFilterPoint:

Public Member Functions

 MuFilterPoint ()
 
 MuFilterPoint (Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss, Int_t pdgCode)
 
virtual ~MuFilterPoint ()
 
virtual void Print (const Option_t *opt) const
 
Int_t PdgCode () const
 

Private Member Functions

 MuFilterPoint (const MuFilterPoint &point)
 
MuFilterPoint operator= (const MuFilterPoint &point)
 

Private Attributes

Int_t fPdgCode
 

Detailed Description

Definition at line 10 of file MuFilterPoint.h.

Constructor & Destructor Documentation

◆ MuFilterPoint() [1/3]

MuFilterPoint::MuFilterPoint ( )

Default constructor

Definition at line 9 of file MuFilterPoint.cxx.

10 : FairMCPoint()
11{
12}

◆ MuFilterPoint() [2/3]

MuFilterPoint::MuFilterPoint ( Int_t  trackID,
Int_t  detID,
TVector3  pos,
TVector3  mom,
Double_t  tof,
Double_t  length,
Double_t  eLoss,
Int_t  pdgCode 
)

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 MuFilterPoint.cxx.

20 : FairMCPoint(trackID, detID, pos, mom, tof, length, eLoss),fPdgCode(pdgcode)
21{ }

◆ ~MuFilterPoint()

MuFilterPoint::~MuFilterPoint ( )
virtual

Destructor

Definition at line 27 of file MuFilterPoint.cxx.

27{ }

◆ MuFilterPoint() [3/3]

MuFilterPoint::MuFilterPoint ( const MuFilterPoint point)
private

Copy constructor

Member Function Documentation

◆ operator=()

MuFilterPoint MuFilterPoint::operator= ( const MuFilterPoint point)
private

◆ PdgCode()

Int_t MuFilterPoint::PdgCode ( ) const
inline

Definition at line 40 of file MuFilterPoint.h.

40{return fPdgCode;}

◆ Print()

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

Output to screen

Definition at line 31 of file MuFilterPoint.cxx.

32{
33 cout << "-I- MuFilterPoint: box point for track " << fTrackID
34 << " in detector " << fDetectorID << endl;
35 cout << " Position (" << fX << ", " << fY << ", " << fZ
36 << ") cm" << endl;
37 cout << " Momentum (" << fPx << ", " << fPy << ", " << fPz
38 << ") GeV" << endl;
39 cout << " Time " << fTime << " ns, Length " << fLength
40 << " cm, Energy loss " << fELoss*1.0e06 << " keV" << endl;
41}

Member Data Documentation

◆ fPdgCode

Int_t MuFilterPoint::fPdgCode
private

Definition at line 45 of file MuFilterPoint.h.


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