#include <EventFormatElement.h>
Public Member Functions | |
EventFormatElement (const std::string &branchName="", const std::string &className="", const std::string &parentName="", uint32_t hash=0) | |
Constructor with all members specified. | |
const std::string & | branchName () const |
Get the branch/key name. | |
const std::string & | className () const |
Get the class name of this branch/key. | |
const std::string & | parentName () const |
Get the name of the parent auxiliary object. | |
uint32_t | hash () const |
Get the hash belonging to this branch/key. |
Class describing one branch of the ROOT file
This class describes a single, ROOT-readable branch of an xAOD file. It is used to figure out the hash <-> branch name associations, and which auxiliary branches belong to which auxiliary object.
This class doesn't have a "versioned name", as it is not meant to be written to a file directly, it should just be used as a transient means of storing data.
xAOD::EventFormatElement::EventFormatElement | ( | const std::string & | branchName = "" , |
|
const std::string & | className = "" , |
|||
const std::string & | parentName = "" , |
|||
uint32_t | hash = 0 | |||
) |
Constructor with all members specified.
branchName | Name of the branch that is described by the object | |
className | Name of the transient class to be used for reading | |
parentName | Name of the parent auxiliary object | |
hash | A hashed version of the branch name |
const std::string & xAOD::EventFormatElement::branchName | ( | ) | const |
Get the branch/key name.
const std::string & xAOD::EventFormatElement::className | ( | ) | const |
Get the class name of this branch/key.
uint32_t xAOD::EventFormatElement::hash | ( | ) | const |
Get the hash belonging to this branch/key.
const std::string & xAOD::EventFormatElement::parentName | ( | ) | const |
Get the name of the parent auxiliary object.