Project
Loading...
Searching...
No Matches
o2::itsmft::Clusterer Class Reference

#include <Clusterer.h>

Classes

struct  BBox
 
struct  ClustererThread
 
struct  ThreadStat
 methods and transient data used within a thread More...
 

Public Member Functions

 Clusterer ()
 
 ~Clusterer ()=default
 
 Clusterer (const Clusterer &)=delete
 
Clustereroperator= (const Clusterer &)=delete
 
void process (int nThreads, PixelReader &r, CompClusCont *compClus, PatternCont *patterns, ROFRecCont *vecROFRec, MCTruth *labelsCl=nullptr)
 
bool isContinuousReadOut () const
 
void setContinuousReadOut (bool v)
 
bool isDropHugeClusters () const
 
void setDropHugeClusters (bool v)
 
int getMaxBCSeparationToMask () const
 
void setMaxBCSeparationToMask (int n)
 
int getMaxRowColDiffToMask () const
 
void setMaxRowColDiffToMask (int v)
 
int getMaxROFDepthToSquash () const
 
void setMaxROFDepthToSquash (int v)
 
int getMaxBCSeparationToSquash () const
 
void setMaxBCSeparationToSquash (int n)
 
void print () const
 
void clear ()
 
void reset ()
 
void setNChips (int n)
 load the dictionary of cluster topologies
 
void loadDictionary (const std::string &fileName)
 
void setDictionary (const TopologyDictionary *dict)
 
TStopwatch & getTimer ()
 
TStopwatch & getTimerMerge ()
 

Static Public Member Functions

template<typename VCLUS , typename VPAT >
static void streamCluster (const std::vector< PixelData > &pixbuf, const std::array< Label, MaxLabels > *lblBuff, const BBox &bbox, const LookUp &pattIdConverter, VCLUS *compClusPtr, VPAT *patternsPtr, MCTruth *labelsClusPtr, int nlab, bool isHuge=false)
 

Static Public Attributes

static constexpr int MaxLabels = 10
 
static constexpr int MaxHugeClusWarn = 5
 

Detailed Description

Definition at line 64 of file Clusterer.h.

Constructor & Destructor Documentation

◆ Clusterer() [1/2]

Clusterer::Clusterer ( )

Definition at line 341 of file Clusterer.cxx.

◆ ~Clusterer()

o2::itsmft::Clusterer::~Clusterer ( )
default

◆ Clusterer() [2/2]

o2::itsmft::Clusterer::Clusterer ( const Clusterer )
delete

Member Function Documentation

◆ clear()

void Clusterer::clear ( )

Definition at line 467 of file Clusterer.cxx.

◆ getMaxBCSeparationToMask()

int o2::itsmft::Clusterer::getMaxBCSeparationToMask ( ) const
inline

Definition at line 212 of file Clusterer.h.

◆ getMaxBCSeparationToSquash()

int o2::itsmft::Clusterer::getMaxBCSeparationToSquash ( ) const
inline

Definition at line 221 of file Clusterer.h.

◆ getMaxROFDepthToSquash()

int o2::itsmft::Clusterer::getMaxROFDepthToSquash ( ) const
inline

Definition at line 218 of file Clusterer.h.

◆ getMaxRowColDiffToMask()

int o2::itsmft::Clusterer::getMaxRowColDiffToMask ( ) const
inline

Definition at line 215 of file Clusterer.h.

◆ getTimer()

TStopwatch & o2::itsmft::Clusterer::getTimer ( )
inline

Definition at line 238 of file Clusterer.h.

◆ getTimerMerge()

TStopwatch & o2::itsmft::Clusterer::getTimerMerge ( )
inline

Definition at line 239 of file Clusterer.h.

◆ isContinuousReadOut()

bool o2::itsmft::Clusterer::isContinuousReadOut ( ) const
inline

Definition at line 206 of file Clusterer.h.

◆ isDropHugeClusters()

bool o2::itsmft::Clusterer::isDropHugeClusters ( ) const
inline

Definition at line 209 of file Clusterer.h.

◆ loadDictionary()

void o2::itsmft::Clusterer::loadDictionary ( const std::string &  fileName)
inline

Definition at line 235 of file Clusterer.h.

◆ operator=()

Clusterer & o2::itsmft::Clusterer::operator= ( const Clusterer )
delete

◆ print()

void Clusterer::print ( ) const

Definition at line 479 of file Clusterer.cxx.

◆ process()

void Clusterer::process ( int  nThreads,
PixelReader r,
CompClusCont compClus,
PatternCont patterns,
ROFRecCont vecROFRec,
MCTruth labelsCl = nullptr 
)

Definition at line 27 of file Clusterer.cxx.

◆ reset()

void Clusterer::reset ( )

Definition at line 498 of file Clusterer.cxx.

◆ setContinuousReadOut()

void o2::itsmft::Clusterer::setContinuousReadOut ( bool  v)
inline

Definition at line 207 of file Clusterer.h.

◆ setDictionary()

void o2::itsmft::Clusterer::setDictionary ( const TopologyDictionary dict)
inline

Definition at line 236 of file Clusterer.h.

◆ setDropHugeClusters()

void o2::itsmft::Clusterer::setDropHugeClusters ( bool  v)
inline

Definition at line 210 of file Clusterer.h.

◆ setMaxBCSeparationToMask()

void o2::itsmft::Clusterer::setMaxBCSeparationToMask ( int  n)
inline

Definition at line 213 of file Clusterer.h.

◆ setMaxBCSeparationToSquash()

void o2::itsmft::Clusterer::setMaxBCSeparationToSquash ( int  n)
inline

Definition at line 222 of file Clusterer.h.

◆ setMaxROFDepthToSquash()

void o2::itsmft::Clusterer::setMaxROFDepthToSquash ( int  v)
inline

Definition at line 219 of file Clusterer.h.

◆ setMaxRowColDiffToMask()

void o2::itsmft::Clusterer::setMaxRowColDiffToMask ( int  v)
inline

Definition at line 216 of file Clusterer.h.

◆ setNChips()

void o2::itsmft::Clusterer::setNChips ( int  n)
inline

load the dictionary of cluster topologies

Definition at line 228 of file Clusterer.h.

◆ streamCluster()

template<typename VCLUS , typename VPAT >
void o2::itsmft::Clusterer::streamCluster ( const std::vector< PixelData > &  pixbuf,
const std::array< Label, MaxLabels > *  lblBuff,
const BBox bbox,
const LookUp pattIdConverter,
VCLUS *  compClusPtr,
VPAT *  patternsPtr,
MCTruth labelsClusPtr,
int  nlab,
bool  isHuge = false 
)
static

Definition at line 269 of file Clusterer.h.

Member Data Documentation

◆ MaxHugeClusWarn

constexpr int o2::itsmft::Clusterer::MaxHugeClusWarn = 5
staticconstexpr

Definition at line 77 of file Clusterer.h.

◆ MaxLabels

constexpr int o2::itsmft::Clusterer::MaxLabels = 10
staticconstexpr

Definition at line 76 of file Clusterer.h.


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