CMS 3D CMS Logo

Public Member Functions | Private Attributes

BenchmarkTree Class Reference

#include <BenchmarkTree.h>

List of all members.

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_.

  : TTree( name, title ), 
    entry_( new BenchmarkTreeEntry ) {
 
  Branch( "benchmarkEntry","BenchmarkTreeEntry", &entry_ );
}

Member Function Documentation

void BenchmarkTree::Fill ( const BenchmarkTreeEntry entry)

Definition at line 13 of file BenchmarkTree.cc.

References entry_.

                                                          {
  *entry_ = entry;
  TTree::Fill();
}

Member Data Documentation

Definition at line 41 of file BenchmarkTree.h.

Referenced by BenchmarkTree(), and Fill().