CMS 3D CMS Logo

ExternalTemplate.h
Go to the documentation of this file.
1 #ifndef L1Trigger_L1TGlobal_ExternalTemplate_h
2 #define L1Trigger_L1TGlobal_ExternalTemplate_h
3 
20 // system include files
21 #include <string>
22 #include <iosfwd>
23 
24 // user include files
25 
26 // base class
28 
29 // forward declarations
30 
31 // class declaration
33 public:
34  // constructor
36 
37  // constructor
39 
40  // constructor
42 
43  // copy constructor
45 
46  // destructor
47  ~ExternalTemplate() override;
48 
49  // assign operator
51 
52 public:
53 public:
55  inline const unsigned int& extChannel() const { return m_extChannel; }
56 
58  inline void setExternalChannel(unsigned int extCh) { m_extChannel = extCh; }
59 
61  void print(std::ostream& myCout) const override;
62 
64  friend std::ostream& operator<<(std::ostream&, const ExternalTemplate&);
65 
66 private:
68  void copy(const ExternalTemplate& cp);
69 
70 private:
71  //Channel for this signal
72  unsigned int m_extChannel;
73 };
74 
75 #endif
ExternalTemplate & operator=(const ExternalTemplate &)
friend std::ostream & operator<<(std::ostream &, const ExternalTemplate &)
output stream operator
void setExternalChannel(unsigned int extCh)
set functions
unsigned int m_extChannel
void copy(const ExternalTemplate &cp)
copy function for copy constructor and operator=
void print(std::ostream &myCout) const override
print the condition
~ExternalTemplate() override
const unsigned int & extChannel() const
get external channel number