Project
Loading...
Searching...
No Matches
o2::mch::PreClusterFinder Class Reference

#include <PreClusterFinder.h>

Classes

struct  DetectionElement
 

Public Member Functions

 PreClusterFinder ()
 
 ~PreClusterFinder ()
 
 PreClusterFinder (const PreClusterFinder &)=delete
 
PreClusterFinderoperator= (const PreClusterFinder &)=delete
 
 PreClusterFinder (PreClusterFinder &&)=delete
 
PreClusterFinderoperator= (PreClusterFinder &&)=delete
 
void init ()
 
void deinit ()
 
void reset ()
 
void loadDigits (gsl::span< const Digit > digits)
 
void loadDigit (const Digit &digit)
 
int discardHighOccupancy (bool perDE, bool perEvent)
 
int run ()
 
void getPreClusters (std::vector< o2::mch::PreCluster > &preClusters, std::vector< Digit > &digits)
 
ErrorMapgetErrorMap ()
 return the counting of encountered errors
 

Detailed Description

Definition at line 36 of file PreClusterFinder.h.

Constructor & Destructor Documentation

◆ PreClusterFinder() [1/3]

o2::mch::PreClusterFinder::PreClusterFinder ( )

default constructor: prepare the internal mapping structures

Definition at line 40 of file PreClusterFinder.cxx.

◆ ~PreClusterFinder()

o2::mch::PreClusterFinder::~PreClusterFinder ( )
default

◆ PreClusterFinder() [2/3]

o2::mch::PreClusterFinder::PreClusterFinder ( const PreClusterFinder )
delete

◆ PreClusterFinder() [3/3]

o2::mch::PreClusterFinder::PreClusterFinder ( PreClusterFinder &&  )
delete

Member Function Documentation

◆ deinit()

void o2::mch::PreClusterFinder::deinit ( )

clear the internal structure

Definition at line 66 of file PreClusterFinder.cxx.

◆ discardHighOccupancy()

int o2::mch::PreClusterFinder::discardHighOccupancy ( bool  perDE,
bool  perEvent 
)

discard high-occupancy (noisy) DE and/or event

Definition at line 165 of file PreClusterFinder.cxx.

◆ getErrorMap()

ErrorMap & o2::mch::PreClusterFinder::getErrorMap ( )
inline

return the counting of encountered errors

Definition at line 61 of file PreClusterFinder.h.

◆ getPreClusters()

void o2::mch::PreClusterFinder::getPreClusters ( std::vector< o2::mch::PreCluster > &  preClusters,
std::vector< Digit > &  digits 
)

add the preclusters and associated digits at the end of the input vectors the existing preclusters and digits are not touched, so the corresponding indices are preserved however, iterators, pointers and references might be invalidated in case the vectors are resized

Definition at line 212 of file PreClusterFinder.cxx.

◆ init()

void o2::mch::PreClusterFinder::init ( )

load the mapping and fill the internal structures

Definition at line 52 of file PreClusterFinder.cxx.

◆ loadDigit()

void o2::mch::PreClusterFinder::loadDigit ( const Digit digit)

fill the Mapping::MpDE structure with fired pad

Definition at line 124 of file PreClusterFinder.cxx.

◆ loadDigits()

void o2::mch::PreClusterFinder::loadDigits ( gsl::span< const Digit digits)

fill the Mapping::MpDE structure with fired pads

Definition at line 115 of file PreClusterFinder.cxx.

◆ operator=() [1/2]

PreClusterFinder & o2::mch::PreClusterFinder::operator= ( const PreClusterFinder )
delete

◆ operator=() [2/2]

PreClusterFinder & o2::mch::PreClusterFinder::operator= ( PreClusterFinder &&  )
delete

◆ reset()

void o2::mch::PreClusterFinder::reset ( )

reset fired pad and precluster information

Definition at line 75 of file PreClusterFinder.cxx.

◆ run()

int o2::mch::PreClusterFinder::run ( )

preclusterize each cathod separately then merge them

Definition at line 204 of file PreClusterFinder.cxx.


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