CMS 3D CMS Logo

HistoParticle.cc

Go to the documentation of this file.
00001 #include "PhysicsTools/StarterKit/interface/HistoParticle.h"
00002 
00003 
00004 using pat::HistoParticle;
00005 
00006 // Constructor:
00007 
00008 HistoParticle::HistoParticle( std::string subDir ) :
00009   HistoGroup<Particle>( subDir.append("particle") )
00010 {
00011 
00012 
00013   // book relevant particle histograms
00014 }
00015 
00016 HistoParticle::~HistoParticle()
00017 {
00018   // Root deletes histograms, not us
00019 }
00020 
00021 
00022 void HistoParticle::fill( const Particle * particle, double weight )
00023 {
00024 
00025   // First fill common 4-vector histograms
00026   HistoGroup<Particle>::fill( particle, 1, weight );
00027 
00028   // fill relevant particle histograms
00029 }
00030 
00031 
00032 void HistoParticle::clearVec()
00033 {
00034   HistoGroup<Particle>::clearVec();
00035 }

Generated on Tue Jun 9 17:41:53 2009 for CMSSW by  doxygen 1.5.4