Project
Loading...
Searching...
No Matches
o2::tpc::TPCMShapeCorrection Class Reference

#include <TPCMShapeCorrection.h>

Public Member Functions

 TPCMShapeCorrection ()=default
 default constructor
 
void setRun (int run)
 
void dumpToFile (const char *file, const char *name)
 
void dumpToFileSlices (const char *file, const char *name, int nSlices)
 
void loadFromFile (const char *inpf, const char *name)
 
void setFromTree (TTree &tpcMShapeTree)
 set this object from input tree
 
float setMaxDeltaTimeMS (float deltaTMS)
 set maximum delta time when searching for nearest boundary potential
 
void setMShapes (const TPCMShape &mshapes)
 adding M-shapes
 
int getRun () const
 
BoundaryPotentialIFC getBoundaryPotential (const double timestamp) const
 
float getMaxDeltaTimeMS () const
 
const auto & getMShapes () const
 

Detailed Description

Definition at line 67 of file TPCMShapeCorrection.h.

Constructor & Destructor Documentation

◆ TPCMShapeCorrection()

o2::tpc::TPCMShapeCorrection::TPCMShapeCorrection ( )
default

default constructor

Member Function Documentation

◆ dumpToFile()

void TPCMShapeCorrection::dumpToFile ( const char file,
const char name 
)

dump this object to a file

Parameters
fileoutput file
namename of the output object

Definition at line 24 of file TPCMShapeCorrection.cxx.

◆ dumpToFileSlices()

void TPCMShapeCorrection::dumpToFileSlices ( const char file,
const char name,
int  nSlices 
)

dump this object to several files each containing the correction for n minutes

Parameters
fileoutput file
nSlicesnumber of slices

Definition at line 34 of file TPCMShapeCorrection.cxx.

◆ getBoundaryPotential()

BoundaryPotentialIFC TPCMShapeCorrection::getBoundaryPotential ( const double  timestamp) const
Returns
returns M-shape boundary potential for given timestamp
Parameters
timestamptimestamp for which the boundary potential is queried

Definition at line 85 of file TPCMShapeCorrection.cxx.

◆ getMaxDeltaTimeMS()

float o2::tpc::TPCMShapeCorrection::getMaxDeltaTimeMS ( ) const
inline
Returns
returns sampling time of the stored values

Definition at line 108 of file TPCMShapeCorrection.h.

◆ getMShapes()

const auto & o2::tpc::TPCMShapeCorrection::getMShapes ( ) const
inline
Returns
returns all stored M-shapes

Definition at line 111 of file TPCMShapeCorrection.h.

◆ getRun()

int o2::tpc::TPCMShapeCorrection::getRun ( ) const
inline
Returns
returns run number for which this object is valid

Definition at line 101 of file TPCMShapeCorrection.h.

◆ loadFromFile()

void TPCMShapeCorrection::loadFromFile ( const char inpf,
const char name 
)

load from input file (which were written using the dumpToFile method)

Parameters
inpfinput file
namename of the object in the file

Definition at line 65 of file TPCMShapeCorrection.cxx.

◆ setFromTree()

void TPCMShapeCorrection::setFromTree ( TTree &  tpcMShapeTree)

set this object from input tree

Definition at line 72 of file TPCMShapeCorrection.cxx.

◆ setMaxDeltaTimeMS()

float o2::tpc::TPCMShapeCorrection::setMaxDeltaTimeMS ( float  deltaTMS)
inline

set maximum delta time when searching for nearest boundary potential

Definition at line 95 of file TPCMShapeCorrection.h.

◆ setMShapes()

void o2::tpc::TPCMShapeCorrection::setMShapes ( const TPCMShape mshapes)
inline

adding M-shapes

Definition at line 98 of file TPCMShapeCorrection.h.

◆ setRun()

void o2::tpc::TPCMShapeCorrection::setRun ( int  run)
inline
Returns
returns run number for which this object is valid

Definition at line 74 of file TPCMShapeCorrection.h.


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