File indexing completed on 2024-04-06 12:20:29
0001 #ifndef L1Trigger_L1TGlobal_ExternalTemplate_h
0002 #define L1Trigger_L1TGlobal_ExternalTemplate_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021 #include <string>
0022 #include <iosfwd>
0023
0024
0025
0026
0027 #include "L1Trigger/L1TGlobal/interface/GlobalCondition.h"
0028
0029
0030
0031
0032 class ExternalTemplate : public GlobalCondition {
0033 public:
0034
0035 ExternalTemplate();
0036
0037
0038 ExternalTemplate(const std::string&);
0039
0040
0041 ExternalTemplate(const std::string&, const l1t::GtConditionType&);
0042
0043
0044 ExternalTemplate(const ExternalTemplate&);
0045
0046
0047 ~ExternalTemplate() override;
0048
0049
0050 ExternalTemplate& operator=(const ExternalTemplate&);
0051
0052 public:
0053 public:
0054
0055 inline const unsigned int& extChannel() const { return m_extChannel; }
0056
0057
0058 inline void setExternalChannel(unsigned int extCh) { m_extChannel = extCh; }
0059
0060
0061 void print(std::ostream& myCout) const override;
0062
0063
0064 friend std::ostream& operator<<(std::ostream&, const ExternalTemplate&);
0065
0066 private:
0067
0068 void copy(const ExternalTemplate& cp);
0069
0070 private:
0071
0072 unsigned int m_extChannel;
0073 };
0074
0075 #endif