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

#include <Clusterer.h>

Public Member Functions

 Clusterer ()=default
 
 ~Clusterer ()=default
 
void initialize ()
 
void process (gsl::span< const Digit > digits, gsl::span< const TriggerRecord > dtr, const o2::dataformats::MCTruthContainer< o2::MCCompLabel > *dmc, std::vector< Cluster > *clusters, std::vector< TriggerRecord > *trigRec, o2::dataformats::MCTruthContainer< o2::MCCompLabel > *cluMC, std::vector< Digit > *calibDigits)
 
void makeClusters (gsl::span< const Digit > digits)
 
void evalCluProperties (gsl::span< const Digit > digits, std::vector< Cluster > *clusters, const o2::dataformats::MCTruthContainer< o2::MCCompLabel > *dmc, o2::dataformats::MCTruthContainer< o2::MCCompLabel > *cluMC)
 
float responseShape (float dx, float dz)
 
void propagateMC (bool toRun=true)
 
void makeUnfoldingsAndCalibDigits (gsl::span< const Digit > digits, std::vector< Digit > *calibDigits)
 
void makeCalibDigits (std::vector< Digit > *calibDigits)
 
void unfoldOneCluster (FullCluster &iniClu, char nMax, gsl::span< int > digitId, gsl::span< const Digit > digits)
 

Protected Attributes

bool mRunMC = false
 Process MC info.
 
int mFirstDigitInEvent
 Range of digits from one event.
 
int mLastDigitInEvent
 Range of digits from one event.
 
std::vector< FullClustermClusters
 internal vector of clusters
 
std::vector< DigitmDigits
 vector of transient digits for cell processing
 
std::vector< std::vector< float > > meInClusters = std::vector<std::vector<float>>(10, std::vector<float>(NLMMax))
 
std::vector< std::vector< float > > mfij = std::vector<std::vector<float>>(10, std::vector<float>(NLMMax))
 

Static Protected Attributes

static constexpr short NLMMax = 10
 maximal number of local maxima in cluster
 

Detailed Description

Definition at line 27 of file Clusterer.h.

Constructor & Destructor Documentation

◆ Clusterer()

o2::cpv::Clusterer::Clusterer ( )
default

◆ ~Clusterer()

o2::cpv::Clusterer::~Clusterer ( )
default

Member Function Documentation

◆ evalCluProperties()

void Clusterer::evalCluProperties ( gsl::span< const Digit digits,
std::vector< Cluster > *  clusters,
const o2::dataformats::MCTruthContainer< o2::MCCompLabel > *  dmc,
o2::dataformats::MCTruthContainer< o2::MCCompLabel > *  cluMC 
)

Definition at line 342 of file Clusterer.cxx.

◆ initialize()

void Clusterer::initialize ( )

Definition at line 32 of file Clusterer.cxx.

◆ makeCalibDigits()

void Clusterer::makeCalibDigits ( std::vector< Digit > *  calibDigits)

Definition at line 154 of file Clusterer.cxx.

◆ makeClusters()

void Clusterer::makeClusters ( gsl::span< const Digit digits)

< Container for bad cells, 1 means bad sell

Definition at line 83 of file Clusterer.cxx.

◆ makeUnfoldingsAndCalibDigits()

void Clusterer::makeUnfoldingsAndCalibDigits ( gsl::span< const Digit digits,
std::vector< Digit > *  calibDigits 
)

Definition at line 169 of file Clusterer.cxx.

◆ process()

void Clusterer::process ( gsl::span< const Digit digits,
gsl::span< const TriggerRecord dtr,
const o2::dataformats::MCTruthContainer< o2::MCCompLabel > *  dmc,
std::vector< Cluster > *  clusters,
std::vector< TriggerRecord > *  trigRec,
o2::dataformats::MCTruthContainer< o2::MCCompLabel > *  cluMC,
std::vector< Digit > *  calibDigits 
)

Definition at line 39 of file Clusterer.cxx.

◆ propagateMC()

void o2::cpv::Clusterer::propagateMC ( bool  toRun = true)
inline

Definition at line 46 of file Clusterer.h.

◆ responseShape()

float Clusterer::responseShape ( float  dx,
float  dz 
)

Definition at line 413 of file Clusterer.cxx.

◆ unfoldOneCluster()

void Clusterer::unfoldOneCluster ( FullCluster iniClu,
char  nMax,
gsl::span< int digitId,
gsl::span< const Digit digits 
)

Definition at line 199 of file Clusterer.cxx.

Member Data Documentation

◆ mClusters

std::vector<FullCluster> o2::cpv::Clusterer::mClusters
protected

internal vector of clusters

Definition at line 58 of file Clusterer.h.

◆ mDigits

std::vector<Digit> o2::cpv::Clusterer::mDigits
protected

vector of transient digits for cell processing

Definition at line 59 of file Clusterer.h.

◆ meInClusters

std::vector<std::vector<float> > o2::cpv::Clusterer::meInClusters = std::vector<std::vector<float>>(10, std::vector<float>(NLMMax))
protected

Definition at line 61 of file Clusterer.h.

◆ mfij

std::vector<std::vector<float> > o2::cpv::Clusterer::mfij = std::vector<std::vector<float>>(10, std::vector<float>(NLMMax))
protected

Definition at line 62 of file Clusterer.h.

◆ mFirstDigitInEvent

int o2::cpv::Clusterer::mFirstDigitInEvent
protected

Range of digits from one event.

Definition at line 56 of file Clusterer.h.

◆ mLastDigitInEvent

int o2::cpv::Clusterer::mLastDigitInEvent
protected

Range of digits from one event.

Definition at line 57 of file Clusterer.h.

◆ mRunMC

bool o2::cpv::Clusterer::mRunMC = false
protected

Process MC info.

Definition at line 55 of file Clusterer.h.

◆ NLMMax

constexpr short o2::cpv::Clusterer::NLMMax = 10
staticconstexprprotected

maximal number of local maxima in cluster

Definition at line 53 of file Clusterer.h.


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