ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/Morgan/src/ParticleTreeDrawer.cc
(Generate patch)

Comparing UserCode/Morgan/src/ParticleTreeDrawer.cc (file contents):
Revision 1.1 by mlethuil, Mon May 19 16:12:28 2008 UTC vs.
Revision 1.2 by lethuill, Thu Oct 30 16:17:40 2008 UTC

# Line 21 | Line 21 | ParticleTreeDrawer::ParticleTreeDrawer()
21  
22   void ParticleTreeDrawer::analyze( const Event & event, const EventSetup & es )
23   {
24 +        /*
25          es.getData( pdt_ );
26      Handle<CandidateCollection> particles;
27      event.getByLabel( "genParticleCandidates", particles );
# Line 33 | Line 34 | void ParticleTreeDrawer::analyze( const
34              printDecay( * p, "" );
35          }
36      }
37 +        */
38   }
39  
40   void ParticleTreeDrawer::printP4( const reco::Candidate & c ) const
41   {
42 +        /*
43          if ( printP4_ )
44          cout << " (" << c.px() << ", " << c.py() << ", " << c.pz() << "; " << c.energy() << ")";
45      if ( printPtEtaPhi_ )
# Line 45 | Line 48 | void ParticleTreeDrawer::printP4( const
48          cout << " {" << c.vx() << ", " << c.vy() << ", " << c.vz() << "}";
49      if ( printStatus_ )
50          cout << "{status: " << c.status() << "}";
51 +        */
52   }
53  
54   void ParticleTreeDrawer::printDecay( const reco::Candidate & c, const std::string & pre ) const
55   {
56 +        /*
57      int id = c.pdgId();
58      unsigned int ndau = c.numberOfDaughters();
59      const ParticleData * pd = pdt_->particle( id );
# Line 100 | Line 105 | void ParticleTreeDrawer::printDecay( con
105              prepre += "|   ";
106          printDecay( * d, prepre );
107      }
108 +        */
109   }
110  
111   //#include "FWCore/Framework/interface/MakerMacros.h"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines