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

Comparing UserCode/MitPhysics/Mods/src/JetIDMod.cc (file contents):
Revision 1.14 by bendavid, Thu Mar 12 16:00:46 2009 UTC vs.
Revision 1.15 by loizides, Mon Mar 23 14:23:06 2009 UTC

# Line 24 | Line 24 | void JetIDMod::Process()
24   {
25    // Process entries of the tree.
26  
27 <  const JetCol  *inJets       = GetObjThisEvt<JetCol>(fJetsName);
27 >  const JetCol *inJets = GetObjThisEvt<JetCol>(fJetsName);
28 >  if (!inJets) {
29 >    SendError(kAbortModule, "Process",
30 >              "Pointer to input jet collection %s is null.",
31 >              fJetsName.Data());
32 >    return;
33 >  }
34  
35    JetOArr *GoodJets = new JetOArr;
36    GoodJets->SetName(fGoodJetsName);
# Line 56 | Line 62 | void JetIDMod::Process()
62    AddObjThisEvt(GoodJets);  
63   }
64  
59 //--------------------------------------------------------------------------------------------------
60 void JetIDMod::SlaveBegin()
61 {
62  // Run startup code on the computer (slave) doing the actual analysis.
63
64 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines