xAOD::EventFormatElement Class Reference

#include <EventFormatElement.h>

List of all members.

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.

Detailed Description

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.

Author:
Attila Krasznahorkay <Attila.Krasznahorkay@cern.ch>
Revision
568357
Date
2013-11-01 17:21:30 +0100 (Fri, 01 Nov 2013)

Constructor & Destructor Documentation

xAOD::EventFormatElement::EventFormatElement ( const std::string &  branchName = "",
const std::string &  className = "",
const std::string &  parentName = "",
uint32_t  hash = 0 
)

Constructor with all members specified.

Parameters:
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

Member Function Documentation

const std::string & xAOD::EventFormatElement::branchName (  )  const

Get the branch/key name.

Returns:
The name of the branch that this object describes
const std::string & xAOD::EventFormatElement::className (  )  const

Get the class name of this branch/key.

Returns:
The name of the transient class to be read from the branch
uint32_t xAOD::EventFormatElement::hash (  )  const

Get the hash belonging to this branch/key.

Returns:
A hashed version of the branch's name
const std::string & xAOD::EventFormatElement::parentName (  )  const

Get the name of the parent auxiliary object.

Returns:
The name of the parent auxiliary class (or "" if there is none)

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1