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

Comparing UserCode/MitPhysics/SelMods/src/LeptonPlusIsoTrackSelMod.cc (file contents):
Revision 1.2 by loizides, Mon Jun 15 15:00:22 2009 UTC vs.
Revision 1.4 by paus, Thu Mar 29 23:41:57 2012 UTC

# Line 44 | Line 44 | void mithep::LeptonPlusIsoTrackSelMod::P
44    fNAccCounters->Fill(0);
45  
46    fLeptonCol = GetObjThisEvt<Collection<Particle> >(GetLeptonColName());
47 <  if (!fLeptonCol ) {
47 >  if (!fLeptonCol) {
48      this->SendError(kAbortModule, "Process",
49                      "Could not obtain collection with name %s!", GetLeptonColName());
50      return;
# Line 60 | Line 60 | void mithep::LeptonPlusIsoTrackSelMod::P
60    fNAccCounters->Fill(1);
61  
62    UInt_t LeptonCounter = 0;
63 <  for(UInt_t i=0;i<fLeptonCol->GetEntries();++i) {
63 >  for (UInt_t i=0;i<fLeptonCol->GetEntries();++i) {
64      if (fLeptonCol->At(i)->Pt() >= fLeptonPtMin   &&
65          fLeptonCol->At(i)->Pt() <= fLeptonPtMax   &&
66          fLeptonCol->At(i)->Eta() >= fLeptonEtaMin &&
# Line 121 | Line 121 | void mithep::LeptonPlusIsoTrackSelMod::S
121    ReqBranch(GetTrackerTrackColName(),          fTrackerTrackCol);
122    ReqBranch(GetGsfTrackColName(),              fGsfTrackCol);
123  
124 <  AddTH1(fNAccCounters,"hNAccCounters",";cut;#",25,-0.5,24.5);
124 >  AddTH1(fNAccCounters,"hNAccCounters",";cut;#",5,-0.5,4.5);
125    if (1) {
126      TAxis *xa = fNAccCounters->GetXaxis();
127      for(Int_t i=1;i<=fNAccCounters->GetNbinsX();++i)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines