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 "CondFormats/SiStripObjects/interface/SiStripBaseObject.h"
11 #include <cstdint>
12 
25 // class SiStripLorentzAngle : public SiStripBaseObject
27 public:
30 
31  inline void putLorentsAngles(std::map<unsigned int, float>& LA) { m_LA = LA; }
32  inline const std::map<unsigned int, float>& getLorentzAngles() const { return m_LA; }
33 
34  bool putLorentzAngle(const uint32_t&, float);
35  float getLorentzAngle(const uint32_t&) const;
36 
38  void printDebug(std::stringstream& ss, const TrackerTopology* trackerTopo) const;
40  void printSummary(std::stringstream& ss, const TrackerTopology* trackerTopo) const;
41 
42 private:
43  std::map<unsigned int, float> m_LA;
44 
46 };
47 
48 #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.
const std::map< unsigned int, float > & getLorentzAngles() const
bool putLorentzAngle(const uint32_t &, float)
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.