1#include "Tracking/Event/Measurement.h"
7 const float& sigma_v) {
30std::ostream& operator<<(std::ostream& output,
const Measurement& measurement) {
31 return output <<
"[ Measurement ]:\n\tGlobal position (mm): [ "
33 << measurement.
meas_z_ <<
" ]\n\tLocal position (mm): [ "
35 <<
"]\n\tcov(U,U) " << measurement.
cov_uu_ <<
" cov(V,V) "
37 <<
" ns \n\tLayer ID: " << measurement.
layer_id_
38 <<
"\n\tLayer: " << measurement.
layer_
39 <<
"\n\tEnergy Deposition: " << measurement.
edep_ <<
" MeV";
float meas_y_
The global position in x (mm).
Measurement()=default
Default constructor.
int layer_
The layer number internal to the tracker.
void addTrackId(int trk_id)
Add a trackId to the internal vector.
float meas_v_
Local position in v (mm).
float edep_
The energy deposited in the sensor where the measurement took place.
float meas_z_
The global position in x (mm).
float meas_u_
Local position in u (mm).
float meas_t_
Measurement time (ns).
float meas_x_
The global position in x (mm).
int layer_id_
The ID of the sensor where the measurement took place.
int id_
The ID of the hit.
Represents a simulated tracker hit in the simulation.
float getEdep() const
Get the energy deposited on the hit [MeV].
std::vector< float > getPosition() const
Get the XYZ position of the hit [mm].
int getID() const
Get the detector ID of the hit.
float getTime() const
Get the global time of the hit [ns].
int getTrackID() const
Get the Sim particle track ID of the hit.