CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/RecoParticleFlow/Benchmark/src/BenchmarkTree.cc

Go to the documentation of this file.
00001 #include "RecoParticleFlow/Benchmark/interface/BenchmarkTree.h"
00002 
00003 
00004 
00005 BenchmarkTree::BenchmarkTree( const char* name,
00006                               const char* title) 
00007   : TTree( name, title ), 
00008     entry_( new BenchmarkTreeEntry ) {
00009  
00010   Branch( "benchmarkEntry","BenchmarkTreeEntry", &entry_ );
00011 }
00012 
00013 void BenchmarkTree::Fill( const BenchmarkTreeEntry& entry ) {
00014   *entry_ = entry;
00015   TTree::Fill();
00016 }