File indexing completed on 2024-09-07 04:35:41
0001 #ifndef SiStripBackPlaneCorrection_h
0002 #define SiStripBackPlaneCorrection_h
0003
0004 #include "CondFormats/Serialization/interface/Serializable.h"
0005
0006 #include <vector>
0007 #include <map>
0008 #include <iostream>
0009
0010 #include "CondFormats/SiStripObjects/interface/SiStripDetSummary.h"
0011 #include <cstdint>
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027 class SiStripBackPlaneCorrection {
0028 public:
0029 SiStripBackPlaneCorrection() {}
0030 ~SiStripBackPlaneCorrection() {}
0031
0032 inline void putLorentsAngles(std::map<unsigned int, float>& BPC) { m_BPC = BPC; }
0033 inline const std::map<unsigned int, float>& getBackPlaneCorrections() const { return m_BPC; }
0034
0035 bool putBackPlaneCorrection(const uint32_t&, float);
0036 float getBackPlaneCorrection(const uint32_t&) const;
0037
0038
0039 void printDebug(std::stringstream& ss, const TrackerTopology* trackerTopo) const;
0040
0041 void printSummary(std::stringstream& ss, const TrackerTopology* trackerTopo) const;
0042
0043 private:
0044 std::map<unsigned int, float> m_BPC;
0045
0046 COND_SERIALIZABLE;
0047 };
0048
0049 #endif