Project
Loading...
Searching...
No Matches
o2::tpc::qc::SACs Class Reference

#include <SACs.h>

Public Member Functions

 SACs ()=default
 
auto getSACValue (const unsigned int stack, const unsigned int interval) const
 
float getSACZeroVal (const unsigned int stack) const
 
void setSACZeroVal (float factor, const unsigned int stack) const
 
float getSACOneVal (const Side side, unsigned int integrationInterval) const
 
float getSACDeltaVal (const unsigned int stack, unsigned int interval) const
 
unsigned int getSACDeltaIndex (const unsigned int stack, unsigned int interval) const
 
int getSACRejection (const unsigned int stack) const
 
void setSACZero (SACZero *sacZero)
 
void setSACOne (SACOne *sacOne, const Side side=Side::A)
 
void setSACZeroMaxDeviation (float maxdeviation)
 
template<typename T >
void setSACDelta (SACDelta< T > *sacDelta)
 
void setFourierCoeffSAC (FourierCoeffSAC *fourier)
 setting the fourier coefficients
 
TCanvas * drawSACTypeSides (const SACType type, const unsigned int integrationInterval, const int minZ=0, const int maxZ=-1, TCanvas *canv=nullptr)
 
TCanvas * drawSACOneCanvas (int nbins1D, float xMin1D, float xMax1D, int integrationIntervals=-1, TCanvas *outputCanvas=nullptr) const
 
TCanvas * drawFourierCoeffSAC (Side side, int nbins1D, float xMin1D, float xMax1, TCanvas *outputCanvas=nullptr) const
 
TCanvas * drawSACZeroScale (TCanvas *outputCanvas=nullptr) const
 
void scaleSAC0 (const float factor, const Side side)
 
void setSACZeroScale (const bool rejectOutlier)
 
float getMeanSACZero (const o2::tpc::Side side, bool rejectOutliers)
 
void dumpToFile (std::string filename, int type=0)
 

Detailed Description

Keep QC information for SAC related observables

Definition at line 32 of file SACs.h.

Constructor & Destructor Documentation

◆ SACs()

o2::tpc::qc::SACs::SACs ( )
default

Member Function Documentation

◆ drawFourierCoeffSAC()

TCanvas * SACs::drawFourierCoeffSAC ( Side  side,
int  nbins1D,
float  xMin1D,
float  xMax1,
TCanvas *  outputCanvas = nullptr 
) const

Definition at line 133 of file SACs.cxx.

◆ drawSACOneCanvas()

TCanvas * SACs::drawSACOneCanvas ( int  nbins1D,
float  xMin1D,
float  xMax1D,
int  integrationIntervals = -1,
TCanvas *  outputCanvas = nullptr 
) const

Definition at line 96 of file SACs.cxx.

◆ drawSACTypeSides()

TCanvas * SACs::drawSACTypeSides ( const SACType  type,
const unsigned int  integrationInterval,
const int  minZ = 0,
const int  maxZ = -1,
TCanvas *  canv = nullptr 
)

Definition at line 30 of file SACs.cxx.

◆ drawSACZeroScale()

TCanvas * SACs::drawSACZeroScale ( TCanvas *  outputCanvas = nullptr) const

Definition at line 170 of file SACs.cxx.

◆ dumpToFile()

void o2::tpc::qc::SACs::dumpToFile ( std::string  filename,
int  type = 0 
)

◆ getMeanSACZero()

float SACs::getMeanSACZero ( const o2::tpc::Side  side,
bool  rejectOutliers 
)

Definition at line 244 of file SACs.cxx.

◆ getSACDeltaIndex()

unsigned int o2::tpc::qc::SACs::getSACDeltaIndex ( const unsigned int  stack,
unsigned int  interval 
) const
inline
Returns
returns index for SAC delta
Parameters
stackstack
intervallocal integration interval

Definition at line 64 of file SACs.h.

◆ getSACDeltaVal()

float o2::tpc::qc::SACs::getSACDeltaVal ( const unsigned int  stack,
unsigned int  interval 
) const
inline
Returns
returns the stored DeltaSAC value
Parameters
stackstack
intervalintegration interval

Definition at line 59 of file SACs.h.

◆ getSACOneVal()

float SACs::getSACOneVal ( const Side  side,
unsigned int  integrationInterval 
) const
Returns
returns SAC1 value
Parameters
SideTPC side
intervalintegration interval

Definition at line 25 of file SACs.cxx.

◆ getSACRejection()

int o2::tpc::qc::SACs::getSACRejection ( const unsigned int  stack) const
inline
Returns
returns if SAC Zero was rejected or not
Parameters
stackstack

Definition at line 68 of file SACs.h.

◆ getSACValue()

auto o2::tpc::qc::SACs::getSACValue ( const unsigned int  stack,
const unsigned int  interval 
) const
inline
Returns
returns the stored SAC value
Parameters
stackstack
intervalintegration interval

Definition at line 40 of file SACs.h.

◆ getSACZeroVal()

float o2::tpc::qc::SACs::getSACZeroVal ( const unsigned int  stack) const
inline
Returns
returns the stored SAC0 value
Parameters
stackstack

Definition at line 44 of file SACs.h.

◆ scaleSAC0()

void SACs::scaleSAC0 ( const float  factor,
const Side  side 
)

Definition at line 209 of file SACs.cxx.

◆ setFourierCoeffSAC()

void o2::tpc::qc::SACs::setFourierCoeffSAC ( FourierCoeffSAC fourier)
inline

setting the fourier coefficients

Definition at line 81 of file SACs.h.

◆ setSACDelta()

template<typename T >
void o2::tpc::qc::SACs::setSACDelta ( SACDelta< T > *  sacDelta)
inline

Definition at line 75 of file SACs.h.

◆ setSACOne()

void o2::tpc::qc::SACs::setSACOne ( SACOne sacOne,
const Side  side = Side::A 
)
inline

Definition at line 71 of file SACs.h.

◆ setSACZero()

void o2::tpc::qc::SACs::setSACZero ( SACZero sacZero)
inline

Definition at line 70 of file SACs.h.

◆ setSACZeroMaxDeviation()

void o2::tpc::qc::SACs::setSACZeroMaxDeviation ( float  maxdeviation)
inline

Definition at line 72 of file SACs.h.

◆ setSACZeroScale()

void SACs::setSACZeroScale ( const bool  rejectOutlier)

check if SACZero total is not zero, in that case no scaling

Definition at line 223 of file SACs.cxx.

◆ setSACZeroVal()

void o2::tpc::qc::SACs::setSACZeroVal ( float  factor,
const unsigned int  stack 
) const
inline
Returns
sets new SAC0 value
Parameters
stackstack
floatfactor

Definition at line 49 of file SACs.h.


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