HighLAND
|
#include <DocString.hxx>
Public Member Functions | |
DocString () | |
Empty constructor to keep ROOT happy when reading in from TClonesArray. | |
DocString (const std::string &tree, const std::string &name, const std::string &doc, const std::string &type, int size1, const std::string &counter1, int size2, const std::string &counter2, int size3, const std::string &counter3) | |
Constructor that actually sets the information. | |
virtual | ~DocString () |
Destructor. | |
void | Explain () |
std::string | Name () |
Get the name of this variable. | |
std::string | Tree () |
Get the name of the tree this variable was stored in. | |
ClassDef (DocString, 1) | |
Protected Attributes | |
std::string | _tree |
The name of the tree this variable was stored in. | |
std::string | _name |
The name of this variable. | |
std::string | _doc |
The documentation string provided by the user. | |
std::string | _type |
The type of this variable (I/F/C/D) | |
std::string | _counter1 |
If a vector, the counter used for the 1st dimension. | |
std::string | _counter2 |
If a matrix, the counter used for the 2nd dimension. | |
std::string | _counter3 |
If a 3D matrix, the counter used for the 3rd dimension. | |
int | _size1 |
If a vector, the size of the 1st dimension. | |
int | _size2 |
If a matrix, the size of the 2nd dimension. | |
int | _size3 |
If a 3D matrix, the size of the 3rd dimension. | |
This class is used to store information about the variables stored in the micro-trees. The DocStringManager is used to create, store and access DocString objects.
Each variable stored in the micro-trees has an associated DocString object, which records the name, type, size and other information about the variable.
This DocString class should not need to be accessed by users. All the functionality is handled automatically.
Definition at line 16 of file DocString.hxx.
void DocString::Explain | ( | ) |
Print out the details of this variable. If it is a track category variable, also print out the track categories.
Definition at line 29 of file DocString.cxx.