ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/PhysicsMod/src/HLTExampleMod.cc
(Generate patch)

Comparing UserCode/MitAna/PhysicsMod/src/HLTExampleMod.cc (file contents):
Revision 1.2 by loizides, Mon May 11 08:00:35 2009 UTC vs.
Revision 1.3 by loizides, Tue May 12 18:41:42 2009 UTC

# Line 26 | Line 26 | void HLTExampleMod::Process()
26    if (!objs) // this can only happen if HLTMod::SetAbortIfNotAccepted(kFALSE) was called
27      return;
28  
29 +  IncNEventsProcessed();
30 +
31    Int_t ents=objs->GetEntries();
32    for(Int_t i=0;i<ents;++i) {
33       const TriggerObject *to = objs->At(i);
# Line 47 | Line 49 | void HLTExampleMod::SlaveBegin()
49    fEtaHist = new TH1D("hEtaHist",";#eta;#",160,-8.,8.);
50    AddOutput(fEtaHist);
51   }
52 +
53 + //--------------------------------------------------------------------------------------------------
54 + void HLTExampleMod::SlaveTerminate()
55 + {
56 +  // Save number of accepted events.
57 +
58 +  SaveNEventsProcessed();
59 + }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines