![]() |
Project
|
class to dump calibration data to a ttree for simple visualisation More...
#include <CalibTreeDump.h>
Public Types | |
using | DataTypes = CalDet< float > |
using | CalPadMapType = std::unordered_map< std::string, DataTypes > |
Public Member Functions | |
CalibTreeDump ()=default | |
~CalibTreeDump ()=default | |
template<typename T > | |
void | add (CalDet< T > *calDet) |
Add CalDet object. | |
template<typename T > | |
void | add (CalArray< T > *calArray) |
Add CalArray objects. | |
void | add (CalPadMapType &calibs) |
void | setAddFEEInfo (bool add=true) |
Set adding of FEE mapping to the tree. | |
void | addCalPads (const std::string_view file, const std::string_view calPadNames) |
Add CalPad objects from a file. | |
void | dumpToFile (const std::string filename="CalibTree.root") |
Dump the registered calibration data to file. | |
void | addInfo (const std::string_view name, float value) |
Add complementary information. | |
class to dump calibration data to a ttree for simple visualisation
This class class provided functionanlity for dumping calibration data from CalDet and CalArray objects to a TTree for easy visualisation
origin: TPC
Definition at line 48 of file CalibTreeDump.h.
using o2::tpc::CalibTreeDump::CalPadMapType = std::unordered_map<std::string, DataTypes> |
Definition at line 52 of file CalibTreeDump.h.
using o2::tpc::CalibTreeDump::DataTypes = CalDet<float> |
Definition at line 51 of file CalibTreeDump.h.
|
default |
|
default |
Add CalArray objects.
Definition at line 67 of file CalibTreeDump.h.
Add CalDet object.
Definition at line 59 of file CalibTreeDump.h.
void CalibTreeDump::add | ( | CalPadMapType & | calibs | ) |
Add map of CalArray objects changes the name of the CalDet to the map name to have unique identifier
Definition at line 38 of file CalibTreeDump.cxx.
void CalibTreeDump::addCalPads | ( | const std::string_view | file, |
const std::string_view | calPadNames | ||
) |
Add CalPad objects from a file.
Definition at line 46 of file CalibTreeDump.cxx.
|
inline |
Add complementary information.
Definition at line 86 of file CalibTreeDump.h.
void CalibTreeDump::dumpToFile | ( | const std::string | filename = "CalibTree.root" | ) |
Dump the registered calibration data to file.
Definition at line 55 of file CalibTreeDump.cxx.
|
inline |
Set adding of FEE mapping to the tree.
Definition at line 77 of file CalibTreeDump.h.