Project
Loading...
Searching...
No Matches
o2::its::FastMultEst Struct Reference

#include <FastMultEst.h>

Public Types

using ROFOverlapTableN = ROFOverlapTable< NLayers >
 
using ROFMaskTableN = ROFMaskTable< NLayers >
 

Public Member Functions

 FastMultEst ()
 state of the gRandom before
 
int selectROFs (const std::array< gsl::span< const o2::itsmft::ROFRecord >, NLayers > &rofs, const std::array< gsl::span< const o2::itsmft::CompClusterExt >, NLayers > &clus, const gsl::span< const o2::itsmft::PhysTrigger > trig, uint32_t firstTForbit, bool doStaggering, const ROFOverlapTableN::View &overlapView, ROFMaskTableN &sel)
 
void selectROFsWithVertices (const auto &vertices, const ROFOverlapTableN::View &overlapView, ROFMaskTableN &sel) const
 
int countClustersOnLayer (const gsl::span< const o2::itsmft::CompClusterExt > &clusters) const
 
float process (int nClusters)
 
float processNoiseFree (int nClusters)
 
float processNoiseImposed (int nClusters)
 
float process (const gsl::span< const o2::itsmft::CompClusterExt > &clusters)
 

Static Public Member Functions

static uint32_t getCurrentRandomSeed ()
 

Public Attributes

float mult = 0.
 
float noisePerChip = 0.
 estimated signal clusters multiplicity on the selected multiplicity layer
 
float cov [3] = {0.}
 imposed noise per chip (when enabled by configuration)
 
float chi2 = 0.
 retained for compatibility; set to zero in single-layer mode
 
int nLayersUsed = 0
 retained for compatibility; set to zero in single-layer mode
 
uint32_t lastRandomSeed = 0
 number of layers used by estimator (0/1 in single-layer mode)
 

Static Public Attributes

static constexpr int NLayers = o2::itsmft::ChipMappingITS::NLayers
 
static bool sSeedSet = false
 

Detailed Description

Definition at line 32 of file FastMultEst.h.

Member Typedef Documentation

◆ ROFMaskTableN

◆ ROFOverlapTableN

Constructor & Destructor Documentation

◆ FastMultEst()

FastMultEst::FastMultEst ( )

state of the gRandom before


Definition at line 90 of file FastMultEst.cxx.

Member Function Documentation

◆ countClustersOnLayer()

int FastMultEst::countClustersOnLayer ( const gsl::span< const o2::itsmft::CompClusterExt > &  clusters) const

count clusters on the configured multiplicity layer

Definition at line 104 of file FastMultEst.cxx.

◆ getCurrentRandomSeed()

static uint32_t o2::its::FastMultEst::getCurrentRandomSeed ( )
static

◆ process() [1/2]

float o2::its::FastMultEst::process ( const gsl::span< const o2::itsmft::CompClusterExt > &  clusters)
inline

Definition at line 82 of file FastMultEst.h.

◆ process() [2/2]

float o2::its::FastMultEst::process ( int  nClusters)
inline

Definition at line 76 of file FastMultEst.h.

◆ processNoiseFree()

float FastMultEst::processNoiseFree ( int  nClusters)

find multiplicity for given number of clusters per layer

Definition at line 124 of file FastMultEst.cxx.

◆ processNoiseImposed()

float FastMultEst::processNoiseImposed ( int  nClusters)

find multiplicity for given number of clusters per layer with mean noise imposed

Definition at line 144 of file FastMultEst.cxx.

◆ selectROFs()

int FastMultEst::selectROFs ( const std::array< gsl::span< const o2::itsmft::ROFRecord >, NLayers > &  rofs,
const std::array< gsl::span< const o2::itsmft::CompClusterExt >, NLayers > &  clus,
const gsl::span< const o2::itsmft::PhysTrigger trig,
uint32_t  firstTForbit,
bool  doStaggering,
const ROFOverlapTableN::View &  overlapView,
ROFMaskTableN sel 
)

Definition at line 162 of file FastMultEst.cxx.

◆ selectROFsWithVertices()

void o2::its::FastMultEst::selectROFsWithVertices ( const auto &  vertices,
const ROFOverlapTableN::View &  overlapView,
ROFMaskTableN sel 
) const
inline

Definition at line 54 of file FastMultEst.h.

Member Data Documentation

◆ chi2

float o2::its::FastMultEst::chi2 = 0.

retained for compatibility; set to zero in single-layer mode

Definition at line 41 of file FastMultEst.h.

◆ cov

float o2::its::FastMultEst::cov[3] = {0.}

imposed noise per chip (when enabled by configuration)

Definition at line 40 of file FastMultEst.h.

◆ lastRandomSeed

uint32_t o2::its::FastMultEst::lastRandomSeed = 0

number of layers used by estimator (0/1 in single-layer mode)

Definition at line 43 of file FastMultEst.h.

◆ mult

float o2::its::FastMultEst::mult = 0.

Definition at line 38 of file FastMultEst.h.

◆ NLayers

constexpr int o2::its::FastMultEst::NLayers = o2::itsmft::ChipMappingITS::NLayers
staticconstexpr

Definition at line 34 of file FastMultEst.h.

◆ nLayersUsed

int o2::its::FastMultEst::nLayersUsed = 0

retained for compatibility; set to zero in single-layer mode

Definition at line 42 of file FastMultEst.h.

◆ noisePerChip

float o2::its::FastMultEst::noisePerChip = 0.

estimated signal clusters multiplicity on the selected multiplicity layer

Definition at line 39 of file FastMultEst.h.

◆ sSeedSet

bool FastMultEst::sSeedSet = false
static

Definition at line 86 of file FastMultEst.h.


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