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

Comparing UserCode/MitPhysics/Validation/src/MCParticlesValMod.cc (file contents):
Revision 1.1 by loizides, Mon Mar 23 09:09:14 2009 UTC vs.
Revision 1.3 by loizides, Fri Jul 10 14:04:44 2009 UTC

# Line 1 | Line 1
1   // $Id$
2  
3   #include "MitPhysics/Validation/interface/MCParticlesValMod.h"
4 < #include <TH1D.h>
4 > #include "MitAna/DataTree/interface/MCParticleCol.h"
5   #include "MitAna/DataTree/interface/Names.h"
6 + #include <TH1D.h>
7  
8   using namespace mithep;
9  
# Line 63 | Line 64 | void MCParticlesValMod::SlaveBegin()
64  
65    ReqBranch(GetPartName(), fParticles);
66  
67 <  AddTH1(fHs[0],"hPtHist",";p_{t};#",100,0.,250.);
67 >  AddTH1(fHs[0],"hPtHist",";p_{t} [GeV]; #",100,0.,250.);
68    AddTH1(fHs[1],"hEtaHist",";#eta;#",160,-8.,8.);
69 <  AddTH1(fHs[2],"hGenPtHist",";p_{t};#",100,0.,250.);
69 >  AddTH1(fHs[2],"hGenPtHist",";p_{t} [GeV];#",100,0.,250.);
70    AddTH1(fHs[3],"hGenEtaHist",";#eta;#",160,-8.,8.);
71 <  AddTH1(fHs[4],"hSimPtHist",";p_{t};#",100,0.,250.);
71 >  AddTH1(fHs[4],"hSimPtHist",";p_{t} [GeV];#",100,0.,250.);
72    AddTH1(fHs[5],"hSimEtaHist",";#eta;#",160,-8.,8.);
73    AddTH1(fHs[6],"hMassDiff",";#eta;#",1000,-5.,5.);
74    AddTH1(fHs[7],"hGenMassDiff",";#eta;#",1000,-5.,5.);
# Line 81 | Line 82 | void MCParticlesValMod::SlaveTerminate()
82    // Run finishing code on the computer (slave) that did the
83    // analysis. For this module, we dont do anything here.
84   }
84

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines