test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
BenchmarkTree Class Reference

#include <BenchmarkTree.h>

Inheritance diagram for BenchmarkTree:

Public Member Functions

 BenchmarkTree (const char *name, const char *title)
 
void Fill (const BenchmarkTreeEntry &entry)
 

Private Attributes

BenchmarkTreeEntryentry_
 

Detailed Description

Definition at line 33 of file BenchmarkTree.h.

Constructor & Destructor Documentation

BenchmarkTree::BenchmarkTree ( const char *  name,
const char *  title 
)

Definition at line 5 of file BenchmarkTree.cc.

References entry_.

7  : TTree( name, title ),
9 
10  Branch( "benchmarkEntry","BenchmarkTreeEntry", &entry_ );
11 }
BenchmarkTreeEntry * entry_
Definition: BenchmarkTree.h:41

Member Function Documentation

void BenchmarkTree::Fill ( const BenchmarkTreeEntry entry)

Definition at line 13 of file BenchmarkTree.cc.

References entry_, and HcalObjRepresent::Fill().

13  {
14  *entry_ = entry;
15  TTree::Fill();
16 }
BenchmarkTreeEntry * entry_
Definition: BenchmarkTree.h:41
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)

Member Data Documentation

BenchmarkTreeEntry* BenchmarkTree::entry_
private

Definition at line 41 of file BenchmarkTree.h.

Referenced by BenchmarkTree(), and Fill().