"MarlinReco"  1.32.0
Public Member Functions | Public Attributes | List of all members
Tmpcl2 Class Reference

Basic cluster class for reconstruction. More...

#include <KITutil.h>

Public Member Functions

 Tmpcl2 ()
 Constructor.
 
 ~Tmpcl2 ()
 Destructor.
 
void calcCenter ()
 Calculates center of inerta for the objects in hits vector.
 
double * getCenter ()
 returnes double[3] for the center as calculated with calcCenter method
 
double getEnergy ()
 returnes energy of cluster in GeV.
 
void findInertia ()
 calculates eigenvalues and eigenvectors of inertia tensor
 

Public Attributes

vector< Superhit2 * > hits {}
 hit in the cluster
 
vector< Tmpcl2 * > daughters {}
 pointers to clusters that are contained in this cluster
 
vector< Tmpcl2 * > parents {}
 pointers to clusters that contain this cluster
 
double energy {}
 energy in GeV (sum over hits in cluster)
 
double center [3] {}
 position of cluster center (x,y,z)
 
double direction [3] {}
 principal axes of inertia tensor , calculated in calcInertia
 
double inteigen [3] {}
 normalized eigenvalues of inertia tensor
 
double inteigenvec [9] {}
 eigenvectors of inertia tensor
 
int type {}
 Internal type of the cluster.
 

Detailed Description

Basic cluster class for reconstruction.

Authors
P.Krstonosic (DESY)

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