ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/HbbAnalysis/plugins/HbbTreeMaker.cc
(Generate patch)

Comparing UserCode/HbbAnalysis/plugins/HbbTreeMaker.cc (file contents):
Revision 1.7 by amagnan, Wed Feb 10 18:17:17 2010 UTC vs.
Revision 1.10 by amagnan, Tue Mar 2 16:03:34 2010 UTC

# Line 111 | Line 111 | void HbbTreeMaker::analyze(const edm::Ev
111  
112    event_->run(aEvt.run());
113    event_->lumiBlock(aEvt.luminosityBlock());
114 +  event_->isRealData(aEvt.isRealData());
115  
116    edm::Handle<reco::GenParticleCollection> lGenParticles;
117    try {
# Line 947 | Line 948 | void HbbTreeMaker::HbbJets(const edm::Ha
948            lCommon.rawpT = (*iter).pt();
949            if ((*iter).hasCorrFactors())
950              lCommon.rawpT = (*iter).pt()/((*iter).corrFactor((*iter).corrStep()));
951 +
952 +          lCommon.etaMean = (*iter).etaPhiStatistics().etaMean;
953 +          lCommon.phiMean = (*iter).etaPhiStatistics().phiMean;
954 +          lCommon.etaEtaMoment = (*iter).etaPhiStatistics().etaEtaMoment;
955 +          lCommon.phiPhiMoment = (*iter).etaPhiStatistics().phiPhiMoment;
956 +          lCommon.etaPhiMoment = (*iter).etaPhiStatistics().etaPhiMoment;
957 +          
958            //lCommon.rawEta = (*iter).;
959            //lCommon.rawPhi = (*iter).;
960            //    p_hasJetCorrFactors->Fill(aJet.hasJetCorrFactors());
# Line 1214 | Line 1222 | void HbbTreeMaker::HbbVertices(const edm
1222      }
1223  
1224   }
1225 +
1226 + #include "FWCore/Framework/interface/MakerMacros.h"
1227 + DEFINE_FWK_MODULE(HbbTreeMaker);
1228 +
1229 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines