CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiStripBackPlaneCorrection.h
Go to the documentation of this file.
1 #ifndef SiStripBackPlaneCorrection_h
2 #define SiStripBackPlaneCorrection_h
3 
5 
6 #include <vector>
7 #include <map>
8 #include <iostream>
9 #include <boost/cstdint.hpp>
10 // #include "CondFormats/SiStripObjects/interface/SiStripBaseObject.h"
12 
26 // class SiStripBackPlaneCorrection : public SiStripBaseObject
28 {
29 public:
32 
33  inline void putLorentsAngles(std::map<unsigned int,float>& BPC){m_BPC=BPC;}
34  inline const std::map<unsigned int,float>& getBackPlaneCorrections () const {return m_BPC;}
35 
36  bool putBackPlaneCorrection(const uint32_t&, float);
37  float getBackPlaneCorrection (const uint32_t&) const;
38 
40  void printDebug(std::stringstream& ss) const;
42  void printSummary(std::stringstream& ss) const;
43 
44 private:
45  std::map<unsigned int,float> m_BPC;
46 
48 };
49 
50 #endif
bool putBackPlaneCorrection(const uint32_t &, float)
void printSummary(std::stringstream &ss) const
Prints the mean value of the BackPlaneCorrection divided by subdetector, layer and mono/stereo...
const std::map< unsigned int, float > & getBackPlaneCorrections() const
float getBackPlaneCorrection(const uint32_t &) const
std::map< unsigned int, float > m_BPC
#define COND_SERIALIZABLE
Definition: Serializable.h:37
void putLorentsAngles(std::map< unsigned int, float > &BPC)
void printDebug(std::stringstream &ss) const
Prints BackPlaneCorrections for all detIds.