test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiStripLorentzAngle.h
Go to the documentation of this file.
1 #ifndef SiStripLorentzAngle_h
2 #define SiStripLorentzAngle_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 
25 // class SiStripLorentzAngle : public SiStripBaseObject
27 {
28 public:
31 
32  inline void putLorentsAngles(std::map<unsigned int,float>& LA){m_LA=LA;}
33  inline const std::map<unsigned int,float>& getLorentzAngles () const {return m_LA;}
34 
35  bool putLorentzAngle(const uint32_t&, float);
36  float getLorentzAngle (const uint32_t&) const;
37 
39  void printDebug(std::stringstream& ss) const;
41  void printSummary(std::stringstream& ss) const;
42 
43 private:
44  std::map<unsigned int,float> m_LA;
45 
47 };
48 
49 #endif
std::map< unsigned int, float > m_LA
bool putLorentzAngle(const uint32_t &, float)
const std::map< unsigned int, float > & getLorentzAngles() const
float getLorentzAngle(const uint32_t &) const
void putLorentsAngles(std::map< unsigned int, float > &LA)
#define COND_SERIALIZABLE
Definition: Serializable.h:37
void printDebug(std::stringstream &ss) const
Prints LorentzAngles for all detIds.
void printSummary(std::stringstream &ss) const
Prints the mean value of the LorentzAngle divided by subdetector, layer and mono/stereo.