All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
KITutil.h File Reference
#include "lcio.h"
#include "EVENT/LCIO.h"
#include <EVENT/SimCalorimeterHit.h>
#include <EVENT/CalorimeterHit.h>
#include <vector>
#include <list>
#include <stack>
#include <string>
#include <UTIL/CellIDDecoder.h>
#include "Phys_Geom_Database.h"
#include <gsl/gsl_vector.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_eigen.h>
#include <gsl/gsl_multifit_nlin.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_sf_gamma.h>
#include <gsl/gsl_integration.h>
#include <gsl/gsl_sf_pow_int.h>
#include <ANN/ANN.h>
Include dependency graph for KITutil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Superhit2
 Basic hit class for reconstruction, contains the calorimeter hit plus additional parameters. More...
 
class  Tmpcl2
 Basic cluster class for reconstruction. More...
 
class  Photon2
 
struct  CoreCalib2
 container for holding the numbers needed for energy estimation More...
 
struct  PROTSEED2
 container for storing the EM shower core candidates More...
 
struct  CoreCut2
 container for keeping the parameters of the core fineder together More...
 

Typedefs

typedef vector< Superhit2 * > Shitvec2
 
typedef vector< Tmpcl2 * > Tmpclvec2
 

Functions

void CreateAllShits2 (LCCollection *colt, CellIDDecoder< CalorimeterHit > &id, vector< Superhit2 * > *calo)
 Creation of superhits, input is ECAL collection ,it's decoded and pointer to resulting container for superhits. More...
 
void TotalPrecalc2 (vector< Superhit2 * > *calo, CellIDDecoder< CalorimeterHit > &id, unsigned int nelem, int Ncut)
 Global precalculation function , iput is vector of superhits, ECAL decoder, number of hits, and number of neighbors cut for hit separation. More...
 
void Precalc2 (vector< Superhit2 * > &shvec, double r, double z, double cell, double dist, bool tip, int stove, int module, CellIDDecoder< CalorimeterHit > &id)
 Precalculation function used internaly by TotalPrecalc. More...
 
void GridTransform2 (CalorimeterHit *clh, float &radius, float &halfz, float &cellsize, float *X, bool tip, int stove, int module, CellIDDecoder< CalorimeterHit > &id)
 Basic function for transformation of hit coordinates. More...
 
void FindCores2 (Shitvec2 *secal1, vector< Tmpclvec2 > &bbb, vector< PROTSEED2 > *prs2, unsigned int N, vector< float > miipstep, CoreCut2 Ccut)
 Global EM core finding function , iput is vector of superhits, array of Tmpcl vectors bbb for internal computation, vector of EM core candidates prs2, and parameters of the algorithm. More...
 
void cluster5 (vector< Superhit2 * > *shv, vector< Tmpcl2 * > *clv)
 NN clustering. More...
 
double giveMeEEstimate2 (int nivo, double Ecore, vector< CoreCalib2 > cc)
 returns energy estimate for a given core , input int level, double core energy in GeV, and calibration data table More...
 
void CreateCalibrationLDC00 (vector< CoreCalib2 > *cc)
 Example function for creation of the energy estimaiton table. More...
 
void LineCaloIntersectD2 (double *X1, double *dir, double &d, double &zmax, double *X)
 
void LineCaloIntersect2 (double *X1, double *X2, double &d, double &zmax, double *X)
 
double LinePointDistance2 (double *X1, double *X2, double *X0)
 
void PointOnLine3 (const double *X1, const double *X2, const float *X0, double *Xline)
 
void PointOnLine22 (const double *Xstart, const double *dir, const float *X0, double *Xline)
 
void ModuleNormal2 (double *X1, double &zmax, double *X0)
 
void ClusterInCluster2 (Tmpcl2 *cl, vector< Tmpcl2 * > &clv)
 
double D_cl_cl2 (Tmpcl2 *cl1, Tmpcl2 *cl2)
 
double Dot2 (double *X1, double *X2)
 
void ClusterInCluster2 (Tmpcl2 *cl, vector< Tmpcl2 * > &clv, vector< Tmpcl2 * > &clout)