00001 #include "RecoEcal/EgammaCoreTools/plugins/EcalClusterEnergyUncertaintyObjectSpecificBaseClass.h" 00002 00003 //#include "CondFormats/DataRecord/interface/EcalClusterEnergyUncertaintyObjectSpecificParametersRcd.h" 00004 00005 #include "FWCore/Framework/interface/EventSetup.h" 00006 #include "FWCore/Framework/interface/ESHandle.h" 00007 00008 EcalClusterEnergyUncertaintyObjectSpecificBaseClass::EcalClusterEnergyUncertaintyObjectSpecificBaseClass() 00009 {} 00010 00011 EcalClusterEnergyUncertaintyObjectSpecificBaseClass::~EcalClusterEnergyUncertaintyObjectSpecificBaseClass() 00012 {} 00013 00014 void 00015 EcalClusterEnergyUncertaintyObjectSpecificBaseClass::init( const edm::EventSetup& es ) 00016 { 00017 //es.get<EcalClusterEnergyUncertaintyParametersRcd>().get( esParams_ ); 00018 //params_ = esParams_.product(); 00019 } 00020 00021 void 00022 EcalClusterEnergyUncertaintyObjectSpecificBaseClass::checkInit() const 00023 { 00024 /* 00025 if ( ! params_ ) { 00026 // non-initialized function parameters: throw exception 00027 throw cms::Exception("EcalClusterEnergyUncertaintyObjectSpecificBaseClass::checkInit()") 00028 << "Trying to access an uninitialized crack correction function.\n" 00029 "Please call `init( edm::EventSetup &)' before any use of the function.\n"; 00030 } 00031 */ 00032 }