Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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