SusyNtuple
 All Classes Functions Variables Typedefs Enumerations Enumerator
Public Types | Public Member Functions
D3PDReader::VarHandle< Type > Class Template Reference

Class responsible for reading primitive types from the D3PD. More...

#include <VarHandle.h>

Inheritance diagram for D3PDReader::VarHandle< Type >:
Inheritance graph
[legend]
Collaboration diagram for D3PDReader::VarHandle< Type >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef Type & result_type
 Convenience typedef of the used variable.
typedef const Type & const_result_type
 Convenience typedef of the used variable (const version)

Public Member Functions

 VarHandle (::TObject *parent=0, const char *name="", const ::Long64_t *master=0)
 Constructor specifying all the needed parameters.
 ~VarHandle ()
 The destructor is actually only useful in the specialized class...
virtual void ReadFrom (::TTree *tree)
 Connect the object to an input tree.
virtual ::TBranch * WriteTo (::TTree *tree)
 Connect the object to an output tree.
result_type operator() ()
 Operator used to access the branch itself.
const_result_type operator() () const
 Operator used to access the branch itself (constant version)
virtual void ReadCurrentEntry () const
 Read in the current entry from the branch.
virtual void Clear ()
 "Clear" the variable of its contents

Detailed Description

template<typename Type>
class D3PDReader::VarHandle< Type >

Class responsible for reading primitive types from the D3PD.

This class is used by all the D3PDReader classes to physically handle the branches of the input TTree.

Author:
Attila Krasznahorkay <Attila.Krasznahorkay@cern.ch>
Revision:
510583
Date:
2012-07-18 11:12:16 +0200 (Wed, 18 Jul 2012)

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