CMS 3D CMS Logo

EcalLaserDbService.h
Go to the documentation of this file.
1 //
2 // Toyoko Orimoto (Caltech), 10 July 2007
3 //
4 
5 #ifndef EcalLaserDbService_h
6 #define EcalLaserDbService_h
7 
8 #include <memory>
9 #include <tbb/concurrent_unordered_set.h>
10 
15 
18 
23 
25 public:
27 
28  const EcalLaserAlphas* getAlphas() const;
30  const EcalLaserAPDPNRatios* getAPDPNRatios() const;
32  float getLaserCorrection(DetId const& xid, edm::Timestamp const& iTime) const;
33 
34  void setAlphaData(const EcalLaserAlphas* fItem) { mAlphas_ = fItem; }
36  void setAPDPNData(const EcalLaserAPDPNRatios* fItem) { mAPDPNRatios_ = fItem; }
38 
39 private:
44 
45  typedef tbb::concurrent_unordered_set<uint32_t> ErrorMapT;
47 };
48 
49 #endif
EcalLaserDbService::setAPDPNData
void setAPDPNData(const EcalLaserAPDPNRatios *fItem)
Definition: EcalLaserDbService.h:36
EcalLaserDbService::setAlphaData
void setAlphaData(const EcalLaserAlphas *fItem)
Definition: EcalLaserDbService.h:34
EcalLaserAPDPNRatiosRef.h
EcalLaserDbService::getAPDPNRatios
const EcalLaserAPDPNRatios * getAPDPNRatios() const
Definition: EcalLaserDbService.cc:22
EBDetId.h
EEDetId.h
ESProducer.h
EcalLinearCorrections.h
EcalLaserDbService::mAlphas_
const EcalLaserAlphas * mAlphas_
Definition: EcalLaserDbService.h:40
EcalLaserDbService::mLinearCorrections_
const EcalLinearCorrections * mLinearCorrections_
Definition: EcalLaserDbService.h:43
EcalCondObjectContainer
Definition: EcalCondObjectContainer.h:13
EcalLaserDbService::setLinearCorrectionsData
void setLinearCorrectionsData(const EcalLinearCorrections *fItem)
Definition: EcalLaserDbService.h:37
EcalLaserDbService::setAPDPNRefData
void setAPDPNRefData(const EcalLaserAPDPNRatiosRef *fItem)
Definition: EcalLaserDbService.h:35
DetId
Definition: DetId.h:17
EcalLaserDbService
Definition: EcalLaserDbService.h:24
EcalLaserDbService::EcalLaserDbService
EcalLaserDbService()
Definition: EcalLaserDbService.cc:15
EcalLaserDbService::ErrorMapT
tbb::concurrent_unordered_set< uint32_t > ErrorMapT
Definition: EcalLaserDbService.h:45
Timestamp.h
EcalLaserAlphas.h
EcalLaserDbService::mAPDPNRatiosRef_
const EcalLaserAPDPNRatiosRef * mAPDPNRatiosRef_
Definition: EcalLaserDbService.h:41
EcalLaserDbService::getLinearCorrections
const EcalLinearCorrections * getLinearCorrections() const
Definition: EcalLaserDbService.cc:24
EcalLaserAPDPNRatios.h
EcalLaserDbService::channelsWithInvalidCorrection_
ErrorMapT channelsWithInvalidCorrection_
Definition: EcalLaserDbService.h:46
EcalLaserDbService::getLaserCorrection
float getLaserCorrection(DetId const &xid, edm::Timestamp const &iTime) const
Definition: EcalLaserDbService.cc:26
ModuleFactory.h
DetId.h
EcalLaserDbService::getAPDPNRatiosRef
const EcalLaserAPDPNRatiosRef * getAPDPNRatiosRef() const
Definition: EcalLaserDbService.cc:20
EcalLaserDbService::mAPDPNRatios_
const EcalLaserAPDPNRatios * mAPDPNRatios_
Definition: EcalLaserDbService.h:42
EcalLaserAPDPNRatios
Definition: EcalLaserAPDPNRatios.h:14
EcalLaserDbService::getAlphas
const EcalLaserAlphas * getAlphas() const
Definition: EcalLaserDbService.cc:18
EcalTimeDependentCorrections
Definition: EcalTimeDependentCorrections.h:14
edm::Timestamp
Definition: Timestamp.h:30