EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SimpleHit3D Class Reference

#include <fun4all_coresoftware/blob/master/offline/packages/HelixHough/helix_hough/SimpleHit3D.h>

Public Member Functions

 SimpleHit3D ()
 
virtual ~SimpleHit3D ()
 
TrkrDefs::cluskey get_cluskey () const
 
void set_cluskey (TrkrDefs::cluskey key)
 
unsigned int get_id () const
 
void set_id (unsigned int id)
 
int get_layer () const
 
void set_layer (int layer)
 
float get_x () const
 
void set_x (float x)
 
float get_y () const
 
void set_y (float y)
 
float get_z () const
 
void set_z (float z)
 
void print (std::ostream &out=std::cout) const
 
float get_error (unsigned int i, unsigned int j) const
 
void set_error (unsigned int i, unsigned int j, float value)
 
float get_size (unsigned int i, unsigned int j) const
 
void set_size (unsigned int i, unsigned int j, float value)
 

Private Member Functions

unsigned int covar_index (unsigned int i, unsigned int j) const
 

Private Attributes

TrkrDefs::cluskey _cluskey
 
unsigned int _id
 
int _layer
 
float _x
 
float _y
 
float _z
 
float _err [6]
 
float _size [6]
 

Detailed Description

Definition at line 8 of file SimpleHit3D.h.

View newest version in sPHENIX GitHub at line 8 of file SimpleHit3D.h

Constructor & Destructor Documentation

SimpleHit3D::SimpleHit3D ( )

Definition at line 9 of file SimpleHit3D.cpp.

View newest version in sPHENIX GitHub at line 9 of file SimpleHit3D.cpp

References set_error(), and set_size().

+ Here is the call graph for this function:

virtual SimpleHit3D::~SimpleHit3D ( )
inlinevirtual

Definition at line 14 of file SimpleHit3D.h.

View newest version in sPHENIX GitHub at line 14 of file SimpleHit3D.h

Member Function Documentation

unsigned int SimpleHit3D::covar_index ( unsigned int  i,
unsigned int  j 
) const
private

Definition at line 83 of file SimpleHit3D.cpp.

View newest version in sPHENIX GitHub at line 83 of file SimpleHit3D.cpp

References boost::swap().

Referenced by get_error(), get_size(), set_error(), and set_size().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

TrkrDefs::cluskey SimpleHit3D::get_cluskey ( ) const
inline

Definition at line 16 of file SimpleHit3D.h.

View newest version in sPHENIX GitHub at line 16 of file SimpleHit3D.h

References _cluskey.

float SimpleHit3D::get_error ( unsigned int  i,
unsigned int  j 
) const

Definition at line 70 of file SimpleHit3D.cpp.

View newest version in sPHENIX GitHub at line 70 of file SimpleHit3D.cpp

References _err, and covar_index().

Referenced by print().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

unsigned int SimpleHit3D::get_id ( ) const
inline

Definition at line 19 of file SimpleHit3D.h.

View newest version in sPHENIX GitHub at line 19 of file SimpleHit3D.h

References _id.

Referenced by PHInitZVertexing::build_triplets_to_SimpleTrack3D(), PHPatternReco::build_triplets_to_SimpleTrack3D(), PHHoughSeeding::CleanupSeeds(), PHHoughSeeding::CleanupSeedsByHitPattern(), PHHoughSeeding::CleanupTracksByHitPattern(), print(), CellularAutomaton_v1::process_single_triplet(), PHInitZVertexing::translate_input(), and PHPatternReco::translate_input().

+ Here is the caller graph for this function:

float SimpleHit3D::get_size ( unsigned int  i,
unsigned int  j 
) const

Definition at line 79 of file SimpleHit3D.cpp.

View newest version in sPHENIX GitHub at line 79 of file SimpleHit3D.cpp

References _size, and covar_index().

Referenced by CylinderKalman::calculateMeasurements(), HelixKalmanFilter::calculateMeasurements(), print(), and CellularAutomaton_v1::process_single_triplet().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

float SimpleHit3D::get_z ( ) const
inline
void SimpleHit3D::print ( std::ostream &  out = std::cout) const

Definition at line 27 of file SimpleHit3D.cpp.

View newest version in sPHENIX GitHub at line 27 of file SimpleHit3D.cpp

References _cluskey, get_error(), get_id(), get_layer(), get_size(), get_x(), get_y(), and get_z().

Referenced by PHInitZVertexing::translate_input(), and PHPatternReco::translate_input().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void SimpleHit3D::set_cluskey ( TrkrDefs::cluskey  key)
inline

Definition at line 17 of file SimpleHit3D.h.

View newest version in sPHENIX GitHub at line 17 of file SimpleHit3D.h

References _cluskey.

Referenced by PHInitZVertexing::translate_input(), PHPatternReco::translate_input(), and PHHoughSeeding::translate_input().

+ Here is the caller graph for this function:

void SimpleHit3D::set_error ( unsigned int  i,
unsigned int  j,
float  value 
)

Definition at line 65 of file SimpleHit3D.cpp.

View newest version in sPHENIX GitHub at line 65 of file SimpleHit3D.cpp

References _err, covar_index(), and value.

Referenced by SimpleHit3D(), PHInitZVertexing::translate_input(), PHPatternReco::translate_input(), and PHHoughSeeding::translate_input().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void SimpleHit3D::set_id ( unsigned int  id)
inline

Definition at line 20 of file SimpleHit3D.h.

View newest version in sPHENIX GitHub at line 20 of file SimpleHit3D.h

References _id.

Referenced by PHHoughSeeding::CleanupSeeds(), PHHoughSeeding::CleanupSeedsByHitPattern(), PHHoughSeeding::CleanupTracksByHitPattern(), PHInitZVertexing::translate_input(), PHPatternReco::translate_input(), and PHHoughSeeding::translate_input().

+ Here is the caller graph for this function:

void SimpleHit3D::set_layer ( int  layer)
inline

Definition at line 23 of file SimpleHit3D.h.

View newest version in sPHENIX GitHub at line 23 of file SimpleHit3D.h

References _layer, and G4TTL::layer.

Referenced by PHInitZVertexing::translate_input(), PHPatternReco::translate_input(), and PHHoughSeeding::translate_input().

+ Here is the caller graph for this function:

void SimpleHit3D::set_size ( unsigned int  i,
unsigned int  j,
float  value 
)

Definition at line 74 of file SimpleHit3D.cpp.

View newest version in sPHENIX GitHub at line 74 of file SimpleHit3D.cpp

References _size, covar_index(), and value.

Referenced by SimpleHit3D(), PHInitZVertexing::translate_input(), PHPatternReco::translate_input(), and PHHoughSeeding::translate_input().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void SimpleHit3D::set_x ( float  x)
inline

Definition at line 26 of file SimpleHit3D.h.

View newest version in sPHENIX GitHub at line 26 of file SimpleHit3D.h

References _x, and x.

Referenced by sPHENIXTrackerTpc::finalize(), PHInitZVertexing::shift_coordinate_system(), PHPatternReco::shift_coordinate_system(), PHInitZVertexing::translate_input(), PHPatternReco::translate_input(), and PHHoughSeeding::translate_input().

+ Here is the caller graph for this function:

void SimpleHit3D::set_y ( float  y)
inline

Definition at line 29 of file SimpleHit3D.h.

View newest version in sPHENIX GitHub at line 29 of file SimpleHit3D.h

References _y, and y.

Referenced by sPHENIXTrackerTpc::finalize(), PHInitZVertexing::shift_coordinate_system(), PHPatternReco::shift_coordinate_system(), PHInitZVertexing::translate_input(), PHPatternReco::translate_input(), and PHHoughSeeding::translate_input().

+ Here is the caller graph for this function:

void SimpleHit3D::set_z ( float  z)
inline

Definition at line 32 of file SimpleHit3D.h.

View newest version in sPHENIX GitHub at line 32 of file SimpleHit3D.h

References _z, and z.

Referenced by sPHENIXTrackerTpc::finalize(), PHInitZVertexing::shift_coordinate_system(), PHPatternReco::shift_coordinate_system(), PHInitZVertexing::translate_input(), PHPatternReco::translate_input(), and PHHoughSeeding::translate_input().

+ Here is the caller graph for this function:

Member Data Documentation

TrkrDefs::cluskey SimpleHit3D::_cluskey
private

Definition at line 47 of file SimpleHit3D.h.

View newest version in sPHENIX GitHub at line 47 of file SimpleHit3D.h

Referenced by get_cluskey(), print(), and set_cluskey().

float SimpleHit3D::_err[6]
private

Definition at line 55 of file SimpleHit3D.h.

View newest version in sPHENIX GitHub at line 55 of file SimpleHit3D.h

Referenced by get_error(), and set_error().

unsigned int SimpleHit3D::_id
private

Definition at line 48 of file SimpleHit3D.h.

View newest version in sPHENIX GitHub at line 48 of file SimpleHit3D.h

Referenced by get_id(), and set_id().

int SimpleHit3D::_layer
private

Definition at line 49 of file SimpleHit3D.h.

View newest version in sPHENIX GitHub at line 49 of file SimpleHit3D.h

Referenced by get_layer(), and set_layer().

float SimpleHit3D::_size[6]
private

Definition at line 56 of file SimpleHit3D.h.

View newest version in sPHENIX GitHub at line 56 of file SimpleHit3D.h

Referenced by get_size(), and set_size().

float SimpleHit3D::_x
private

Definition at line 51 of file SimpleHit3D.h.

View newest version in sPHENIX GitHub at line 51 of file SimpleHit3D.h

Referenced by get_x(), and set_x().

float SimpleHit3D::_y
private

Definition at line 52 of file SimpleHit3D.h.

View newest version in sPHENIX GitHub at line 52 of file SimpleHit3D.h

Referenced by get_y(), and set_y().

float SimpleHit3D::_z
private

Definition at line 53 of file SimpleHit3D.h.

View newest version in sPHENIX GitHub at line 53 of file SimpleHit3D.h

Referenced by get_z(), and set_z().


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