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=
ExternalTemplate & operator=(const ExternalTemplate &)
Definition: ExternalTemplate.cc:52
hgcal_conditions::parameters
Definition: HGCConditions.h:86
GlobalCondition.h
ExternalTemplate::extChannel
const unsigned int & extChannel() const
get external channel number
Definition: ExternalTemplate.h:55
ExternalTemplate
Definition: ExternalTemplate.h:32
l1t::GtConditionType
GtConditionType
Definition: GlobalDefinitions.h:49
ExternalTemplate::operator<<
friend std::ostream & operator<<(std::ostream &, const ExternalTemplate &)
output stream operator
Definition: ExternalTemplate.cc:80
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
ExternalTemplate::~ExternalTemplate
~ExternalTemplate() override
Definition: ExternalTemplate.cc:47
ExternalTemplate::copy
void copy(const ExternalTemplate &cp)
copy function for copy constructor and operator=
Definition: ExternalTemplate.cc:68
ExternalTemplate::m_extChannel
unsigned int m_extChannel
Definition: ExternalTemplate.h:72
ExternalTemplate::ExternalTemplate
ExternalTemplate()
Definition: ExternalTemplate.cc:32
ExternalTemplate::print
void print(std::ostream &myCout) const override
print the condition
Definition: ExternalTemplate.cc:57
ExternalTemplate::setExternalChannel
void setExternalChannel(unsigned int extCh)
set functions
Definition: ExternalTemplate.h:58
GlobalCondition
Definition: GlobalCondition.h:34