Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:02:20

0001 #ifndef CondFormats_L1TObjects_L1GtExternalTemplate_h
0002 #define CondFormats_L1TObjects_L1GtExternalTemplate_h
0003 
0004 /**
0005  * \class L1GtExternalTemplate
0006  *
0007  *
0008  * Description: L1 Global Trigger external template.
0009  *
0010  * Implementation:
0011  *    Instantiated L1GtCondition. External conditions sends a logical result only.
0012  *    No changes are possible at the L1 GT level. External conditions can be used
0013  *    in physics algorithms in combination with other defined conditions,
0014  *    see L1GtFwd.
0015  *
0016  *    It has zero objects associated.
0017  *
0018  * \author: Vasile Mihai Ghete - HEPHY Vienna
0019  *
0020  * $Date$
0021  * $Revision$
0022  *
0023  */
0024 
0025 // system include files
0026 #include "CondFormats/Serialization/interface/Serializable.h"
0027 
0028 #include <string>
0029 #include <iosfwd>
0030 
0031 // user include files
0032 
0033 //   base class
0034 #include "CondFormats/L1TObjects/interface/L1GtCondition.h"
0035 
0036 // forward declarations
0037 
0038 // class declaration
0039 class L1GtExternalTemplate : public L1GtCondition {
0040 public:
0041   // constructor
0042   L1GtExternalTemplate();
0043 
0044   // constructor
0045   L1GtExternalTemplate(const std::string&);
0046 
0047   // constructor
0048   L1GtExternalTemplate(const std::string&, const L1GtConditionType&);
0049 
0050   // copy constructor
0051   L1GtExternalTemplate(const L1GtExternalTemplate&);
0052 
0053   // destructor
0054   ~L1GtExternalTemplate() override;
0055 
0056   // assign operator
0057   L1GtExternalTemplate& operator=(const L1GtExternalTemplate&);
0058 
0059 public:
0060   /// print the condition
0061   void print(std::ostream& myCout) const override;
0062 
0063   /// output stream operator
0064   friend std::ostream& operator<<(std::ostream&, const L1GtExternalTemplate&);
0065 
0066 private:
0067   /// copy function for copy constructor and operator=
0068   void copy(const L1GtExternalTemplate& cp);
0069 
0070   COND_SERIALIZABLE;
0071 };
0072 
0073 #endif