21 void identify(std::ostream& os = std::cout)
const;
25 float get_x(
const int i)
const {
return x[i];}
26 float get_y(
const int i)
const {
return y[i];}
27 float get_z(
const int i)
const {
return z[i];}
28 float get_t(
const int i)
const {
return t[i];}
35 void set_x(
const int i,
const float f) {
x[i]=f;}
36 void set_y(
const int i,
const float f) {
y[i]=f;}
37 void set_z(
const int i,
const float f) {
z[i]=f;}
38 void set_t(
const int i,
const float f) {
t[i]=f;}
44 virtual void print()
const;
54 virtual float get_px(
const int i)
const;
55 virtual float get_py(
const int i)
const;
56 virtual float get_pz(
const int i)
const;
76 virtual void set_px(
const int i,
const float f);
77 virtual void set_py(
const int i,
const float f);
78 virtual void set_pz(
const int i,
const float f);
79 virtual void set_local_x(
const int i,
const float f);
80 virtual void set_local_y(
const int i,
const float f);
81 virtual void set_local_z(
const int i,
const float f);
@ prop_path_length
pathlength
@ prop_strip_z_index
SVX stuff.
@ prop_row
row (mother volume or steel plate id)
@ prop_light_yield
for scintillation detectors, the amount of light produced
@ prop_eion
ionizing energy loss
@ prop_index_i
generic indexes
@ prop_scint_id
scintillator ID
virtual int get_strip_y_index() const
int get_property_int(const PROPERTY prop_id) const
float get_z(const int i) const
virtual int get_index_j() const
virtual float get_local_z(const int i) const
void set_y(const int i, const float f)
float get_y(const int i) const
virtual void set_strip_z_index(const int i)
virtual void set_py(const int i, const float f)
virtual void set_strip_y_index(const int i)
virtual void set_scint_id(const int i)
void set_shower_id(const int i)
void set_x(const int i, const float f)
float get_t(const int i) const
virtual void set_index_l(const int i)
void set_property(const PROPERTY prop_id, const float value)
virtual int get_row() const
virtual void set_index_j(const int i)
virtual float get_path_length() const
virtual float get_local_y(const int i) const
virtual void set_eion(const float f)
PHG4HitDefs::keytype get_hit_id() const
uint8_t prop_id_t
storage types for additional property
virtual int get_index_l() const
virtual void set_local_z(const int i, const float f)
int get_shower_id() const
void set_trkid(const int i)
virtual void set_light_yield(const float f)
virtual unsigned int get_layer() const
std::map< prop_id_t, prop_storage_t > prop_map_t
void set_property_nocheck(const PROPERTY prop_id, const unsigned int ui)
void set_edep(const float f)
virtual float get_local_x(const int i) const
void set_hit_id(const PHG4HitDefs::keytype i)
virtual void set_layer(const unsigned int i)
virtual void set_index_k(const int i)
PHG4HitDefs::keytype hitid
virtual void set_index_i(const int i)
unsigned int get_property_uint(const PROPERTY prop_id) const
unsigned int get_property_nocheck(const PROPERTY prop_id) const
virtual void set_px(const int i, const float f)
virtual float get_py(const int i) const
virtual void set_ladder_z_index(const int i)
virtual void set_local_y(const int i, const float f)
bool has_property(const PROPERTY prop_id) const
void set_t(const int i, const float f)
virtual int get_index_k() const
virtual float get_light_yield() const
virtual int get_strip_z_index() const
virtual int get_ladder_z_index() const
float get_x(const int i) const
virtual int get_ladder_phi_index() const
void identify(std::ostream &os=std::cout) const
prop_map_t prop_map
container for additional property
float get_property_float(const PROPERTY prop_id) const
virtual void print() const
virtual void set_ladder_phi_index(const int i)
virtual void set_path_length(const float f)
virtual void set_hit_type(const int i)
virtual float get_eion() const
virtual int get_hit_type() const
virtual float get_pz(const int i) const
virtual void set_local_x(const int i, const float f)
virtual void set_row(const int i)
virtual int get_scint_id() const
virtual int get_index_i() const
virtual float get_px(const int i) const
virtual void set_pz(const int i, const float f)
void set_z(const int i, const float f)
convert between 32bit inputs and storage type prop_storage_t
prop_storage_t get_storage() const