CMS 3D CMS Logo

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::BenchmarkTree ( const char *  name,
const char *  title 
)

Definition at line 3 of file BenchmarkTree.cc.

References entry_.

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

Member Function Documentation

◆ Fill()

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)

Member Data Documentation

◆ entry_

BenchmarkTreeEntry* BenchmarkTree::entry_
private

Definition at line 32 of file BenchmarkTree.h.

Referenced by BenchmarkTree(), and Fill().