CMS 3D CMS Logo

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 TrackerTopology* trackerTopo) const;
41  void printSummary(std::stringstream& ss, const TrackerTopology* trackerTopo) const;
42 
43 private:
44  std::map<unsigned int,float> m_LA;
45 
47 };
48 
49 #endif
std::map< unsigned int, float > m_LA
void printSummary(std::stringstream &ss, const TrackerTopology *trackerTopo) const
Prints the mean value of the LorentzAngle divided by subdetector, layer and mono/stereo.
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:38
void printDebug(std::stringstream &ss, const TrackerTopology *trackerTopo) const
Prints LorentzAngles for all detIds.