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 ); |
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_ ) |
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 ); |
105 |
|
prepre += "| "; |
106 |
|
printDecay( * d, prepre ); |
107 |
|
} |
108 |
+ |
*/ |
109 |
|
} |
110 |
|
|
111 |
|
//#include "FWCore/Framework/interface/MakerMacros.h" |