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

#include <EmulsionDetPoint.h>

Inheritance diagram for EmulsionDetPoint:
Collaboration diagram for EmulsionDetPoint:

Public Member Functions

 EmulsionDetPoint ()
 
 EmulsionDetPoint (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)
 
virtual ~EmulsionDetPoint ()
 
virtual void Print (const Option_t *opt) const
 
Int_t PdgCode () const
 
TVector3 LastPoint () const
 
TVector3 LastMom () const
 

Private Member Functions

 EmulsionDetPoint (const EmulsionDetPoint &point)
 
EmulsionDetPoint operator= (const EmulsionDetPoint &point)
 

Private Attributes

Int_t fPdgCode
 
TVector3 fLpos
 
TVector3 fLmom
 

Detailed Description

Definition at line 10 of file EmulsionDetPoint.h.

Constructor & Destructor Documentation

◆ EmulsionDetPoint() [1/3]

EmulsionDetPoint::EmulsionDetPoint ( )

Default constructor

Definition at line 9 of file EmulsionDetPoint.cxx.

10 : FairMCPoint()
11{
12}

◆ EmulsionDetPoint() [2/3]

EmulsionDetPoint::EmulsionDetPoint ( 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 
)

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

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

◆ ~EmulsionDetPoint()

EmulsionDetPoint::~EmulsionDetPoint ( )
virtual

Destructor

Definition at line 27 of file EmulsionDetPoint.cxx.

27{ }

◆ EmulsionDetPoint() [3/3]

EmulsionDetPoint::EmulsionDetPoint ( const EmulsionDetPoint point)
private

Copy constructor

Member Function Documentation

◆ LastMom()

TVector3 EmulsionDetPoint::LastMom ( ) const
inline

Definition at line 42 of file EmulsionDetPoint.h.

42{return fLmom;}

◆ LastPoint()

TVector3 EmulsionDetPoint::LastPoint ( ) const
inline

Definition at line 41 of file EmulsionDetPoint.h.

41{return fLpos;}

◆ operator=()

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

◆ PdgCode()

Int_t EmulsionDetPoint::PdgCode ( ) const
inline

Definition at line 40 of file EmulsionDetPoint.h.

40{return fPdgCode;}

◆ Print()

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

Output to screen

Definition at line 31 of file EmulsionDetPoint.cxx.

32{
33 cout << "-I- EmulsionDetPoint: 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

◆ fLmom

TVector3 EmulsionDetPoint::fLmom
private

Definition at line 48 of file EmulsionDetPoint.h.

◆ fLpos

TVector3 EmulsionDetPoint::fLpos
private

Definition at line 48 of file EmulsionDetPoint.h.

◆ fPdgCode

Int_t EmulsionDetPoint::fPdgCode
private

Definition at line 47 of file EmulsionDetPoint.h.


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