File indexing completed on 2024-04-06 11:59:39
0001 #ifndef TkCommonMode_H
0002 #define TkCommonMode_H
0003
0004 #include "CalibTracker/SiStripAPVAnalysis/interface/ApvAnalysis.h"
0005 #include "CalibTracker/SiStripAPVAnalysis/interface/TkCommonModeTopology.h"
0006
0007 #include <vector>
0008
0009
0010
0011
0012
0013 class TkCommonMode {
0014 public:
0015 virtual ~TkCommonMode() {}
0016
0017 virtual TkCommonModeTopology& topology() { return *myTkCommonModeTopology; }
0018 virtual void setTopology(TkCommonModeTopology* in) { myTkCommonModeTopology = in; }
0019
0020
0021 void setCommonMode(const std::vector<float>& in) { theCommonMode = in; }
0022
0023 std::vector<float> returnAsVector() const { return theCommonMode; }
0024
0025 std::vector<float> toVector() const;
0026 private:
0027 TkCommonModeTopology* myTkCommonModeTopology;
0028 std::vector<float> theCommonMode;
0029 };
0030
0031 #endif