CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/SimG4Core/Notification/interface/BeginOfJob.h

Go to the documentation of this file.
00001 #ifndef SimG4Core_BeginOfJob_H
00002 #define SimG4Core_BeginOfJob_H
00003 
00004 namespace edm {
00005   class EventSetup;
00006 }
00007 
00008 class BeginOfJob
00009 {
00010 public:
00011   BeginOfJob(const edm::EventSetup* tJob) : anJob(tJob) {}
00012   const edm::EventSetup * operator()() const { return anJob; }
00013 private:
00014   const edm::EventSetup* anJob;
00015 };
00016 
00017 #endif