Project
Loading...
Searching...
No Matches
InspectModel.h File Reference
#include <vector>
#include <chrono>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_multifit_nlin.h>
#include <gsl/gsl_vector.h>
#include "MCHClustering/ClusterConfig.h"
#include "MCHClustering/PadsPEM.h"
#include "MCHClustering/ClusterPEM.h"
#include "MCHClustering/clusterProcessing.h"

Go to the source code of this file.

Classes

struct  dummy_t
 
struct  dummyPad_t
 

Typedefs

typedef struct dummy_t InspectModel
 
typedef struct dummyPad_t InspectPadProcessing_t
 

Functions

void cleanThetaList ()
 
void cleanInspectModel ()
 
void saveThetaEMInGroupList (const double *thetaEM, int K)
 
void saveThetaExtraInGroupList (const double *thetaExtra, int K)
 
void saveThetaFitInGroupList (const double *thetaFit, int K)
 
void collectTheta (double *theta, o2::mch::Groups_t *thetaToGroup, int K)
 
void savePadsOfSubCluster (const double *xyDxy, const double *q, int n)
 
void finalizeInspectModel ()
 
int getNbrOfProjPads ()
 
int getNbrOfPadsInGroups ()
 
int getNbrOfThetaEMFinal ()
 
int getNbrOfThetaExtra ()
 
void saveProjectedPads (const o2::mch::Pads *pads, double *qProj)
 
void collectProjectedPads (double *xyDxy, double *chA, double *chB)
 
void savePadToCathGroup (const o2::mch::Groups_t *cath0Grp, const o2::mch::PadIdx_t *mapCath1PadIdxToPadIdx, int nCath0, const o2::mch::Groups_t *cath1Grp, const o2::mch::PadIdx_t *mapCath0PadIdxToPadIdx, int nCath1)
 
int collectProjGroups (o2::mch::Groups_t *projPadToGrp)
 
void saveProjPadToGroups (o2::mch::Groups_t *projPadToGrp, int N)
 
void collectPadToCathGroup (o2::mch::Mask_t *padToMGrp, int nPads)
 
void collectPadsAndCharges (double *xyDxy, double *z, o2::mch::Groups_t *padToGroup, int N)
 ???
 
void collectResidual (double *residual, int N)
 
int getKThetaInit ()
 
void collectThetaInit (double *thetai, int N)
 
void collectThetaEMFinal (double *thetaEM, int K)
 
void collectThetaExtra (double *thetaExtra, int K)
 
void cleanPixels ()
 
int collectPixels (int which, int N, double *xyDxy, double *q)
 
void inspectOverWriteQ (int which, const double *qPixels)
 
void inspectSavePixels (int which, o2::mch::Pads &pixels)
 
int getNbrProjectedPads ()
 
void setNbrProjectedPads (int n)
 
int f_ChargeIntegralMag (const gsl_vector *gslParams, void *data, gsl_vector *residual)
 
void fitMathiesonMag (const double *xyDxDy, const double *q, const o2::mch::Mask_t *cath, const o2::mch::Mask_t *sat, int chId, double *thetaInit, int K, int N, double *thetaFinal, double *khi2)
 
void InspectModelChrono (int type, bool end)
 

Typedef Documentation

◆ InspectModel

typedef struct dummy_t InspectModel

◆ InspectPadProcessing_t

Function Documentation

◆ cleanInspectModel()

void cleanInspectModel ( )

Definition at line 127 of file InspectModel.cxx.

◆ cleanPixels()

void cleanPixels ( )

Definition at line 415 of file InspectModel.cxx.

◆ cleanThetaList()

void cleanThetaList ( )

◆ collectPadsAndCharges()

void collectPadsAndCharges ( double *  xyDxy,
double *  z,
o2::mch::Groups_t padToGroup,
int  N 
)

???

Definition at line 302 of file InspectModel.cxx.

◆ collectPadToCathGroup()

void collectPadToCathGroup ( o2::mch::Mask_t padToMGrp,
int  nPads 
)

Definition at line 293 of file InspectModel.cxx.

◆ collectPixels()

int collectPixels ( int  which,
int  N,
double *  xyDxy,
double *  q 
)

Definition at line 429 of file InspectModel.cxx.

◆ collectProjectedPads()

void collectProjectedPads ( double *  xyDxy,
double *  chA,
double *  chB 
)

Definition at line 239 of file InspectModel.cxx.

◆ collectProjGroups()

int collectProjGroups ( o2::mch::Groups_t projPadToGrp)

Definition at line 265 of file InspectModel.cxx.

◆ collectResidual()

void collectResidual ( double *  residual,
int  N 
)

◆ collectTheta()

void collectTheta ( double *  theta,
o2::mch::Groups_t thetaToGroup,
int  K 
)

Definition at line 85 of file InspectModel.cxx.

◆ collectThetaEMFinal()

void collectThetaEMFinal ( double *  thetaEM,
int  K 
)

Definition at line 367 of file InspectModel.cxx.

◆ collectThetaExtra()

void collectThetaExtra ( double *  thetaExtra,
int  K 
)

Definition at line 386 of file InspectModel.cxx.

◆ collectThetaInit()

void collectThetaInit ( double *  thetai,
int  N 
)

Definition at line 344 of file InspectModel.cxx.

◆ f_ChargeIntegralMag()

int f_ChargeIntegralMag ( const gsl_vector *  gslParams,
void data,
gsl_vector *  residual 
)

◆ finalizeInspectModel()

void finalizeInspectModel ( )

Definition at line 188 of file InspectModel.cxx.

◆ fitMathiesonMag()

void fitMathiesonMag ( const double *  xyDxDy,
const double *  q,
const o2::mch::Mask_t cath,
const o2::mch::Mask_t sat,
int  chId,
double *  thetaInit,
int  K,
int  N,
double *  thetaFinal,
double *  khi2 
)

◆ getKThetaInit()

int getKThetaInit ( )

Definition at line 342 of file InspectModel.cxx.

◆ getNbrOfPadsInGroups()

int getNbrOfPadsInGroups ( )

Definition at line 214 of file InspectModel.cxx.

◆ getNbrOfProjPads()

int getNbrOfProjPads ( )

Definition at line 212 of file InspectModel.cxx.

◆ getNbrOfThetaEMFinal()

int getNbrOfThetaEMFinal ( )

Definition at line 216 of file InspectModel.cxx.

◆ getNbrOfThetaExtra()

int getNbrOfThetaExtra ( )

Definition at line 221 of file InspectModel.cxx.

◆ getNbrProjectedPads()

int getNbrProjectedPads ( )

Definition at line 495 of file InspectModel.cxx.

◆ InspectModelChrono()

void InspectModelChrono ( int  type,
bool  end 
)

Definition at line 503 of file InspectModel.cxx.

◆ inspectOverWriteQ()

void inspectOverWriteQ ( int  which,
const double *  qPixels 
)

Last Group

Definition at line 465 of file InspectModel.cxx.

◆ inspectSavePixels()

void inspectSavePixels ( int  which,
o2::mch::Pads pixels 
)

Definition at line 478 of file InspectModel.cxx.

◆ savePadsOfSubCluster()

void savePadsOfSubCluster ( const double *  xyDxy,
const double *  q,
int  n 
)

Definition at line 119 of file InspectModel.cxx.

◆ savePadToCathGroup()

void savePadToCathGroup ( const o2::mch::Groups_t cath0Grp,
const o2::mch::PadIdx_t mapCath1PadIdxToPadIdx,
int  nCath0,
const o2::mch::Groups_t cath1Grp,
const o2::mch::PadIdx_t mapCath0PadIdxToPadIdx,
int  nCath1 
)

Definition at line 273 of file InspectModel.cxx.

◆ saveProjectedPads()

void saveProjectedPads ( const o2::mch::Pads pads,
double *  qProj 
)

Definition at line 223 of file InspectModel.cxx.

◆ saveProjPadToGroups()

void saveProjPadToGroups ( o2::mch::Groups_t projPadToGrp,
int  N 
)

Definition at line 259 of file InspectModel.cxx.

◆ saveThetaEMInGroupList()

void saveThetaEMInGroupList ( const double *  thetaEM,
int  K 
)

Definition at line 64 of file InspectModel.cxx.

◆ saveThetaExtraInGroupList()

void saveThetaExtraInGroupList ( const double *  thetaExtra,
int  K 
)

Definition at line 71 of file InspectModel.cxx.

◆ saveThetaFitInGroupList()

void saveThetaFitInGroupList ( const double *  thetaFit,
int  K 
)

Definition at line 78 of file InspectModel.cxx.

◆ setNbrProjectedPads()

void setNbrProjectedPads ( int  n)

Definition at line 497 of file InspectModel.cxx.