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

#include <CalibParams.h>

Public Member Functions

 CalibParams ()=default
 Constructor.
 
 CalibParams (short test)
 Constructor for tests.
 
 ~CalibParams ()=default
 Destructor.
 
float getGain (unsigned short cellID) const
 Get High Gain energy calibration coefficients.
 
void setGain (unsigned short cellID, float c)
 Set High Gain energy calibration coefficient.
 
bool setGain (TH2 *h, short module)
 Set High Gain energy calibration coefficients for one module in the form of 2D histogram.
 

Detailed Description

Definition at line 34 of file CalibParams.h.

Constructor & Destructor Documentation

◆ CalibParams() [1/2]

o2::cpv::CalibParams::CalibParams ( )
default

Constructor.

◆ CalibParams() [2/2]

CalibParams::CalibParams ( short  test)

Constructor for tests.

Definition at line 23 of file CalibParams.cxx.

◆ ~CalibParams()

o2::cpv::CalibParams::~CalibParams ( )
default

Destructor.

Member Function Documentation

◆ getGain()

float o2::cpv::CalibParams::getGain ( unsigned short  cellID) const
inline

Get High Gain energy calibration coefficients.

Parameters
cellIDAbsolute ID of cell
Returns
high gain energy calibration coefficient of the cell

Definition at line 49 of file CalibParams.h.

◆ setGain() [1/2]

bool CalibParams::setGain ( TH2 *  h,
short  module 
)

Set High Gain energy calibration coefficients for one module in the form of 2D histogram.

Parameters
2D(64,56)histogram with calibration coefficients
modulenumber
Returns
Is successful

Definition at line 29 of file CalibParams.cxx.

◆ setGain() [2/2]

void o2::cpv::CalibParams::setGain ( unsigned short  cellID,
float  c 
)
inline

Set High Gain energy calibration coefficient.

Parameters
cellIDAbsolute ID of cell
cis the calibration coefficient

Definition at line 54 of file CalibParams.h.


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