FairShip
Loading...
Searching...
No Matches
vetoPoint Class Reference

#include <vetoPoint.h>

Inheritance diagram for vetoPoint:
Collaboration diagram for vetoPoint:

Public Member Functions

 vetoPoint ()
 
virtual ~vetoPoint ()
 
void extraPrintInfo () const override
 
- Public Member Functions inherited from SHiP::DetectorPoint
 DetectorPoint ()
 
 ~DetectorPoint ()=default
 
 DetectorPoint (Int_t eventID, 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)
 
 DetectorPoint (Int_t eventID, Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss, Int_t pdgCode)
 
 DetectorPoint (const DetectorPoint &point)=default
 
DetectorPointoperator= (const DetectorPoint &point)=default
 
virtual void Print () const
 
Int_t PdgCode () const
 
TVector3 LastPoint () const
 
TVector3 LastMom () const
 
virtual void extraPrintInfo () const
 

Additional Inherited Members

- Protected Attributes inherited from SHiP::DetectorPoint
Int_t fPdgCode
 
std::array< Double_t, 3 > fLpos
 
std::array< Double_t, 3 > fLmom
 

Detailed Description

Definition at line 14 of file vetoPoint.h.

Constructor & Destructor Documentation

◆ vetoPoint()

vetoPoint::vetoPoint ( )

Default constructor

Definition at line 12 of file vetoPoint.cxx.

◆ ~vetoPoint()

vetoPoint::~vetoPoint ( )
virtual

Constructor with arguments

Parameters
trackIDIndex of MCTrack
detIDDetector ID for LiSc: segment T1 (seg=1), segment T2 (seg=2), normal detector (c=0) and corner detector (c=1), sequential number nr + 100000*seg + 10000*c;
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] Destructor

Definition at line 16 of file vetoPoint.cxx.

16{}

Member Function Documentation

◆ extraPrintInfo()

void vetoPoint::extraPrintInfo ( ) const
overridevirtual

Reimplemented from SHiP::DetectorPoint.

Definition at line 21 of file vetoPoint.cxx.

21 {
22 LOG(info) << "This is the veto detector";
23}

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