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

#include <Recon.h>

Inherits TNamed.

Public Types

enum  eTrackingFlags {
  kNotPerformed = -20 , kMipDistCut = -9 , kMipQdcCut = -5 , kNoPhotAccept = -11 ,
  kNoRad = -22
}
 

Public Member Functions

 Recon ()
 
virtual ~Recon ()
 
void initVars (int n)
 
void ckovAngle (o2::dataformats::MatchInfoHMP *match, const std::vector< o2::hmpid::Cluster > clusters, int index, double nmean, float xRa, float yRa)
 
bool findPhotCkov (double cluX, double cluY, double &thetaCer, double &phiCer)
 
bool findPhotCkov2 (double cluX, double cluY, double &thetaCer, double &phiCer)
 
double findRingCkov (int iNclus)
 
void findRingGeom (double ckovAng, int level=1)
 
const TVector2 intWithEdge (TVector2 p1, TVector2 p2)
 
int flagPhot (double ckov, const std::vector< o2::hmpid::Cluster > clusters, float *photChargeVec)
 
double houghResponse ()
 
void propagate (const TVector3 dir, TVector3 &pos, double z) const
 
void refract (TVector3 &dir, double n1, double n2) const
 
TVector2 tracePhot (double ckovTh, double ckovPh) const
 
TVector2 traceForward (TVector3 dirCkov) const
 
void lors2Trs (TVector3 dirCkov, double &thetaCer, double &phiCer) const
 
void trs2Lors (TVector3 dirCkov, double &thetaCer, double &phiCer) const
 
TVector2 getMip () const
 
double getRingArea () const
 
double getRingAcc () const
 
double findRingExt (double ckov, int ch, double xPc, double yPc, double thRa, double phRa)
 
void setTrack (double xRad, double yRad, double theta, double phi)
 
void setImpPC (double xPc, double yPc)
 
void setMip (double xmip, double ymip)
 

Protected Attributes

int fPhotCnt
 
std::unique_ptr< int[]> fPhotFlag
 
std::unique_ptr< int[]> fPhotClusIndex
 
std::unique_ptr< double[]> fPhotCkov
 
std::unique_ptr< double[]> fPhotPhi
 
std::unique_ptr< double[]> fPhotWei
 
double fCkovSigma2
 
bool fIsWEIGHT
 
float fDTheta
 
float fWindowWidth
 
double fRingArea
 
double fRingAcc
 
TVector3 fTrkDir
 
TVector2 fTrkPos
 
TVector2 fMipPos
 
TVector2 fPc
 
o2::hmpid::ParamfParam = o2::hmpid::Param::instance()
 

Detailed Description

Definition at line 45 of file Recon.h.

Member Enumeration Documentation

◆ eTrackingFlags

Enumerator
kNotPerformed 
kMipDistCut 
kMipQdcCut 
kNoPhotAccept 
kNoRad 

Definition at line 150 of file Recon.h.

Constructor & Destructor Documentation

◆ Recon()

o2::hmpid::Recon::Recon ( )
inline

Definition at line 51 of file Recon.h.

◆ ~Recon()

virtual o2::hmpid::Recon::~Recon ( )
inlinevirtual

Definition at line 79 of file Recon.h.

Member Function Documentation

◆ ckovAngle()

void Recon::ckovAngle ( o2::dataformats::MatchInfoHMP match,
const std::vector< o2::hmpid::Cluster clusters,
int  index,
double  nmean,
float  xRa,
float  yRa 
)

Definition at line 49 of file Recon.cxx.

◆ findPhotCkov()

bool Recon::findPhotCkov ( double  cluX,
double  cluY,
double &  thetaCer,
double &  phiCer 
)

Definition at line 145 of file Recon.cxx.

◆ findPhotCkov2()

bool Recon::findPhotCkov2 ( double  cluX,
double  cluY,
double &  thetaCer,
double &  phiCer 
)

set emission point

set track direction vector

Definition at line 190 of file Recon.cxx.

◆ findRingCkov()

double Recon::findRingCkov ( int  iNclus)

Definition at line 399 of file Recon.cxx.

◆ findRingExt()

double Recon::findRingExt ( double  ckov,
int  ch,
double  xPc,
double  yPc,
double  thRa,
double  phRa 
)

Definition at line 593 of file Recon.cxx.

◆ findRingGeom()

void Recon::findRingGeom ( double  ckovAng,
int  level = 1 
)

Definition at line 301 of file Recon.cxx.

◆ flagPhot()

int Recon::flagPhot ( double  ckov,
const std::vector< o2::hmpid::Cluster clusters,
float *  photChargeVec 
)

Definition at line 442 of file Recon.cxx.

◆ getMip()

TVector2 o2::hmpid::Recon::getMip ( ) const
inline

Definition at line 118 of file Recon.h.

◆ getRingAcc()

double o2::hmpid::Recon::getRingAcc ( ) const
inline

Definition at line 128 of file Recon.h.

◆ getRingArea()

double o2::hmpid::Recon::getRingArea ( ) const
inline

Definition at line 123 of file Recon.h.

◆ houghResponse()

double Recon::houghResponse ( )

Definition at line 527 of file Recon.cxx.

◆ initVars()

void Recon::initVars ( int  n)

Definition at line 29 of file Recon.cxx.

◆ intWithEdge()

const TVector2 Recon::intWithEdge ( TVector2  p1,
TVector2  p2 
)

Definition at line 354 of file Recon.cxx.

◆ lors2Trs()

void Recon::lors2Trs ( TVector3  dirCkov,
double &  thetaCer,
double &  phiCer 
) const

Definition at line 252 of file Recon.cxx.

◆ propagate()

void Recon::propagate ( const TVector3  dir,
TVector3 &  pos,
double  z 
) const

Definition at line 495 of file Recon.cxx.

◆ refract()

void Recon::refract ( TVector3 &  dir,
double  n1,
double  n2 
) const

Definition at line 510 of file Recon.cxx.

◆ setImpPC()

void o2::hmpid::Recon::setImpPC ( double  xPc,
double  yPc 
)
inline

Definition at line 140 of file Recon.h.

◆ setMip()

void o2::hmpid::Recon::setMip ( double  xmip,
double  ymip 
)
inline

Definition at line 145 of file Recon.h.

◆ setTrack()

void o2::hmpid::Recon::setTrack ( double  xRad,
double  yRad,
double  theta,
double  phi 
)
inline

Definition at line 134 of file Recon.h.

◆ traceForward()

TVector2 Recon::traceForward ( TVector3  dirCkov) const

Definition at line 228 of file Recon.cxx.

◆ tracePhot()

TVector2 Recon::tracePhot ( double  ckovTh,
double  ckovPh 
) const

Definition at line 480 of file Recon.cxx.

◆ trs2Lors()

void Recon::trs2Lors ( TVector3  dirCkov,
double &  thetaCer,
double &  phiCer 
) const

Definition at line 276 of file Recon.cxx.

Member Data Documentation

◆ fCkovSigma2

double o2::hmpid::Recon::fCkovSigma2
protected

Definition at line 168 of file Recon.h.

◆ fDTheta

float o2::hmpid::Recon::fDTheta
protected

Definition at line 171 of file Recon.h.

◆ fIsWEIGHT

bool o2::hmpid::Recon::fIsWEIGHT
protected

Definition at line 170 of file Recon.h.

◆ fMipPos

TVector2 o2::hmpid::Recon::fMipPos
protected

Definition at line 180 of file Recon.h.

◆ fParam

o2::hmpid::Param* o2::hmpid::Recon::fParam = o2::hmpid::Param::instance()
protected

Definition at line 183 of file Recon.h.

◆ fPc

TVector2 o2::hmpid::Recon::fPc
protected

Definition at line 181 of file Recon.h.

◆ fPhotCkov

std::unique_ptr<double[]> o2::hmpid::Recon::fPhotCkov
protected

Definition at line 162 of file Recon.h.

◆ fPhotClusIndex

std::unique_ptr<int[]> o2::hmpid::Recon::fPhotClusIndex
protected

Definition at line 161 of file Recon.h.

◆ fPhotCnt

int o2::hmpid::Recon::fPhotCnt
protected

Definition at line 157 of file Recon.h.

◆ fPhotFlag

std::unique_ptr<int[]> o2::hmpid::Recon::fPhotFlag
protected

Definition at line 160 of file Recon.h.

◆ fPhotPhi

std::unique_ptr<double[]> o2::hmpid::Recon::fPhotPhi
protected

Definition at line 163 of file Recon.h.

◆ fPhotWei

std::unique_ptr<double[]> o2::hmpid::Recon::fPhotWei
protected

Definition at line 164 of file Recon.h.

◆ fRingAcc

double o2::hmpid::Recon::fRingAcc
protected

Definition at line 175 of file Recon.h.

◆ fRingArea

double o2::hmpid::Recon::fRingArea
protected

Definition at line 174 of file Recon.h.

◆ fTrkDir

TVector3 o2::hmpid::Recon::fTrkDir
protected

Definition at line 177 of file Recon.h.

◆ fTrkPos

TVector2 o2::hmpid::Recon::fTrkPos
protected

Definition at line 179 of file Recon.h.

◆ fWindowWidth

float o2::hmpid::Recon::fWindowWidth
protected

Definition at line 172 of file Recon.h.


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