CbmRoot
Loading...
Searching...
No Matches
CbmPsdPoint Class Reference

#include <CbmPsdPoint.h>

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

Public Member Functions

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

Private Attributes

int32_t fModuleID
 

Detailed Description

CbmPsdPoint.h

Author
V. Friese

Interception of MC track with the plane representing the ECAL.

Definition at line 28 of file CbmPsdPoint.h.

Constructor & Destructor Documentation

◆ CbmPsdPoint() [1/2]

CbmPsdPoint::CbmPsdPoint ( )

Default constructor

Definition at line 18 of file CbmPsdPoint.cxx.

◆ CbmPsdPoint() [2/2]

CbmPsdPoint::CbmPsdPoint ( int32_t trackID,
int32_t detID,
TVector3 pos,
TVector3 mom,
double tof,
double length,
double 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 23 of file CbmPsdPoint.cxx.

◆ ~CbmPsdPoint()

CbmPsdPoint::~CbmPsdPoint ( )
virtual

Copy constructor Destructor

Definition at line 33 of file CbmPsdPoint.cxx.

Member Function Documentation

◆ GetModuleID()

int32_t CbmPsdPoint::GetModuleID ( ) const
inline

Accessors

Definition at line 61 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 38 of file CbmPsdPoint.cxx.

References ToString().

Referenced by TEST().

◆ SetModuleID()

void CbmPsdPoint::SetModuleID ( int32_t mod)
inline

Modifiers

Definition at line 59 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

int32_t CbmPsdPoint::fModuleID
private

Definition at line 66 of file CbmPsdPoint.h.

Referenced by GetModuleID(), and SetModuleID().


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