CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 25 of file BenchmarkTree.h.

Constructor & Destructor Documentation

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

Definition at line 3 of file BenchmarkTree.cc.

References Branch(), and entry_.

3  : TTree(name, title), entry_(new BenchmarkTreeEntry) {
4  Branch("benchmarkEntry", "BenchmarkTreeEntry", &entry_);
5 }
BenchmarkTreeEntry * entry_
Definition: BenchmarkTree.h:32
HitsTree Branch("RunNumber",&RunNumber,"RunNumber/I")

Member Function Documentation

void BenchmarkTree::Fill ( const BenchmarkTreeEntry entry)

Definition at line 7 of file BenchmarkTree.cc.

References mps_splice::entry, entry_, and HcalObjRepresent::Fill().

7  {
8  *entry_ = entry;
9  TTree::Fill();
10 }
BenchmarkTreeEntry * entry_
Definition: BenchmarkTree.h:32
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
list entry
Definition: mps_splice.py:68

Member Data Documentation

BenchmarkTreeEntry* BenchmarkTree::entry_
private

Definition at line 32 of file BenchmarkTree.h.

Referenced by BenchmarkTree(), and Fill().