Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:53:25

0001 // -*- C++ -*-
0002 //
0003 // Package:     FWLite
0004 // Class  :     ESHandle
0005 //
0006 // Implementation:
0007 //     [Notes on implementation]
0008 //
0009 // Original Author:
0010 //         Created:  Mon Dec 14 15:29:19 CST 2009
0011 //
0012 
0013 // system include files
0014 
0015 // user include files
0016 #include "DataFormats/FWLite/interface/ESHandle.h"
0017 
0018 //
0019 // constants, enums and typedefs
0020 //
0021 
0022 static cms::Exception s_exc("ESHandleUnset", "The ESHandle is being accessed without ever being set by a Record");
0023 
0024 static void doNotDelete(cms::Exception*) {}
0025 
0026 namespace fwlite {
0027   std::shared_ptr<cms::Exception> eshandle_not_set_exception() {
0028     return std::shared_ptr<cms::Exception>(&s_exc, doNotDelete);
0029   }
0030 }  // namespace fwlite