Project
Loading...
Searching...
No Matches
o2::hmpid::Cluster Class Reference

HMPID cluster implementation. More...

#include <Cluster.h>

Public Types

enum  EClusterStatus {
  kFrm , kCoG , kLo1 , kUnf ,
  kMax , kNot , kEdg , kSi1 ,
  kNoLoc , kAbn , kBig , kEmp = -1
}
 

Public Member Functions

 Cluster ()
 
void print (Option_t *opt="") const
 
void cleanPointers ()
 
void coG ()
 
void corrSin ()
 
void digAdd (const o2::hmpid::Digit *pDig)
 
const o2::hmpid::Digitdig (int i) const
 
const std::vector< const o2::hmpid::Digit * > * getDigits () const
 
void setDigits (std::vector< const o2::hmpid::Digit * > *v=nullptr)
 
bool isInPc ()
 
void reset ()
 
int solve (std::vector< o2::hmpid::Cluster > *pCluLst, float *pSigmaCut, bool isUnfold)
 
int box ()
 
int ch ()
 
int size ()
 
int status ()
 
float qRaw ()
 
float q ()
 
float qe ()
 
float x ()
 
float xe ()
 
float y ()
 
float ye ()
 
float chi2 ()
 
void doCorrSin (bool doCorrSin)
 
void setX (float x)
 
void setY (float y)
 
void setQ (float q)
 
void setQRaw (float qRaw)
 
void setSize (int size)
 
void setCh (int chamber)
 
void setChi2 (float chi2)
 
void setStatus (int status)
 
void findClusterSize (int i, float *pSigmaCut)
 
 ClassDefNV (Cluster, 3)
 

Static Public Member Functions

static void fitFunc (int &iNpars, double *deriv, double &chi2, double *par, int iflag)
 

Static Public Attributes

static bool fgDoCorrSin = true
 list of digits forming this cluster
 

Protected Attributes

int mCh
 
int mSi
 
int mSt
 
int mBox
 
int mNlocMax
 
int mMaxQpad
 
double mMaxQ
 
double mQRaw
 
double mQ
 
double mErrQ
 
double mXX
 
double mErrX
 
double mYY
 
double mErrY
 
double mChi2
 
std::vector< const o2::hmpid::Digit * > * mDigs = nullptr
 

Detailed Description

HMPID cluster implementation.

Definition at line 26 of file Cluster.h.

Member Enumeration Documentation

◆ EClusterStatus

Enumerator
kFrm 
kCoG 
kLo1 
kUnf 
kMax 
kNot 
kEdg 
kSi1 
kNoLoc 
kAbn 
kBig 
kEmp 

Definition at line 29 of file Cluster.h.

Constructor & Destructor Documentation

◆ Cluster()

o2::hmpid::Cluster::Cluster ( )
inline

Definition at line 43 of file Cluster.h.

Member Function Documentation

◆ box()

int o2::hmpid::Cluster::box ( )
inline

Definition at line 64 of file Cluster.h.

◆ ch()

int o2::hmpid::Cluster::ch ( )
inline

Definition at line 65 of file Cluster.h.

◆ chi2()

float o2::hmpid::Cluster::chi2 ( )
inline

Definition at line 75 of file Cluster.h.

◆ ClassDefNV()

o2::hmpid::Cluster::ClassDefNV ( Cluster  ,
 
)

◆ cleanPointers()

void o2::hmpid::Cluster::cleanPointers ( )
inline

Definition at line 49 of file Cluster.h.

◆ coG()

void o2::hmpid::Cluster::coG ( )

Definition at line 30 of file Cluster.cxx.

◆ corrSin()

void o2::hmpid::Cluster::corrSin ( )

Definition at line 100 of file Cluster.cxx.

◆ dig()

const o2::hmpid::Digit * o2::hmpid::Cluster::dig ( int  i) const
inline

Definition at line 56 of file Cluster.h.

◆ digAdd()

void o2::hmpid::Cluster::digAdd ( const o2::hmpid::Digit pDig)

Definition at line 465 of file Cluster.cxx.

◆ doCorrSin()

void o2::hmpid::Cluster::doCorrSin ( bool  doCorrSin)
inline

Definition at line 77 of file Cluster.h.

◆ findClusterSize()

void o2::hmpid::Cluster::findClusterSize ( int  i,
float *  pSigmaCut 
)

Definition at line 427 of file Cluster.cxx.

◆ fitFunc()

void o2::hmpid::Cluster::fitFunc ( int iNpars,
double *  deriv,
double &  chi2,
double *  par,
int  iflag 
)
static

Definition at line 121 of file Cluster.cxx.

◆ getDigits()

const std::vector< const o2::hmpid::Digit * > * o2::hmpid::Cluster::getDigits ( ) const
inline

Definition at line 57 of file Cluster.h.

◆ isInPc()

Bool_t o2::hmpid::Cluster::isInPc ( )
inline

Definition at line 447 of file Cluster.cxx.

◆ print()

void o2::hmpid::Cluster::print ( Option_t *  opt = "") const

Definition at line 197 of file Cluster.cxx.

◆ q()

float o2::hmpid::Cluster::q ( )
inline

Definition at line 69 of file Cluster.h.

◆ qe()

float o2::hmpid::Cluster::qe ( )
inline

Definition at line 70 of file Cluster.h.

◆ qRaw()

float o2::hmpid::Cluster::qRaw ( )
inline

Definition at line 68 of file Cluster.h.

◆ reset()

void o2::hmpid::Cluster::reset ( )

Definition at line 483 of file Cluster.cxx.

◆ setCh()

void o2::hmpid::Cluster::setCh ( int  chamber)
inline

Definition at line 95 of file Cluster.h.

◆ setChi2()

void o2::hmpid::Cluster::setChi2 ( float  chi2)
inline

Definition at line 96 of file Cluster.h.

◆ setDigits()

void o2::hmpid::Cluster::setDigits ( std::vector< const o2::hmpid::Digit * > *  v = nullptr)
inline

Definition at line 58 of file Cluster.h.

◆ setQ()

void o2::hmpid::Cluster::setQ ( float  q)
inline

Definition at line 80 of file Cluster.h.

◆ setQRaw()

void o2::hmpid::Cluster::setQRaw ( float  qRaw)
inline

Definition at line 87 of file Cluster.h.

◆ setSize()

void o2::hmpid::Cluster::setSize ( int  size)
inline

Definition at line 94 of file Cluster.h.

◆ setStatus()

void o2::hmpid::Cluster::setStatus ( int  status)
inline

Definition at line 97 of file Cluster.h.

◆ setX()

void o2::hmpid::Cluster::setX ( float  x)
inline

Definition at line 78 of file Cluster.h.

◆ setY()

void o2::hmpid::Cluster::setY ( float  y)
inline

Definition at line 79 of file Cluster.h.

◆ size()

int o2::hmpid::Cluster::size ( )
inline

Definition at line 66 of file Cluster.h.

◆ solve()

int o2::hmpid::Cluster::solve ( std::vector< o2::hmpid::Cluster > *  pCluLst,
float *  pSigmaCut,
bool  isUnfold 
)

Definition at line 257 of file Cluster.cxx.

◆ status()

int o2::hmpid::Cluster::status ( )
inline

Definition at line 67 of file Cluster.h.

◆ x()

float o2::hmpid::Cluster::x ( )
inline

Definition at line 71 of file Cluster.h.

◆ xe()

float o2::hmpid::Cluster::xe ( )
inline

Definition at line 72 of file Cluster.h.

◆ y()

float o2::hmpid::Cluster::y ( )
inline

Definition at line 73 of file Cluster.h.

◆ ye()

float o2::hmpid::Cluster::ye ( )
inline

Definition at line 74 of file Cluster.h.

Member Data Documentation

◆ fgDoCorrSin

bool o2::hmpid::Cluster::fgDoCorrSin = true
static

list of digits forming this cluster

Definition at line 120 of file Cluster.h.

◆ mBox

int o2::hmpid::Cluster::mBox
protected

Definition at line 105 of file Cluster.h.

◆ mCh

int o2::hmpid::Cluster::mCh
protected

Definition at line 102 of file Cluster.h.

◆ mChi2

double o2::hmpid::Cluster::mChi2
protected

Definition at line 116 of file Cluster.h.

◆ mDigs

std::vector<const o2::hmpid::Digit*>* o2::hmpid::Cluster::mDigs = nullptr
protected

Definition at line 117 of file Cluster.h.

◆ mErrQ

double o2::hmpid::Cluster::mErrQ
protected

Definition at line 111 of file Cluster.h.

◆ mErrX

double o2::hmpid::Cluster::mErrX
protected

Definition at line 113 of file Cluster.h.

◆ mErrY

double o2::hmpid::Cluster::mErrY
protected

Definition at line 115 of file Cluster.h.

◆ mMaxQ

double o2::hmpid::Cluster::mMaxQ
protected

Definition at line 108 of file Cluster.h.

◆ mMaxQpad

int o2::hmpid::Cluster::mMaxQpad
protected

Definition at line 107 of file Cluster.h.

◆ mNlocMax

int o2::hmpid::Cluster::mNlocMax
protected

Definition at line 106 of file Cluster.h.

◆ mQ

double o2::hmpid::Cluster::mQ
protected

Definition at line 110 of file Cluster.h.

◆ mQRaw

double o2::hmpid::Cluster::mQRaw
protected

Definition at line 109 of file Cluster.h.

◆ mSi

int o2::hmpid::Cluster::mSi
protected

Definition at line 103 of file Cluster.h.

◆ mSt

int o2::hmpid::Cluster::mSt
protected

Definition at line 104 of file Cluster.h.

◆ mXX

double o2::hmpid::Cluster::mXX
protected

Definition at line 112 of file Cluster.h.

◆ mYY

double o2::hmpid::Cluster::mYY
protected

Definition at line 114 of file Cluster.h.


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