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 
4 #include <vector>
5 #include <map>
6 #include <iostream>
7 #include <boost/cstdint.hpp>
8 // #include "CondFormats/SiStripObjects/interface/SiStripBaseObject.h"
10 
23 // class SiStripLorentzAngle : public SiStripBaseObject
25 {
26 public:
29 
30  inline void putLorentsAngles(std::map<unsigned int,float>& LA){m_LA=LA;}
31  inline const std::map<unsigned int,float>& getLorentzAngles () const {return m_LA;}
32 
33  bool putLorentzAngle(const uint32_t&, float);
34  float getLorentzAngle (const uint32_t&) const;
35 
37  void printDebug(std::stringstream& ss) const;
39  void printSummary(std::stringstream& ss) const;
40 
41 private:
42  std::map<unsigned int,float> m_LA;
43 };
44 
45 #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)
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.