Project
Loading...
Searching...
No Matches
o2::mid::Efficiency Class Reference

Class to estimate the MID chamber efficiency. More...

#include <Efficiency.h>

Public Types

enum class  ElementType { Board , RPC , Plane }
 

Public Member Functions

void process (gsl::span< const mid::Track > midTracks)
 Fill the counters to estimate the chamber efficiency.
 
const ChamberEfficiency & getChamberEfficiency (ElementType et) const
 Returns the chamber efficiency.
 

Detailed Description

Class to estimate the MID chamber efficiency.

Definition at line 30 of file Efficiency.h.

Member Enumeration Documentation

◆ ElementType

Enumerator
Board 
RPC 

Efficiency per board.

Plane 

Efficiency per RPC.

Efficiency per chamber plane

Definition at line 33 of file Efficiency.h.

Member Function Documentation

◆ getChamberEfficiency()

const ChamberEfficiency & o2::mid::Efficiency::getChamberEfficiency ( ElementType  et) const
inline

Returns the chamber efficiency.

Parameters
etElement type
Returns
Chamber efficiency for the specified type

Definition at line 46 of file Efficiency.h.

◆ process()

void o2::mid::Efficiency::process ( gsl::span< const mid::Track >  midTracks)

Fill the counters to estimate the chamber efficiency.

Parameters
midTracksReconstructed tracks

Definition at line 26 of file Efficiency.cxx.


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