CbmRoot
CbmPsdPoint Class Reference

#include <CbmPsdPoint.h>

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

Public Member Functions

 CbmPsdPoint ()
 
 CbmPsdPoint (Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss)
 
virtual ~CbmPsdPoint ()
 
virtual void Print (const Option_t *opt) const
 
void SetModuleID (Int_t mod)
 
Int_t GetModuleID () const
 
std::string ToString () const
 

Private Attributes

Int_t fModuleID
 

Detailed Description

CbmPsdPoint.h

Author
V. Friese

Interception of MC track with the plane representing the ECAL.

Definition at line 24 of file CbmPsdPoint.h.

Constructor & Destructor Documentation

◆ CbmPsdPoint() [1/2]

CbmPsdPoint::CbmPsdPoint ( )

Default constructor

Definition at line 14 of file CbmPsdPoint.cxx.

◆ CbmPsdPoint() [2/2]

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

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 19 of file CbmPsdPoint.cxx.

◆ ~CbmPsdPoint()

CbmPsdPoint::~CbmPsdPoint ( )
virtual

Copy constructor Destructor

Definition at line 31 of file CbmPsdPoint.cxx.

Member Function Documentation

◆ GetModuleID()

Int_t CbmPsdPoint::GetModuleID ( ) const
inline

Accessors

Definition at line 63 of file CbmPsdPoint.h.

References fModuleID.

Referenced by comparePsdPointDataMembers(), CbmPsdIdealDigitizer::Exec(), and CbmPsdSimpleDigitizer::Exec().

◆ Print()

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

Output to screen

Definition at line 36 of file CbmPsdPoint.cxx.

References ToString().

Referenced by TEST().

◆ SetModuleID()

void CbmPsdPoint::SetModuleID ( Int_t  mod)
inline

Modifiers

Definition at line 61 of file CbmPsdPoint.h.

References fModuleID.

Referenced by CbmPsdMC::ProcessHits(), and TEST().

◆ ToString()

std::string CbmPsdPoint::ToString ( ) const

Definition at line 40 of file CbmPsdPoint.cxx.

Referenced by Print(), and TEST().

Member Data Documentation

◆ fModuleID

Int_t CbmPsdPoint::fModuleID
private

Definition at line 68 of file CbmPsdPoint.h.

Referenced by GetModuleID(), and SetModuleID().


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