CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalClusterEnergyCorrectionObjectSpecificBaseClass.cc
Go to the documentation of this file.
2 
4 
7 
9 {}
10 
12 {}
13 
14 void
16 {
18  params_ = esParams_.product();
19 }
20 
21 void
23 {
24 
25  if ( ! params_ ) {
26  // non-initialized function parameters: throw exception
27  throw cms::Exception("EcalClusterEnergyCorrectionObjectSpecificBaseClass::checkInit()")
28  << "Trying to access an uninitialized correction function.\n"
29  "Please call `init( edm::EventSetup &)' before any use of the function.\n";
30  }
31 
32 }
const EcalClusterEnergyCorrectionObjectSpecificParameters * params_
const T & get() const
Definition: EventSetup.h:56
edm::ESHandle< EcalClusterEnergyCorrectionObjectSpecificParameters > esParams_