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 
11 
16 
19 
24 
25 
27  public:
29 
30  const EcalLaserAlphas* getAlphas () const;
32  const EcalLaserAPDPNRatios* getAPDPNRatios () const;
34  float getLaserCorrection (DetId const & xid, edm::Timestamp const & iTime) const;
35 
36  void setAlphaData (const EcalLaserAlphas* fItem) {mAlphas_ = fItem;}
38  void setAPDPNData (const EcalLaserAPDPNRatios* fItem) {mAPDPNRatios_ = fItem;}
40 
41  private:
42 
47 
48  typedef tbb::concurrent_unordered_set<uint32_t> ErrorMapT;
49  mutable ErrorMapT channelsWithInvalidCorrection_;
50 
51 };
52 
53 #endif
const EcalLaserAPDPNRatios * getAPDPNRatios() const
tbb::concurrent_unordered_set< uint32_t > ErrorMapT
ErrorMapT channelsWithInvalidCorrection_
float getLaserCorrection(DetId const &xid, edm::Timestamp const &iTime) const
void setAlphaData(const EcalLaserAlphas *fItem)
const EcalLinearCorrections * mLinearCorrections_
void setLinearCorrectionsData(const EcalLinearCorrections *fItem)
const EcalLaserAPDPNRatiosRef * mAPDPNRatiosRef_
void setAPDPNData(const EcalLaserAPDPNRatios *fItem)
Definition: DetId.h:18
const EcalLaserAlphas * getAlphas() const
const EcalLaserAPDPNRatios * mAPDPNRatios_
const EcalLaserAlphas * mAlphas_
const EcalLaserAPDPNRatiosRef * getAPDPNRatiosRef() const
const EcalLinearCorrections * getLinearCorrections() const
void setAPDPNRefData(const EcalLaserAPDPNRatiosRef *fItem)