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::SimHit Struct Reference

Simulation hit from Geant4 sensitive detectors. More...

#include <SimHit.hpp>

Public Member Functions

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

Public Attributes

std::int32_t detector_id {0}
 
std::int32_t geometry_node_id {0}
 
std::int32_t track_id {0}
 
std::int32_t pdg_code {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 energy_deposit {0}
 Energy deposited [GeV].
 
double time {0}
 Global time [ns].
 
double path_length {0}
 Step length [mm].
 

Detailed Description

Simulation hit from Geant4 sensitive detectors.

Member Function Documentation

◆ operator==()

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

Member Data Documentation

◆ detector_id

std::int32_t SHiP::SimHit::detector_id {0}

◆ energy_deposit

double SHiP::SimHit::energy_deposit {0}

Energy deposited [GeV].

◆ geometry_node_id

std::int32_t SHiP::SimHit::geometry_node_id {0}

◆ momentum

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

Momentum at hit [GeV/c].

◆ path_length

double SHiP::SimHit::path_length {0}

Step length [mm].

◆ pdg_code

std::int32_t SHiP::SimHit::pdg_code {0}

◆ position

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

Hit position [mm].

◆ time

double SHiP::SimHit::time {0}

Global time [ns].

◆ track_id

std::int32_t SHiP::SimHit::track_id {0}

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