CMS 3D CMS Logo

TkCommonMode.h
Go to the documentation of this file.
1 #ifndef TkCommonMode_H
2 #define TkCommonMode_H
3 
6 
7 #include <vector>
13 class TkCommonMode {
14 public:
15  virtual ~TkCommonMode() {}
16 
19 
21  void setCommonMode(const std::vector<float>& in) { theCommonMode = in; }
23  std::vector<float> returnAsVector() const { return theCommonMode; }
25  std::vector<float> toVector() const; // This return a full vector, with duplicates...
26 private:
28  std::vector<float> theCommonMode;
29 };
30 
31 #endif
virtual ~TkCommonMode()
Definition: TkCommonMode.h:15
std::vector< float > toVector() const
Definition: TkCommonMode.cc:3
virtual void setTopology(TkCommonModeTopology *in)
Definition: TkCommonMode.h:18
void setCommonMode(const std::vector< float > &in)
Definition: TkCommonMode.h:21
virtual TkCommonModeTopology & topology()
Definition: TkCommonMode.h:17
std::vector< float > theCommonMode
Definition: TkCommonMode.h:28
std::vector< float > returnAsVector() const
Definition: TkCommonMode.h:23
TkCommonModeTopology * myTkCommonModeTopology
Definition: TkCommonMode.h:27