Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:02:34

0001 #ifndef SiPixelLorentzAngle_h
0002 #define SiPixelLorentzAngle_h
0003 
0004 #include "CondFormats/Serialization/interface/Serializable.h"
0005 
0006 #include <vector>
0007 #include <map>
0008 #include <iostream>
0009 #include <cstdint>
0010 
0011 class SiPixelLorentzAngle {
0012 public:
0013   SiPixelLorentzAngle(){};
0014   ~SiPixelLorentzAngle(){};
0015 
0016   inline void putLorentsAngles(std::map<unsigned int, float>& LA) { m_LA = LA; }
0017   inline const std::map<unsigned int, float>& getLorentzAngles() const { return m_LA; }
0018 
0019   bool putLorentzAngle(const uint32_t&, float&);
0020   float getLorentzAngle(const uint32_t&) const;
0021 
0022 private:
0023   std::map<unsigned int, float> m_LA;
0024 
0025   COND_SERIALIZABLE;
0026 };
0027 
0028 #endif