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

Comparing UserCode/MitPhysics/SelMods/src/HwwExampleAnalysisMod.cc (file contents):
Revision 1.7 by ceballos, Tue Oct 26 09:58:30 2010 UTC vs.
Revision 1.8 by ceballos, Fri Nov 12 14:30:48 2010 UTC

# Line 72 | Line 72 | void HwwExampleAnalysisMod::SlaveBegin()
72    AddTH1(fUncorrMetPtHist    ,"hUncorrMetPtHist",";Met;Number of Events",150,0.,300.);  
73    AddTH1(fUncorrMetPhiHist   ,"hUncorrMetPhiHist",";#phi;Number of Events",28,-3.5,3.5);
74    AddTH1(fDeltaPhiLeptons    ,"hDeltaPhiLeptons",";#Delta#phi_{ll};Number of Events",90,0,180);
75 <  AddTH1(fDeltaEtaLeptons    ,"hDeltaEtaLeptons",";#Delta#eta_{ll};Number of Events",100,-50.,5.0);
75 >  AddTH1(fDeltaEtaLeptons    ,"hDeltaEtaLeptons",";#Delta#eta_{ll};Number of Events",100,-5.,5.0);
76    AddTH1(fDileptonMass       ,"hDileptonMass",";Mass_{ll};Number of Events",150,0.,300.);
77  
78    //***********************************************************************************************
# Line 210 | Line 210 | void HwwExampleAnalysisMod::Process()
210    double deltaPhiLeptons = MathUtils::DeltaPhi(CleanLeptons->At(0)->Phi(),
211                                                 CleanLeptons->At(1)->Phi())* 180.0 / TMath::Pi();
212  
213 <  double deltaEtaLeptons = abs(CleanLeptons->At(0)->Eta() - CleanLeptons->At(1)->Eta()) * 180.0 / TMath::Pi();
213 >  double deltaEtaLeptons = CleanLeptons->At(0)->Eta() - CleanLeptons->At(1)->Eta();
214  
215    double deltaPhiDileptonMet = MathUtils::DeltaPhi(caloMet->Phi(),
216                                                     dilepton->Phi())*180.0 / TMath::Pi();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines