![]() |
Project
|
#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 |
Definition at line 67 of file TPCMShapeCorrection.h.
|
default |
default constructor
dump this object to a file
file | output file |
name | name of the output object |
Definition at line 24 of file TPCMShapeCorrection.cxx.
dump this object to several files each containing the correction for n minutes
file | output file |
nSlices | number of slices |
Definition at line 34 of file TPCMShapeCorrection.cxx.
BoundaryPotentialIFC TPCMShapeCorrection::getBoundaryPotential | ( | const double | timestamp | ) | const |
timestamp | timestamp for which the boundary potential is queried |
Definition at line 85 of file TPCMShapeCorrection.cxx.
|
inline |
Definition at line 108 of file TPCMShapeCorrection.h.
|
inline |
Definition at line 111 of file TPCMShapeCorrection.h.
|
inline |
Definition at line 101 of file TPCMShapeCorrection.h.
load from input file (which were written using the dumpToFile method)
inpf | input file |
name | name of the object in the file |
Definition at line 65 of file TPCMShapeCorrection.cxx.
void TPCMShapeCorrection::setFromTree | ( | TTree & | tpcMShapeTree | ) |
set this object from input tree
Definition at line 72 of file TPCMShapeCorrection.cxx.
|
inline |
set maximum delta time when searching for nearest boundary potential
Definition at line 95 of file TPCMShapeCorrection.h.
adding M-shapes
Definition at line 98 of file TPCMShapeCorrection.h.
Definition at line 74 of file TPCMShapeCorrection.h.