CMS 3D CMS Logo

CTPPSPixelGainCalibrationDBService.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: RecoCTPPS/PixelLocal
4 // Class : CTPPSPixelGainCalibrationDBService
5 //
6 // Implementation:
7 // [Notes on implementation]
8 //
9 // Original Author: Helio Nogima
10 // Created: Thu, 23 Feb 2017 17:37:50 GMT
11 //
12 
20 
22 {
23 }
24 
26 {
27 }
28 
30 
33  //record not found
34  throw cms::Exception("CTPPSPixelGainCalibrationService") << "Record CTPPSPixelGainCalibrationsRcd does not exist";
35  }
37  iSetup.get<CTPPSPixelGainCalibrationsRcd>().get(calhandle);
38  pPixelGainCalibrations=calhandle.product();
39 }
const CTPPSPixelGainCalibrations * pPixelGainCalibrations
static HCTypeTag findType(char const *iTypeName)
find a type based on the types name, if not found will return default HCTypeTag
int iEvent
Definition: GenABIO.cc:230
virtual void getDB(const edm::Event &e, const edm::EventSetup &c)
heterocontainer::HCTypeTag TypeTag
T get() const
Definition: EventSetup.h:63
T const * product() const
Definition: ESHandle.h:86