Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-06-28 02:36:27

0001 #ifndef L1Trigger_L1TGlobal_CICADATemplate_h
0002 #define L1Trigger_L1TGlobal_CICADATemplate_h
0003 
0004 #include <string>
0005 #include <iosfwd>
0006 
0007 #include "L1Trigger/L1TGlobal/interface/GlobalCondition.h"
0008 
0009 class CICADATemplate : public GlobalCondition {
0010 public:
0011   CICADATemplate();
0012   CICADATemplate(const std::string&);
0013   CICADATemplate(const std::string&, const l1t::GtConditionType&);
0014   CICADATemplate(const CICADATemplate&);
0015   ~CICADATemplate() = default;
0016 
0017   CICADATemplate& operator=(const CICADATemplate&);
0018 
0019   struct ObjectParameter {
0020     float minCICADAThreshold;
0021     float maxCICADAThreshold;
0022   };
0023   inline const std::vector<ObjectParameter>* objectParameter() const { return &m_objectParameter; }
0024 
0025   void setConditionParameter(const std::vector<ObjectParameter>& objParameter) { m_objectParameter = objParameter; }
0026 
0027   void print(std::ostream& myCout) const override;
0028 
0029   friend std::ostream& operator<<(std::ostream&, const CICADATemplate&);
0030 
0031 private:
0032   void copy(const CICADATemplate& cp);
0033   std::vector<ObjectParameter> m_objectParameter;
0034 };
0035 
0036 #endif