![]() |
Project
|
#include <PreClusterFinder.h>
Classes | |
struct | DetectionElement |
Public Member Functions | |
PreClusterFinder () | |
~PreClusterFinder () | |
PreClusterFinder (const PreClusterFinder &)=delete | |
PreClusterFinder & | operator= (const PreClusterFinder &)=delete |
PreClusterFinder (PreClusterFinder &&)=delete | |
PreClusterFinder & | operator= (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) |
ErrorMap & | getErrorMap () |
return the counting of encountered errors | |
Definition at line 36 of file PreClusterFinder.h.
o2::mch::PreClusterFinder::PreClusterFinder | ( | ) |
default constructor: prepare the internal mapping structures
Definition at line 40 of file PreClusterFinder.cxx.
|
default |
|
delete |
|
delete |
void o2::mch::PreClusterFinder::deinit | ( | ) |
clear the internal structure
Definition at line 66 of file PreClusterFinder.cxx.
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.
|
inline |
return the counting of encountered errors
Definition at line 61 of file PreClusterFinder.h.
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.
void o2::mch::PreClusterFinder::init | ( | ) |
load the mapping and fill the internal structures
Definition at line 52 of file PreClusterFinder.cxx.
fill the Mapping::MpDE structure with fired pad
Definition at line 124 of file PreClusterFinder.cxx.
fill the Mapping::MpDE structure with fired pads
Definition at line 115 of file PreClusterFinder.cxx.
|
delete |
|
delete |
void o2::mch::PreClusterFinder::reset | ( | ) |
reset fired pad and precluster information
Definition at line 75 of file PreClusterFinder.cxx.
int o2::mch::PreClusterFinder::run | ( | ) |
preclusterize each cathod separately then merge them
Definition at line 204 of file PreClusterFinder.cxx.