All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Tmpcl2 Class Reference

Basic cluster class for reconstruction. More...

#include <KITutil.h>

Public Member Functions

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

Public Attributes

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

Detailed Description

Basic cluster class for reconstruction.

Authors
P.Krstonosic (DESY)

Definition at line 119 of file KITutil.h.

Constructor & Destructor Documentation

Tmpcl2::Tmpcl2 ( )

Constructor.

Definition at line 911 of file KITutil.cc.

Tmpcl2::~Tmpcl2 ( )

Destructor.

Definition at line 914 of file KITutil.cc.

Member Function Documentation

void Tmpcl2::calcCenter ( )

Calculates center of inerta for the objects in hits vector.

Definition at line 925 of file KITutil.cc.

void Tmpcl2::findInertia ( )

calculates eigenvalues and eigenvectors of inertia tensor

Definition at line 947 of file KITutil.cc.

double * Tmpcl2::getCenter ( )

returnes double[3] for the center as calculated with calcCenter method

Definition at line 905 of file KITutil.cc.

double Tmpcl2::getEnergy ( )

returnes energy of cluster in GeV.

Definition at line 916 of file KITutil.cc.

Member Data Documentation

double Tmpcl2::center[3] {}

position of cluster center (x,y,z)

Definition at line 167 of file KITutil.h.

vector<Tmpcl2*> Tmpcl2::daughters {}

pointers to clusters that are contained in this cluster

Definition at line 155 of file KITutil.h.

double Tmpcl2::direction[3] {}

principal axes of inertia tensor , calculated in calcInertia

Definition at line 171 of file KITutil.h.

double Tmpcl2::energy {}

energy in GeV (sum over hits in cluster)

Definition at line 163 of file KITutil.h.

vector<Superhit2*> Tmpcl2::hits {}

hit in the cluster

Definition at line 151 of file KITutil.h.

double Tmpcl2::inteigen[3] {}

normalized eigenvalues of inertia tensor

Definition at line 175 of file KITutil.h.

double Tmpcl2::inteigenvec[9] {}

eigenvectors of inertia tensor

Definition at line 179 of file KITutil.h.

vector<Tmpcl2*> Tmpcl2::parents {}

pointers to clusters that contain this cluster

Definition at line 159 of file KITutil.h.

int Tmpcl2::type {}

Internal type of the cluster.

Definition at line 184 of file KITutil.h.


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