#include <PndGemMCPoint.h>
Definition at line 32 of file PndGemMCPoint.h.
PndGemMCPoint::PndGemMCPoint |
( |
| ) |
|
PndGemMCPoint::PndGemMCPoint |
( |
Int_t |
trackID, |
|
|
Int_t |
detID, |
|
|
Int_t |
sensID, |
|
|
TVector3 |
posIn, |
|
|
TVector3 |
posOut, |
|
|
TVector3 |
momIn, |
|
|
TVector3 |
momOut, |
|
|
Double_t |
tof, |
|
|
Double_t |
length, |
|
|
Double_t |
eLoss |
|
) |
| |
Constructor with arguments
- Parameters
-
trackID | Index of MCTrack |
detID | Detector ID |
sensID | Sensor ID |
posIn | Coordinates of ingoing point[cm] |
posOut | Coordinates of outgoing point[cm] |
momIn | Momentum of track at entrance [GeV] |
momOut | Momentum of track at exit [GeV] |
tof | Time since event start [ns] |
length | Track length since creation [cm] |
eLoss | Energy deposit [GeV] |
Definition at line 24 of file PndGemMCPoint.cxx.
28 : FairMCPoint(trackID, detID, posIn, momIn, tof, length, eLoss) ,
37 SetLink(FairLink(
"MCTrack", trackID));
PndGemMCPoint::~PndGemMCPoint |
( |
| ) |
|
|
virtual |
TVector3 PndGemMCPoint::GetPosition |
( |
| ) |
const |
|
inline |
TVector3 PndGemMCPoint::GetPositionOut |
( |
| ) |
const |
|
inline |
Double_t PndGemMCPoint::GetPxOut |
( |
| ) |
const |
|
inline |
Double_t PndGemMCPoint::GetPyOut |
( |
| ) |
const |
|
inline |
Double_t PndGemMCPoint::GetPzOut |
( |
| ) |
const |
|
inline |
Int_t PndGemMCPoint::GetSensorId |
( |
| ) |
const |
|
inline |
Definition at line 90 of file PndGemMCPoint.h.
Referenced by PndGemSmearingTask::CalcGFDetPlane(), PndGemDigitize::DigitizeEvent(), PndGemDigitize::DigitizeRealisticEvent(), PndTrkGemCombinatorial::DrawMCPoints(), MyMainFrame::DrawPoints(), PndGemFindHitsQA::Exec(), PndGemIdealHitProducer::Exec(), PndGemMatchHits::Exec(), PndGemMagneticFieldVsTrackParameters::Fill1StationHistograms(), PndGemSmearingTask::InitTransMat(), PndGemTrackFinderQA::PrepareMCTracks(), PndGemTrackFinderOnHits::PrintMCTrackSegments(), PndGemTrackFinderOnHitsTB::PrintMCTrackSegments(), and PndGemDigitize::SimulateGaussianResponse().
Double_t PndGemMCPoint::GetXOut |
( |
| ) |
const |
|
inline |
Double_t PndGemMCPoint::GetYOut |
( |
| ) |
const |
|
inline |
Double_t PndGemMCPoint::GetZOut |
( |
| ) |
const |
|
inline |
void PndGemMCPoint::MomentumOut |
( |
TVector3 & |
mom | ) |
const |
|
inline |
void PndGemMCPoint::PositionOut |
( |
TVector3 & |
pos | ) |
const |
|
inline |
void PndGemMCPoint::Print |
( |
const Option_t * |
opt = 0 | ) |
const |
|
virtual |
Output to screen
Definition at line 51 of file PndGemMCPoint.cxx.
52 std::cout << *
this <<
" opt = " << opt << std::endl;
void PndGemMCPoint::SetMomentumOut |
( |
TVector3 |
mom | ) |
|
|
inline |
void PndGemMCPoint::SetPositionOut |
( |
TVector3 |
pos | ) |
|
|
inline |
void PndGemMCPoint::SetSensorId |
( |
Int_t |
sensId | ) |
|
|
inline |
Definition at line 34 of file PndGemMCPoint.h.
35 out <<
"-I- PndGemMCPoint: PndGem Point for track " << point.GetTrackID()
36 <<
" in detector " << point.GetDetectorID() <<
" with sensorID "
38 out <<
" Position in (" << point.GetX() <<
", " << point.GetY() <<
", " << point.GetZ() <<
") cm" << std::endl;
39 out <<
" Position out (" << point.
GetXOut() <<
", " << point.
GetYOut() <<
", " << point.
GetZOut() <<
") cm" << std::endl;
40 out <<
" Momentum (" << point.GetPx() <<
", " << point.GetPy() <<
", " << point.GetPz()
41 <<
") GeV" << std::endl;
42 out <<
" Time " << point.GetTime() <<
" ns, Length " << point.GetLength()
43 <<
" cm, Energy loss " << point.GetEnergyLoss()*1.0e06 <<
" keV" << std::endl;
Int_t GetSensorId() const
Double32_t PndGemMCPoint::fPxfOut |
|
protected |
Double32_t PndGemMCPoint::fPyfOut |
|
protected |
Double32_t PndGemMCPoint::fPzfOut |
|
protected |
Int_t PndGemMCPoint::fSensorId |
|
protected |
Double32_t PndGemMCPoint::fXfOut |
|
protected |
Double32_t PndGemMCPoint::fYfOut |
|
protected |
Double32_t PndGemMCPoint::fZfOut |
|
protected |
The documentation for this class was generated from the following files: