CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/FWCore/Framework/src/EventSetupsController.cc

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Package:     Framework
00004 // Class  :     EventSetupsController
00005 // 
00006 // Implementation:
00007 //     [Notes on implementation]
00008 //
00009 // Original Author:  Chris Jones
00010 //         Created:  Wed Jan 12 14:30:44 CST 2011
00011 // $Id: EventSetupsController.cc,v 1.1 2011/01/13 00:33:11 chrjones Exp $
00012 //
00013 
00014 // system include files
00015 
00016 // user include files
00017 #include "FWCore/Framework/src/EventSetupsController.h"
00018 #include "FWCore/Framework/interface/EventSetupProviderMaker.h"
00019 #include "FWCore/Framework/interface/EventSetupProvider.h"
00020 
00021 //
00022 // constants, enums and typedefs
00023 //
00024 
00025 namespace edm {
00026    namespace eventsetup {
00027 //
00028 // static data member definitions
00029 //
00030 
00031 //
00032 // constructors and destructor
00033 //
00034 EventSetupsController::EventSetupsController()
00035 {
00036 }
00037 
00038 // EventSetupsController::EventSetupsController(const EventSetupsController& rhs)
00039 // {
00040 //    // do actual copying here;
00041 // }
00042 
00043 //EventSetupsController::~EventSetupsController()
00044 //{
00045 //}
00046 
00047 //
00048 // assignment operators
00049 //
00050 // const EventSetupsController& EventSetupsController::operator=(const EventSetupsController& rhs)
00051 // {
00052 //   //An exception safe implementation is
00053 //   EventSetupsController temp(rhs);
00054 //   swap(rhs);
00055 //
00056 //   return *this;
00057 // }
00058 
00059 //
00060 // member functions
00061 //
00062 boost::shared_ptr<EventSetupProvider> 
00063 EventSetupsController::makeProvider(ParameterSet& iPSet, const CommonParams& iParams)
00064 {
00065    boost::shared_ptr<EventSetupProvider> returnValue(makeEventSetupProvider(iPSet) );
00066 
00067    fillEventSetupProvider(*returnValue, iPSet, iParams);
00068    
00069    providers_.push_back(returnValue);
00070    
00071    return returnValue;
00072 }
00073 
00074 //
00075 // const member functions
00076 //
00077 
00078 //
00079 // static member functions
00080 //
00081    }
00082 }