star-travex
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | Friends | List of all members
TStiKalmanTrackNode Class Reference

#include <TStiKalmanTrackNode.h>

Inheritance diagram for TStiKalmanTrackNode:

Public Member Functions

 TStiKalmanTrackNode ()
 
 TStiKalmanTrackNode (const StiKalmanTrackNode &stiKTN, TStiKalmanTrack *const parent=nullptr)
 
bool IsValid () const
 
bool IsInsideVolume () const
 
const TVector3 & GetTrackP () const
 
const TVector3 & GetPosition () const
 
const TVector3 & GetError () const
 
const TVector3 & GetPositionLocal () const
 
const TVector3 & GetProjPositionLocal () const
 
const TVector3 & GetProjError () const
 
float GetEnergyLosses () const
 
float GetNodeRadius () const
 
float GetNodeCenterRefAngle () const
 
float GetNodeMaterialDensity () const
 
float GetNodeRelRadLength () const
 
float GetNodeTrackLength () const
 
std::string GetVolumeName () const
 
const TStiHitGetHit () const
 
const TStiHitGetClosestHit () const
 
std::set< const TStiHit * > GetCandidateHits () const
 
const std::set< TStiHitProxy > & GetCandidateProxyHits () const
 
void FindClosestHit (const std::set< TStiHit > &stiHits) const
 Traverses the provided collection of hits and sets the internal pointer to the hit closest to this track node. More...
 
void FindCandidateHits (const std::set< TStiHit > &stiHits) const
 In the provided collection of hits this class method finds all hits within a 5-sigma vicinity around the mean track projection. More...
 
void FindCandidateHitsByChi2 (const std::set< TStiHit > &stiHits) const
 
void AssignClosestCandidateHit () const
 
double CalcDiffProjToFitPositionWRTHit () const
 
TVector3 CalcDiffProjToFitError () const
 
double CalcDistanceToClosestHit () const
 
double CalcDistanceToHit () const
 
double CalcDistanceProjToHit () const
 
double CalcDistanceToHit (const TStiHit &hit) const
 
TVector3 CalcPullToHit (const TStiHit &hit) const
 
TVector3 CalcPullClosestHit () const
 Calculates and returns uncorrelated three components which can be used in the pull distribution. More...
 
double CalcChi2 (const TStiHit &hit) const
 Calculate chi2 for a user provided hit using the original Sti methods. More...
 
bool MatchedVolName (const std::string &pattern) const
 
bool MatchedVolName (const std::set< std::string > &patterns) const
 
virtual void Print (Option_t *opt="") const
 

Protected Attributes

const StiKalmanTrackNode * fStiTrackNode
 Transient pointer to original StiKalmanTrackNode to access non-persistent info. More...
 
TStiKalmanTrackfTrack
 transient member More...
 
float fValid
 transient member More...
 
int fIsInsideVolume
 A flag taken directly from StiKalmanTrackNode. More...
 
TVector3 fPosition
 Global coordinates of the final (post re-fit) track node position. More...
 
TVector3 fError
 Diagonal elements of error matrix after final fit. More...
 
TVector3 fPositionLocal
 Local coordinates of the final (post re-fit) track node position. More...
 
TVector3 fProjPositionLocal
 Local coordinates of the projected (pre re-fit) track node position. More...
 
TVector3 fProjError
 The projection error to the node before the re-fit. More...
 
TVector3 fTrackP
 Track momentum vector in global CS. More...
 
float fEnergyLosses
 Energy lost in the volume. More...
 
float fNodeRadius
 The nominal radius of the Sti volume associated with this node. More...
 
float fNodeCenterRefAngle
 Angle to the center of the Sti volume associated with this node. More...
 
float fNodeMaterialDensity
 Density of the material of this node/volume. More...
 
float fNodeTrackLength
 Relative radiation length. More...
 
float fNodeRelRadLength
 Relative radiation length. More...
 
std::string fVolumeName
 Name of Sti volume. More...
 
const TStiHitfAcceptedStiHit
 Pointer to the hit associated with this node by the reconstruction algorithm, if any. More...
 
const TStiHitfClosestStiHit
 Pointer to the hit closest to this node if any. More...
 
std::set< TStiHitProxyfCandidateStiHits
 Collection of hits in some proximity of mean track projection. More...
 

Friends

bool operator< (const TStiKalmanTrackNode &lhs, const TStiKalmanTrackNode &rhs)
 

Detailed Description

Definition at line 19 of file TStiKalmanTrackNode.h.

Constructor & Destructor Documentation

TStiKalmanTrackNode::TStiKalmanTrackNode ( )
TStiKalmanTrackNode::TStiKalmanTrackNode ( const StiKalmanTrackNode &  stiKTN,
TStiKalmanTrack *const  parent = nullptr 
)

Definition at line 30 of file TStiKalmanTrackNode.cxx.

Member Function Documentation

void TStiKalmanTrackNode::AssignClosestCandidateHit ( ) const
inline

Definition at line 47 of file TStiKalmanTrackNode.h.

double TStiKalmanTrackNode::CalcChi2 ( const TStiHit hit) const

Calculate chi2 for a user provided hit using the original Sti methods.

Definition at line 106 of file TStiKalmanTrackNode.cxx.

TVector3 TStiKalmanTrackNode::CalcDiffProjToFitError ( ) const
inline

Definition at line 49 of file TStiKalmanTrackNode.h.

double TStiKalmanTrackNode::CalcDiffProjToFitPositionWRTHit ( ) const
inline

Definition at line 48 of file TStiKalmanTrackNode.h.

double TStiKalmanTrackNode::CalcDistanceProjToHit ( ) const
inline

Definition at line 52 of file TStiKalmanTrackNode.h.

double TStiKalmanTrackNode::CalcDistanceToClosestHit ( ) const
inline

Definition at line 50 of file TStiKalmanTrackNode.h.

double TStiKalmanTrackNode::CalcDistanceToHit ( ) const
inline

Definition at line 51 of file TStiKalmanTrackNode.h.

double TStiKalmanTrackNode::CalcDistanceToHit ( const TStiHit hit) const
inline

Definition at line 53 of file TStiKalmanTrackNode.h.

TVector3 TStiKalmanTrackNode::CalcPullClosestHit ( ) const

Calculates and returns uncorrelated three components which can be used in the pull distribution.

Definition at line 95 of file TStiKalmanTrackNode.cxx.

TVector3 TStiKalmanTrackNode::CalcPullToHit ( const TStiHit hit) const

Definition at line 81 of file TStiKalmanTrackNode.cxx.

void TStiKalmanTrackNode::FindCandidateHits ( const std::set< TStiHit > &  stiHits) const

In the provided collection of hits this class method finds all hits within a 5-sigma vicinity around the mean track projection.

The mean track projection is the nominal position of this track node and the sigma is the track projection error.

This method fills an internal container of hit candidates with pointers pointing to the hits found in the original collection. Note that besides the candidate hits the function finds the hit closest to the mean track projection. The hits are selected from the user provided collection 'stiHits' which should normaly be a collection of hits in the parent event to which the track belongs.

Definition at line 209 of file TStiKalmanTrackNode.cxx.

void TStiKalmanTrackNode::FindCandidateHitsByChi2 ( const std::set< TStiHit > &  stiHits) const

Definition at line 238 of file TStiKalmanTrackNode.cxx.

void TStiKalmanTrackNode::FindClosestHit ( const std::set< TStiHit > &  stiHits) const

Traverses the provided collection of hits and sets the internal pointer to the hit closest to this track node.

Definition at line 178 of file TStiKalmanTrackNode.cxx.

std::set< const TStiHit * > TStiKalmanTrackNode::GetCandidateHits ( ) const

Definition at line 163 of file TStiKalmanTrackNode.cxx.

const std::set<TStiHitProxy>& TStiKalmanTrackNode::GetCandidateProxyHits ( ) const
inline

Definition at line 43 of file TStiKalmanTrackNode.h.

const TStiHit* TStiKalmanTrackNode::GetClosestHit ( ) const
inline

Definition at line 41 of file TStiKalmanTrackNode.h.

float TStiKalmanTrackNode::GetEnergyLosses ( ) const
inline

Definition at line 33 of file TStiKalmanTrackNode.h.

const TVector3& TStiKalmanTrackNode::GetError ( ) const
inline

Definition at line 29 of file TStiKalmanTrackNode.h.

const TStiHit* TStiKalmanTrackNode::GetHit ( ) const
inline

Definition at line 40 of file TStiKalmanTrackNode.h.

float TStiKalmanTrackNode::GetNodeCenterRefAngle ( ) const
inline

Definition at line 35 of file TStiKalmanTrackNode.h.

float TStiKalmanTrackNode::GetNodeMaterialDensity ( ) const
inline

Definition at line 36 of file TStiKalmanTrackNode.h.

float TStiKalmanTrackNode::GetNodeRadius ( ) const
inline

Definition at line 34 of file TStiKalmanTrackNode.h.

float TStiKalmanTrackNode::GetNodeRelRadLength ( ) const
inline

Definition at line 37 of file TStiKalmanTrackNode.h.

float TStiKalmanTrackNode::GetNodeTrackLength ( ) const
inline

Definition at line 38 of file TStiKalmanTrackNode.h.

const TVector3& TStiKalmanTrackNode::GetPosition ( ) const
inline

Definition at line 28 of file TStiKalmanTrackNode.h.

const TVector3& TStiKalmanTrackNode::GetPositionLocal ( ) const
inline

Definition at line 30 of file TStiKalmanTrackNode.h.

const TVector3& TStiKalmanTrackNode::GetProjError ( ) const
inline

Definition at line 32 of file TStiKalmanTrackNode.h.

const TVector3& TStiKalmanTrackNode::GetProjPositionLocal ( ) const
inline

Definition at line 31 of file TStiKalmanTrackNode.h.

const TVector3& TStiKalmanTrackNode::GetTrackP ( ) const
inline

Definition at line 27 of file TStiKalmanTrackNode.h.

std::string TStiKalmanTrackNode::GetVolumeName ( ) const
inline

Definition at line 39 of file TStiKalmanTrackNode.h.

bool TStiKalmanTrackNode::IsInsideVolume ( ) const
inline

Definition at line 26 of file TStiKalmanTrackNode.h.

bool TStiKalmanTrackNode::IsValid ( ) const
inline

Definition at line 25 of file TStiKalmanTrackNode.h.

bool TStiKalmanTrackNode::MatchedVolName ( const std::string &  pattern) const

Definition at line 115 of file TStiKalmanTrackNode.cxx.

bool TStiKalmanTrackNode::MatchedVolName ( const std::set< std::string > &  patterns) const

Definition at line 129 of file TStiKalmanTrackNode.cxx.

void TStiKalmanTrackNode::Print ( Option_t *  opt = "") const
virtual

Definition at line 147 of file TStiKalmanTrackNode.cxx.

Friends And Related Function Documentation

bool operator< ( const TStiKalmanTrackNode lhs,
const TStiKalmanTrackNode rhs 
)
friend

Definition at line 157 of file TStiKalmanTrackNode.cxx.

Member Data Documentation

const TStiHit* TStiKalmanTrackNode::fAcceptedStiHit
mutableprotected

Pointer to the hit associated with this node by the reconstruction algorithm, if any.

Definition at line 117 of file TStiKalmanTrackNode.h.

std::set<TStiHitProxy> TStiKalmanTrackNode::fCandidateStiHits
mutableprotected

Collection of hits in some proximity of mean track projection.

Definition at line 123 of file TStiKalmanTrackNode.h.

const TStiHit* TStiKalmanTrackNode::fClosestStiHit
mutableprotected

Pointer to the hit closest to this node if any.

Definition at line 120 of file TStiKalmanTrackNode.h.

float TStiKalmanTrackNode::fEnergyLosses
protected

Energy lost in the volume.

Definition at line 96 of file TStiKalmanTrackNode.h.

TVector3 TStiKalmanTrackNode::fError
protected

Diagonal elements of error matrix after final fit.

Definition at line 81 of file TStiKalmanTrackNode.h.

int TStiKalmanTrackNode::fIsInsideVolume
protected

A flag taken directly from StiKalmanTrackNode.

Definition at line 75 of file TStiKalmanTrackNode.h.

float TStiKalmanTrackNode::fNodeCenterRefAngle
protected

Angle to the center of the Sti volume associated with this node.

Definition at line 102 of file TStiKalmanTrackNode.h.

float TStiKalmanTrackNode::fNodeMaterialDensity
protected

Density of the material of this node/volume.

Definition at line 105 of file TStiKalmanTrackNode.h.

float TStiKalmanTrackNode::fNodeRadius
protected

The nominal radius of the Sti volume associated with this node.

Definition at line 99 of file TStiKalmanTrackNode.h.

float TStiKalmanTrackNode::fNodeRelRadLength
protected

Relative radiation length.

Definition at line 111 of file TStiKalmanTrackNode.h.

float TStiKalmanTrackNode::fNodeTrackLength
protected

Relative radiation length.

Definition at line 108 of file TStiKalmanTrackNode.h.

TVector3 TStiKalmanTrackNode::fPosition
protected

Global coordinates of the final (post re-fit) track node position.

Definition at line 78 of file TStiKalmanTrackNode.h.

TVector3 TStiKalmanTrackNode::fPositionLocal
protected

Local coordinates of the final (post re-fit) track node position.

Definition at line 84 of file TStiKalmanTrackNode.h.

TVector3 TStiKalmanTrackNode::fProjError
protected

The projection error to the node before the re-fit.

Definition at line 90 of file TStiKalmanTrackNode.h.

TVector3 TStiKalmanTrackNode::fProjPositionLocal
protected

Local coordinates of the projected (pre re-fit) track node position.

Definition at line 87 of file TStiKalmanTrackNode.h.

const StiKalmanTrackNode* TStiKalmanTrackNode::fStiTrackNode
protected

Transient pointer to original StiKalmanTrackNode to access non-persistent info.

Definition at line 66 of file TStiKalmanTrackNode.h.

TStiKalmanTrack* TStiKalmanTrackNode::fTrack
protected

transient member

Pointer to parent track containing this node

Definition at line 69 of file TStiKalmanTrackNode.h.

TVector3 TStiKalmanTrackNode::fTrackP
protected

Track momentum vector in global CS.

Definition at line 93 of file TStiKalmanTrackNode.h.

float TStiKalmanTrackNode::fValid
protected

transient member

A flag taken directly from StiKalmanTrackNode

Definition at line 72 of file TStiKalmanTrackNode.h.

std::string TStiKalmanTrackNode::fVolumeName
protected

Name of Sti volume.

Definition at line 114 of file TStiKalmanTrackNode.h.


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