Project
Loading...
Searching...
No Matches
InspectModel.cxx File Reference
#include <algorithm>
#include <stdexcept>
#include <cstring>
#include <vector>
#include "InspectModel.h"
#include "MCHClustering/PadsPEM.h"
#include "mathUtil.h"
#include "mathieson.h"
#include "mathiesonFit.h"

Go to the source code of this file.

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::mch
 

Functions

void copyInGroupList (const double *values, int N, int item_size, std::vector< o2::mch::DataBlock_t > &groupList)
 
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 cleanInspectModel ()
 
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 saveProjPadToGroups (o2::mch::Groups_t *projPadToGrp, int N)
 
int collectProjGroups (o2::mch::Groups_t *projPadToGrp)
 
void savePadToCathGroup (const o2::mch::Groups_t *cath0Grp, const o2::mch::PadIdx_t *mapCath0PadIdxToPadIdx, int nCath0, const o2::mch::Groups_t *cath1Grp, const o2::mch::PadIdx_t *mapCath1PadIdxToPadIdx, int nCath1)
 
void collectPadToCathGroup (o2::mch::Mask_t *padToMGrp, int nPads)
 
void collectPadsAndCharges (double *xyDxy, double *z, o2::mch::Groups_t *padToGroup, 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)
 
void InspectModelChrono (int type, bool end)
 

Function Documentation

◆ cleanInspectModel()

void cleanInspectModel ( )

Definition at line 127 of file InspectModel.cxx.

◆ cleanPixels()

void cleanPixels ( )

Definition at line 415 of file InspectModel.cxx.

◆ 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.

◆ 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.

◆ copyInGroupList()

void copyInGroupList ( const double *  values,
int  N,
int  item_size,
std::vector< o2::mch::DataBlock_t > &  groupList 
)

Definition at line 46 of file InspectModel.cxx.

◆ finalizeInspectModel()

void finalizeInspectModel ( )

Definition at line 188 of file InspectModel.cxx.

◆ 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 mapCath0PadIdxToPadIdx,
int  nCath0,
const o2::mch::Groups_t cath1Grp,
const o2::mch::PadIdx_t mapCath1PadIdxToPadIdx,
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.