CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/CondFormats/SiStripObjects/interface/SiStripLorentzAngle.h

Go to the documentation of this file.
00001 #ifndef SiStripLorentzAngle_h
00002 #define SiStripLorentzAngle_h
00003 
00004 #include <vector>
00005 #include <map>
00006 #include <iostream>
00007 #include <boost/cstdint.hpp>
00008 // #include "CondFormats/SiStripObjects/interface/SiStripBaseObject.h"
00009 #include "CondFormats/SiStripObjects/interface/SiStripDetSummary.h"
00010 
00023 // class SiStripLorentzAngle : public SiStripBaseObject
00024 class SiStripLorentzAngle
00025 {
00026 public:
00027   SiStripLorentzAngle(){};
00028   ~SiStripLorentzAngle(){};
00029 
00030   inline void putLorentsAngles(std::map<unsigned int,float>& LA){m_LA=LA;}   
00031   inline const std::map<unsigned int,float>&  getLorentzAngles () const {return m_LA;}
00032 
00033   bool putLorentzAngle(const uint32_t&, float&);
00034   const float& getLorentzAngle (const uint32_t&) const;
00035 
00037   void printDebug(std::stringstream& ss) const;
00039   void printSummary(std::stringstream& ss) const;
00040 
00041 private:
00042   std::map<unsigned int,float> m_LA; 
00043 };
00044 
00045 #endif