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 #include <tbb/concurrent_hash_map.h>
11 
12 
17 
20 
25 
26 
28  public:
30 
31  const EcalLaserAlphas* getAlphas () const;
33  const EcalLaserAPDPNRatios* getAPDPNRatios () const;
35  float getLaserCorrection (DetId const & xid, edm::Timestamp const & iTime) const;
36 
37  void setAlphaData (const EcalLaserAlphas* fItem) {mAlphas_ = fItem;}
39  void setAPDPNData (const EcalLaserAPDPNRatios* fItem) {mAPDPNRatios_ = fItem;}
41 
42  private:
43 
48 
49  typedef tbb::concurrent_unordered_set<uint32_t> ErrorMapT;
50  mutable ErrorMapT channelsWithInvalidCorrection_;
51 
52 };
53 
54 #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)