PandaRoot
PndDiscSensorMCPoint Class Reference

#include <PndDiscSensorMCPoint.h>

Inheritance diagram for PndDiscSensorMCPoint:

Public Member Functions

 PndDiscSensorMCPoint ()
 
 PndDiscSensorMCPoint (Int_t track_id, Int_t det_id, Int_t volume_id, Double_t const &internal_reflection_angle, TVector3 const &pos_in, TVector3 const &mom_in, Double_t const &total_tof, Double_t const &total_length, Double_t const &energy_loss, Double_t const &track_start_time)
 
virtual ~PndDiscSensorMCPoint ()
 
virtual void Print (const Option_t *opt=nullptr) const
 
const Double_t & GetTotalReflectionAngle ()
 FairMCPoint forces the implementation. More...
 
Double_t ComputeWavelenght ()
 
Double_t ComputeTrackTof ()
 

Public Attributes

Int_t volume_id
 
Double_t internal_reflection_angle
 
Double_t track_start_time
 
Int_t my_track_id
 
TVector3 photon_entering_pos
 
TVector3 photon_entering_momentum
 

Detailed Description

Definition at line 17 of file PndDiscSensorMCPoint.h.

Constructor & Destructor Documentation

◆ PndDiscSensorMCPoint() [1/2]

PndDiscSensorMCPoint::PndDiscSensorMCPoint ( )

◆ PndDiscSensorMCPoint() [2/2]

PndDiscSensorMCPoint::PndDiscSensorMCPoint ( Int_t  track_id,
Int_t  det_id,
Int_t  volume_id,
Double_t const &  internal_reflection_angle,
TVector3 const &  pos_in,
TVector3 const &  mom_in,
Double_t const &  total_tof,
Double_t const &  total_length,
Double_t const &  energy_loss,
Double_t const &  track_start_time 
)

◆ ~PndDiscSensorMCPoint()

virtual PndDiscSensorMCPoint::~PndDiscSensorMCPoint ( )
virtual

Member Function Documentation

◆ ComputeTrackTof()

Double_t PndDiscSensorMCPoint::ComputeTrackTof ( )
inline

Definition at line 39 of file PndDiscSensorMCPoint.h.

References track_start_time.

39 { return fTime - track_start_time; }

◆ ComputeWavelenght()

Double_t PndDiscSensorMCPoint::ComputeWavelenght ( )
inline

Definition at line 38 of file PndDiscSensorMCPoint.h.

References sqrt().

38 { return 1.239841939E-6 / sqrt(fPx * fPx + fPy * fPy + fPz * fPz); }
friend F32vec4 sqrt(const F32vec4 &a)
Definition: P4_F32vec4.h:28

◆ GetTotalReflectionAngle()

const Double_t& PndDiscSensorMCPoint::GetTotalReflectionAngle ( )
inline

FairMCPoint forces the implementation.

Definition at line 37 of file PndDiscSensorMCPoint.h.

References internal_reflection_angle.

◆ Print()

virtual void PndDiscSensorMCPoint::Print ( const Option_t *  opt = nullptr) const
virtual

Member Data Documentation

◆ internal_reflection_angle

Double_t PndDiscSensorMCPoint::internal_reflection_angle

Definition at line 42 of file PndDiscSensorMCPoint.h.

Referenced by GetTotalReflectionAngle().

◆ my_track_id

Int_t PndDiscSensorMCPoint::my_track_id

Definition at line 44 of file PndDiscSensorMCPoint.h.

◆ photon_entering_momentum

TVector3 PndDiscSensorMCPoint::photon_entering_momentum

Definition at line 47 of file PndDiscSensorMCPoint.h.

◆ photon_entering_pos

TVector3 PndDiscSensorMCPoint::photon_entering_pos

Definition at line 46 of file PndDiscSensorMCPoint.h.

◆ track_start_time

Double_t PndDiscSensorMCPoint::track_start_time

Definition at line 43 of file PndDiscSensorMCPoint.h.

Referenced by ComputeTrackTof().

◆ volume_id

Int_t PndDiscSensorMCPoint::volume_id

Definition at line 41 of file PndDiscSensorMCPoint.h.


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