test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 {
34 
35 public:
36 
37  // constructor
39 
40  // constructor
42 
43  // constructor
45 
46  // copy constructor
48 
49  // destructor
50  virtual ~ExternalTemplate();
51 
52  // assign operator
54 
55 public:
56 
57 
58 
59 
60 public:
61 
63  inline const unsigned int& extChannel() const
64  {
65  return m_extChannel;
66  }
67 
69  inline void setExternalChannel(unsigned int extCh) { m_extChannel = extCh; }
70 
72  virtual void print(std::ostream& myCout) const;
73 
75  friend std::ostream& operator<<(std::ostream&, const ExternalTemplate&);
76 
77 private:
78 
80  void copy(const ExternalTemplate& cp);
81 
82 private:
83 
84  //Channel for this signal
85  unsigned int m_extChannel;
86 
87 
88 };
89 
90 #endif
ExternalTemplate & operator=(const ExternalTemplate &)
friend std::ostream & operator<<(std::ostream &, const ExternalTemplate &)
output stream operator
void setExternalChannel(unsigned int extCh)
set functions
virtual void print(std::ostream &myCout) const
print the condition
unsigned int m_extChannel
virtual ~ExternalTemplate()
void copy(const ExternalTemplate &cp)
copy function for copy constructor and operator=
const unsigned int & extChannel() const
get external channel number