Project
Loading...
Searching...
No Matches
o2::its::CookedTracker Class Reference

#include <CookedTracker.h>

Classes

class  Layer
 

Public Types

using TrackInserter = std::function< int(const TrackITSExt &t)>
 

Public Member Functions

 CookedTracker (Int_t nThreads=1)
 
 CookedTracker (const CookedTracker &)=delete
 
CookedTrackeroperator= (const CookedTracker &tr)=delete
 
 ~CookedTracker ()=default
 
void setConfigParams ()
 
void setParameters (const std::vector< float > &par)
 
void setParametersCosmics ()
 
void setVertices (const std::vector< Vertex > &vertices)
 
Double_t getX () const
 
Double_t getY () const
 
Double_t getZ () const
 
Double_t getSigmaX () const
 
Double_t getSigmaY () const
 
Double_t getSigmaZ () const
 
o2::MCCompLabel cookLabel (TrackITSExt &t, Float_t wrong) const
 
void setExternalIndices (TrackITSExt &t) const
 
Double_t getBz () const
 
void setBz (Double_t bz)
 
void setNumberOfThreads (Int_t n)
 
Int_t getNumberOfThreads () const
 
template<typename U , typename V >
void process (gsl::span< const CompClusterExt > clusters, gsl::span< const unsigned char >::iterator &it, const o2::itsmft::TopologyDictionary *dict, U &tracks, V &clusIdx, o2::itsmft::ROFRecord &rof)
 
void process (gsl::span< const CompClusterExt > const &clusters, gsl::span< const unsigned char >::iterator &it, const o2::itsmft::TopologyDictionary *dict, TrackInserter &inserter, o2::itsmft::ROFRecord &rof)
 
const ClustergetCluster (Int_t index) const
 
void setGeometry (o2::its::GeometryTGeo *geom)
 
void setMCTruthContainers (const o2::dataformats::MCTruthContainer< o2::MCCompLabel > *clsLabels, std::vector< o2::MCCompLabel > *trkLabels)
 
void setContinuousMode (bool mode)
 
bool getContinuousMode ()
 

Static Public Member Functions

static void setMostProbablePt (float pt)
 
static auto getMostProbablePt ()
 

Protected Member Functions

int loadClusters ()
 
void unloadClusters ()
 
std::tuple< int, intprocessLoadedClusters (TrackInserter &inserter)
 
std::vector< TrackITSExttrackInThread (Int_t first, Int_t last)
 
o2::its::TrackITSExt cookSeed (const Point3Df &r1, Point3Df &r2, const Point3Df &tr3, float rad2, float rad3, float_t alpha, float_t bz)
 
void makeSeeds (std::vector< TrackITSExt > &seeds, Int_t first, Int_t last)
 
void trackSeeds (std::vector< TrackITSExt > &seeds)
 
Bool_t attachCluster (Int_t &volID, Int_t nl, Int_t ci, TrackITSExt &t, const TrackITSExt &o) const
 
void makeBackPropParam (std::vector< TrackITSExt > &seeds) const
 
bool makeBackPropParam (TrackITSExt &track) const
 

Static Protected Attributes

static constexpr int kNLayers = 7
 

Detailed Description

Definition at line 51 of file CookedTracker.h.

Member Typedef Documentation

◆ TrackInserter

using o2::its::CookedTracker::TrackInserter = std::function<int(const TrackITSExt& t)>

Definition at line 127 of file CookedTracker.h.

Constructor & Destructor Documentation

◆ CookedTracker() [1/2]

CookedTracker::CookedTracker ( Int_t  nThreads = 1)

Definition at line 80 of file CookedTracker.cxx.

◆ CookedTracker() [2/2]

o2::its::CookedTracker::CookedTracker ( const CookedTracker )
delete

◆ ~CookedTracker()

o2::its::CookedTracker::~CookedTracker ( )
default

Member Function Documentation

◆ attachCluster()

Bool_t CookedTracker::attachCluster ( Int_t &  volID,
Int_t  nl,
Int_t  ci,
TrackITSExt t,
const TrackITSExt o 
) const
protected

Definition at line 822 of file CookedTracker.cxx.

◆ cookLabel()

Label CookedTracker::cookLabel ( TrackITSExt t,
Float_t  wrong 
) const

Definition at line 93 of file CookedTracker.cxx.

◆ cookSeed()

o2::its::TrackITSExt CookedTracker::cookSeed ( const Point3Df r1,
Point3Df r2,
const Point3Df tr3,
float  rad2,
float  rad3,
float_t  alpha,
float_t  bz 
)
protected

Definition at line 179 of file CookedTracker.cxx.

◆ getBz()

Double_t CookedTracker::getBz ( ) const

Definition at line 133 of file CookedTracker.cxx.

◆ getCluster()

const Cluster * CookedTracker::getCluster ( Int_t  index) const

Definition at line 705 of file CookedTracker.cxx.

◆ getContinuousMode()

bool o2::its::CookedTracker::getContinuousMode ( )
inline

Definition at line 159 of file CookedTracker.h.

◆ getMostProbablePt()

static auto o2::its::CookedTracker::getMostProbablePt ( )
inlinestatic

Definition at line 162 of file CookedTracker.h.

◆ getNumberOfThreads()

Int_t o2::its::CookedTracker::getNumberOfThreads ( ) const
inline

Definition at line 125 of file CookedTracker.h.

◆ getSigmaX()

Double_t o2::its::CookedTracker::getSigmaX ( ) const
inline

Definition at line 116 of file CookedTracker.h.

◆ getSigmaY()

Double_t o2::its::CookedTracker::getSigmaY ( ) const
inline

Definition at line 117 of file CookedTracker.h.

◆ getSigmaZ()

Double_t o2::its::CookedTracker::getSigmaZ ( ) const
inline

Definition at line 118 of file CookedTracker.h.

◆ getX()

Double_t o2::its::CookedTracker::getX ( ) const
inline

Definition at line 113 of file CookedTracker.h.

◆ getY()

Double_t o2::its::CookedTracker::getY ( ) const
inline

Definition at line 114 of file CookedTracker.h.

◆ getZ()

Double_t o2::its::CookedTracker::getZ ( ) const
inline

Definition at line 115 of file CookedTracker.h.

◆ loadClusters()

int CookedTracker::loadClusters ( )
protected

Definition at line 661 of file CookedTracker.cxx.

◆ makeBackPropParam() [1/2]

void CookedTracker::makeBackPropParam ( std::vector< TrackITSExt > &  seeds) const
protected

Definition at line 622 of file CookedTracker.cxx.

◆ makeBackPropParam() [2/2]

bool CookedTracker::makeBackPropParam ( TrackITSExt track) const
protected

Definition at line 634 of file CookedTracker.cxx.

◆ makeSeeds()

void CookedTracker::makeSeeds ( std::vector< TrackITSExt > &  seeds,
Int_t  first,
Int_t  last 
)
protected

Definition at line 246 of file CookedTracker.cxx.

◆ operator=()

CookedTracker & o2::its::CookedTracker::operator= ( const CookedTracker tr)
delete

◆ process() [1/2]

template<typename U , typename V >
void o2::its::CookedTracker::process ( gsl::span< const CompClusterExt clusters,
gsl::span< const unsigned char >::iterator &  it,
const o2::itsmft::TopologyDictionary dict,
U &  tracks,
V &  clusIdx,
o2::itsmft::ROFRecord rof 
)
inline

Definition at line 130 of file CookedTracker.h.

◆ process() [2/2]

void o2::its::CookedTracker::process ( gsl::span< const CompClusterExt > const &  clusters,
gsl::span< const unsigned char >::iterator &  it,
const o2::itsmft::TopologyDictionary dict,
TrackInserter inserter,
o2::itsmft::ROFRecord rof 
)

◆ processLoadedClusters()

std::tuple< int, int > CookedTracker::processLoadedClusters ( TrackInserter inserter)
protected

Definition at line 564 of file CookedTracker.cxx.

◆ setBz()

void o2::its::CookedTracker::setBz ( Double_t  bz)
inline

Definition at line 122 of file CookedTracker.h.

◆ setConfigParams()

void o2::its::CookedTracker::setConfigParams ( )
inline

Definition at line 63 of file CookedTracker.h.

◆ setContinuousMode()

void o2::its::CookedTracker::setContinuousMode ( bool  mode)
inline

Definition at line 158 of file CookedTracker.h.

◆ setExternalIndices()

void o2::its::CookedTracker::setExternalIndices ( TrackITSExt t) const

◆ setGeometry()

void CookedTracker::setGeometry ( o2::its::GeometryTGeo geom)

attach geometry interface

Definition at line 858 of file CookedTracker.cxx.

◆ setMCTruthContainers()

void o2::its::CookedTracker::setMCTruthContainers ( const o2::dataformats::MCTruthContainer< o2::MCCompLabel > *  clsLabels,
std::vector< o2::MCCompLabel > *  trkLabels 
)
inline

Definition at line 152 of file CookedTracker.h.

◆ setMostProbablePt()

static void o2::its::CookedTracker::setMostProbablePt ( float  pt)
inlinestatic

Definition at line 161 of file CookedTracker.h.

◆ setNumberOfThreads()

void o2::its::CookedTracker::setNumberOfThreads ( Int_t  n)
inline

Definition at line 124 of file CookedTracker.h.

◆ setParameters()

void o2::its::CookedTracker::setParameters ( const std::vector< float > &  par)
inline

Definition at line 77 of file CookedTracker.h.

◆ setParametersCosmics()

void o2::its::CookedTracker::setParametersCosmics ( )
inline

Definition at line 93 of file CookedTracker.h.

◆ setVertices()

void o2::its::CookedTracker::setVertices ( const std::vector< Vertex > &  vertices)
inline

Definition at line 108 of file CookedTracker.h.

◆ trackInThread()

std::vector< TrackITSExt > CookedTracker::trackInThread ( Int_t  first,
Int_t  last 
)
protected

Definition at line 470 of file CookedTracker.cxx.

◆ trackSeeds()

void CookedTracker::trackSeeds ( std::vector< TrackITSExt > &  seeds)
protected

Definition at line 359 of file CookedTracker.cxx.

◆ unloadClusters()

void CookedTracker::unloadClusters ( )
protected

Definition at line 694 of file CookedTracker.cxx.

Member Data Documentation

◆ kNLayers

constexpr int o2::its::CookedTracker::kNLayers = 7
staticconstexprprotected

Definition at line 169 of file CookedTracker.h.


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