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

Track crossing of one of the vacuum scoring planes around the UBT. More...

#include <UpstreamTaggerScoringPoint.h>

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

Public Member Functions

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

Track crossing of one of the vacuum scoring planes around the UBT.

Position, momentum and time are those at the end of the track's first step in the plane.

Definition at line 16 of file UpstreamTaggerScoringPoint.h.

Constructor & Destructor Documentation

◆ UpstreamTaggerScoringPoint()

UpstreamTaggerScoringPoint::UpstreamTaggerScoringPoint ( )

Default constructor

Definition at line 10 of file UpstreamTaggerScoringPoint.cxx.

11 : SHiP::DetectorPoint() {}

◆ ~UpstreamTaggerScoringPoint()

UpstreamTaggerScoringPoint::~UpstreamTaggerScoringPoint ( )
overridedefault

Destructor

Member Function Documentation

◆ DetectorPoint() [1/4]

◆ DetectorPoint() [2/4]

SHiP::DetectorPoint::DetectorPoint ( const DetectorPoint & point)
default

Copy constructor

◆ DetectorPoint() [3/4]

SHiP::DetectorPoint::DetectorPoint ( Int_t eventID,
Int_t trackID,
Int_t detID,
const TVector3 & pos,
const TVector3 & mom,
Double_t tof,
Double_t length,
Double_t eLoss,
Int_t pdgCode )

Definition at line 24 of file DetectorPoint.cxx.

25 : FairMCPoint(trackID, detID, pos, mom, tof, length, eLoss, eventID),
26 fPdgCode(pdgcode),
27 fLpos{pos.X(), pos.Y(), pos.Z()},
28 fLmom{mom.X(), mom.Y(), mom.Z()} {}
std::array< Double_t, 3 > fLmom
std::array< Double_t, 3 > fLpos

◆ DetectorPoint() [4/4]

SHiP::DetectorPoint::DetectorPoint ( Int_t eventID,
Int_t trackID,
Int_t detID,
const TVector3 & pos,
const TVector3 & mom,
Double_t tof,
Double_t length,
Double_t eLoss,
Int_t pdgCode,
const TVector3 & Lpos,
const TVector3 & Lmom )

Definition at line 19 of file DetectorPoint.cxx.

15 : FairMCPoint(trackID, detID, pos, mom, tof, length, eLoss, eventID),
16 fPdgCode(pdgcode),
17 fLpos{Lpos.X(), Lpos.Y(), Lpos.Z()},
18 fLmom{Lmom.X(), Lmom.Y(), Lmom.Z()} {}

◆ extraPrintInfo()

void UpstreamTaggerScoringPoint::extraPrintInfo ( ) const
overridevirtual

Reimplemented from SHiP::DetectorPoint.

Definition at line 18 of file UpstreamTaggerScoringPoint.cxx.

18 {
19 // Plane numbers as set in shipDet_conf.configure
20 switch (GetDetectorID()) {
21 case 1:
22 LOG(info) << "UBT scoring plane 1, at the decay vessel entrance";
23 break;
24 case 2:
25 LOG(info) << "UBT scoring plane 2, behind the muon shield (muons only)";
26 break;
27 default:
28 LOG(info) << "UBT scoring plane " << GetDetectorID();
29 }
30}

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