SHiP Data Model
Event data model for the SHiP experiment: C++ data classes with ROOT dictionary support.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
SHiP::RecHit Struct Reference

Reconstructed hit. More...

#include <RecHit.hpp>

Public Member Functions

bool operator== (RecHit const &) const =default
 

Public Attributes

std::int32_t detectorId {0}
 
std::int32_t trackId {0}
 
std::int32_t pdgCode {0}
 
std::array< double, 3 > position {0, 0, 0}
 Hit position [mm].
 
std::array< double, 3 > momentum {0, 0, 0}
 Momentum at hit [GeV/c].
 
double energyDeposit {0}
 Energy deposited [GeV].
 
double time {0}
 Global time [ns].
 
double pathLength {0}
 Step length [mm].
 

Detailed Description

Reconstructed hit.

Member Function Documentation

◆ operator==()

bool SHiP::RecHit::operator== ( RecHit const &  ) const
default

Member Data Documentation

◆ detectorId

std::int32_t SHiP::RecHit::detectorId {0}

◆ energyDeposit

double SHiP::RecHit::energyDeposit {0}

Energy deposited [GeV].

◆ momentum

std::array<double, 3> SHiP::RecHit::momentum {0, 0, 0}

Momentum at hit [GeV/c].

◆ pathLength

double SHiP::RecHit::pathLength {0}

Step length [mm].

◆ pdgCode

std::int32_t SHiP::RecHit::pdgCode {0}

◆ position

std::array<double, 3> SHiP::RecHit::position {0, 0, 0}

Hit position [mm].

◆ time

double SHiP::RecHit::time {0}

Global time [ns].

◆ trackId

std::int32_t SHiP::RecHit::trackId {0}

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