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

Comparing UserCode/MitProd/TreeService/src/TreeService.cc (file contents):
Revision 1.13 by loizides, Mon Mar 23 22:12:58 2009 UTC vs.
Revision 1.14 by bendavid, Tue Nov 3 14:01:52 2009 UTC

# Line 3 | Line 3
3   #include "MitProd/TreeService/interface/TreeService.h"
4   #include "DataFormats/Provenance/interface/ModuleDescription.h"
5   #include "FWCore/ParameterSet/interface/ParameterSet.h"
6 #include "FWCore/ServiceRegistry/interface/ActivityRegistry.h"
7 #include "FWCore/ServiceRegistry/interface/Service.h"
6   #include "FWCore/MessageLogger/interface/JobReport.h"
7   #include "FWCore/MessageLogger/interface/MessageLogger.h"
8   #include "MitAna/DataUtil/interface/TreeWriter.h"
# Line 16 | Line 14 | using namespace std;
14   using namespace mithep;
15  
16   //--------------------------------------------------------------------------------------------------
17 < TreeService::TreeService(const ParameterSet &cfg, ActivityRegistry &ar) :
17 > TreeService::TreeService(const ParameterSet &cfg) :
18    tws_(0),
19    zipMode_(1),
20    bZipThres_(1),
# Line 158 | Line 156 | TreeService::TreeService(const Parameter
156    }
157  
158    // set watchers
159 <  ar.watchPreProcessEvent (this,&TreeService::preEventProcessing);
160 <  ar.watchPostProcessEvent(this,&TreeService::postEventProcessing);
161 <  ar.watchPostBeginJob    (this,&TreeService::postBeginJob);
162 <  ar.watchPostEndJob      (this,&TreeService::postEndJob);
159 > //   ar.watchPreProcessEvent (this,&TreeService::preEventProcessing);
160 > //   ar.watchPostProcessEvent(this,&TreeService::postEventProcessing);
161 > //   ar.watchPostBeginJob    (this,&TreeService::postBeginJob);
162 > //   ar.watchPostEndJob      (this,&TreeService::postEndJob);
163   }
164  
165   //--------------------------------------------------------------------------------------------------
# Line 201 | Line 199 | void TreeService::postEndJob()
199   }
200  
201   //--------------------------------------------------------------------------------------------------
202 < void TreeService::postEventProcessing(const Event&, const EventSetup&)
202 > void TreeService::postEventProcessing()
203   {
204    // Loop over all TreeWriter objects before processing of an event.
205  
# Line 217 | Line 215 | void TreeService::postEventProcessing(co
215   }
216  
217   //--------------------------------------------------------------------------------------------------
218 < void TreeService::preEventProcessing(const EventID&, const Timestamp&)
218 > void TreeService::preEventProcessing()
219   {
220    // Loop over all TreeWriter objects after processing of a events.
221  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines