File indexing completed on 2021-12-09 00:01:06
0001 #ifndef L1Trigger_L1TGlobal_MuonShowerTemplate_h
0002 #define L1Trigger_L1TGlobal_MuonShowerTemplate_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #include <string>
0016 #include <iosfwd>
0017
0018
0019
0020
0021 #include "L1Trigger/L1TGlobal/interface/GlobalCondition.h"
0022
0023
0024
0025
0026 class MuonShowerTemplate : public GlobalCondition {
0027 public:
0028
0029 MuonShowerTemplate();
0030
0031
0032 MuonShowerTemplate(const std::string&);
0033
0034
0035 MuonShowerTemplate(const std::string&, const l1t::GtConditionType&);
0036
0037
0038 MuonShowerTemplate(const MuonShowerTemplate&);
0039
0040
0041 ~MuonShowerTemplate() override;
0042
0043
0044 MuonShowerTemplate& operator=(const MuonShowerTemplate&);
0045
0046
0047 struct ObjectParameter {
0048 bool MuonShower0;
0049 bool MuonShower1;
0050 bool MuonShowerOutOfTime0;
0051 bool MuonShowerOutOfTime1;
0052 };
0053
0054 public:
0055 inline const std::vector<ObjectParameter>* objectParameter() const { return &m_objectParameter; }
0056
0057
0058 void setConditionParameter(const std::vector<ObjectParameter>& objParameter);
0059
0060
0061 void print(std::ostream& myCout) const override;
0062
0063
0064 friend std::ostream& operator<<(std::ostream&, const MuonShowerTemplate&);
0065
0066 private:
0067
0068 void copy(const MuonShowerTemplate& cp);
0069
0070
0071 std::vector<ObjectParameter> m_objectParameter;
0072 };
0073
0074 #endif