Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:51:16

0001 #ifndef CondFormats_L1TObjects_L1GtBptxTemplate_h
0002 #define CondFormats_L1TObjects_L1GtBptxTemplate_h
0003 
0004 /**
0005  * \class L1GtBptxTemplate
0006  *
0007  *
0008  * Description: L1 Global Trigger BPTX template.
0009  *
0010  * Implementation:
0011  *    Instantiated L1GtCondition. BPTX conditions sends a logical result only.
0012  *    No changes are possible at the L1 GT level. BPTX 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 L1GtBptxTemplate : public L1GtCondition {
0040 public:
0041   // constructor
0042   L1GtBptxTemplate();
0043 
0044   // constructor
0045   L1GtBptxTemplate(const std::string&);
0046 
0047   // constructor
0048   L1GtBptxTemplate(const std::string&, const L1GtConditionType&);
0049 
0050   // copy constructor
0051   L1GtBptxTemplate(const L1GtBptxTemplate&);
0052 
0053   // destructor
0054   ~L1GtBptxTemplate() override;
0055 
0056   // assign operator
0057   L1GtBptxTemplate& operator=(const L1GtBptxTemplate&);
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 L1GtBptxTemplate&);
0065 
0066 private:
0067   /// copy function for copy constructor and operator=
0068   void copy(const L1GtBptxTemplate& cp);
0069 
0070   COND_SERIALIZABLE;
0071 };
0072 
0073 #endif