xAOD::TEventBranch Class Reference

#include <TEventBranch.h>

List of all members.

Public Member Functions

 TEventBranch (::TTree *parent, TEvent *event, const std::type_info *ti, const char *brName, const char *brType)
 Constructor with all the needed parameters.
virtual ::Int_t GetEntry (::Long64_t entry,::Int_t getall)
 Function getting the current entry for this branch.
virtual ::TClass * IsA () const
 Function returning the type of TBranchObject.

Detailed Description

Specialised class for browsing xAOD event interface objects in ROOT

In order to read xAOD interface objects/containers correctly, one needs to use the xAOD::TEvent class. Since the regular ROOT classes can't be taught how to use an external object for reading information, we need to do it using inheritance.

The design was pretty much stolen from the AthenaROOTAccess code. Luckily in this case the code can be a lot easier. Here we just need to ask the TEvent object for the correct pointer, and we're done.

Author:
Attila Krasznahorkay <Attila.Krasznahorkay@cern.ch>
Revision
645208
Date
2015-02-09 16:48:59 +0100 (Mon, 09 Feb 2015)

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

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1