Belle II Software development
|
To be used as an interface to root-stuff. More...
#include <RawSecMapRootInterface.h>
Public Member Functions | |
RawSecMapRootInterface (const std::string &mapName, const std::string &tag, const std::string &outputdir="./") | |
Constructor - prepares TTree. | |
~RawSecMapRootInterface () | |
destructor deleting the rootFile. | |
RawSecMapRootInterface (const RawSecMapRootInterface &rawSecMapInterFace)=delete | |
That class shall not be copied. | |
RawSecMapRootInterface (RawSecMapRootInterface &&other) | |
but it may be moved | |
RawSecMapRootInterface & | operator= (const RawSecMapRootInterface &rawSecMapInterFace)=delete |
That class shall not be copied. | |
void | initialize2Hit (std::vector< std::string > filterNames) |
initialize the RawSecMapRootInterface for two-hit-combinations (to be called in Module::initialize(). | |
void | initialize3Hit (std::vector< std::string > filterNames) |
initialize the RawSecMapRootInterface for three-hit-combinations (to be called in Module::initialize(). | |
FilterValueDataSet< SecIDPair > & | get2HitDataSet () |
returns a reference to the 2-hit-dataset so one can set the relevant values. | |
FilterValueDataSet< SecIDTriplet > & | get3HitDataSet () |
returns a reference to the 3-hit-dataset so one can set the relevant values. | |
void | fill2Hit () |
fill two-hit-combinations in tree, triggers an Error if values not set yet. | |
void | fill3Hit () |
fill three-hit-combinations in tree, triggers an Error if values not set yet. | |
void | write () |
write all trees to file at end of processing. | |
Protected Attributes | |
TFile * | m_file |
a pointer to the file where the Tree shall be stored. | |
std::string | m_name |
name of the StoreObjPtr. | |
StoreObjPtr< RootMergeable< TTree > > | m_tree2Hit |
interface to the TTree storing two-hit-variables. | |
FilterValueDataSet< SecIDPair > | m_data2Hit |
Mask for storing dataSets to be piped into 2hit-tree. | |
StoreObjPtr< RootMergeable< TTree > > | m_tree3Hit |
interface to the TTree storing three-hit-variables. | |
FilterValueDataSet< SecIDTriplet > | m_data3Hit |
Mask for storing dataSets to be piped into 3hit-tree. | |
To be used as an interface to root-stuff.
Definition at line 32 of file RawSecMapRootInterface.h.
|
inline |
Constructor - prepares TTree.
Without calling the initializer-functions this Object is still not working!
Definition at line 58 of file RawSecMapRootInterface.h.
|
inline |
destructor deleting the rootFile.
Definition at line 76 of file RawSecMapRootInterface.h.
|
inline |
but it may be moved
Definition at line 82 of file RawSecMapRootInterface.h.
|
inline |
fill two-hit-combinations in tree, triggers an Error if values not set yet.
(data is reset during each fill2Hit-call).
Definition at line 191 of file RawSecMapRootInterface.h.
|
inline |
fill three-hit-combinations in tree, triggers an Error if values not set yet.
(data is reset during each fill3Hit-call).
Definition at line 205 of file RawSecMapRootInterface.h.
|
inline |
returns a reference to the 2-hit-dataset so one can set the relevant values.
Definition at line 181 of file RawSecMapRootInterface.h.
|
inline |
returns a reference to the 3-hit-dataset so one can set the relevant values.
Definition at line 185 of file RawSecMapRootInterface.h.
|
inline |
initialize the RawSecMapRootInterface for two-hit-combinations (to be called in Module::initialize().
Definition at line 100 of file RawSecMapRootInterface.h.
|
inline |
initialize the RawSecMapRootInterface for three-hit-combinations (to be called in Module::initialize().
Definition at line 141 of file RawSecMapRootInterface.h.
|
inline |
write all trees to file at end of processing.
Definition at line 218 of file RawSecMapRootInterface.h.
|
protected |
Mask for storing dataSets to be piped into 2hit-tree.
Definition at line 45 of file RawSecMapRootInterface.h.
|
protected |
Mask for storing dataSets to be piped into 3hit-tree.
Definition at line 51 of file RawSecMapRootInterface.h.
|
protected |
a pointer to the file where the Tree shall be stored.
Definition at line 36 of file RawSecMapRootInterface.h.
|
protected |
name of the StoreObjPtr.
Definition at line 39 of file RawSecMapRootInterface.h.
|
protected |
interface to the TTree storing two-hit-variables.
Definition at line 42 of file RawSecMapRootInterface.h.
|
protected |
interface to the TTree storing three-hit-variables.
Definition at line 48 of file RawSecMapRootInterface.h.