L1GtExternalTemplate

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
#ifndef CondFormats_L1TObjects_L1GtExternalTemplate_h
#define CondFormats_L1TObjects_L1GtExternalTemplate_h

/**
 * \class L1GtExternalTemplate
 *
 *
 * Description: L1 Global Trigger external template.
 *
 * Implementation:
 *    Instantiated L1GtCondition. External conditions sends a logical result only.
 *    No changes are possible at the L1 GT level. External conditions can be used
 *    in physics algorithms in combination with other defined conditions,
 *    see L1GtFwd.
 *
 *    It has zero objects associated.
 *
 * \author: Vasile Mihai Ghete - HEPHY Vienna
 *
 * $Date$
 * $Revision$
 *
 */

// system include files
#include "CondFormats/Serialization/interface/Serializable.h"

#include <string>
#include <iosfwd>

// user include files

//   base class
#include "CondFormats/L1TObjects/interface/L1GtCondition.h"

// forward declarations

// class declaration
class L1GtExternalTemplate : public L1GtCondition {
public:
  // constructor
  L1GtExternalTemplate();

  // constructor
  L1GtExternalTemplate(const std::string&);

  // constructor
  L1GtExternalTemplate(const std::string&, const L1GtConditionType&);

  // copy constructor
  L1GtExternalTemplate(const L1GtExternalTemplate&);

  // destructor
  ~L1GtExternalTemplate() override;

  // assign operator
  L1GtExternalTemplate& operator=(const L1GtExternalTemplate&);

public:
  /// print the condition
  void print(std::ostream& myCout) const override;

  /// output stream operator
  friend std::ostream& operator<<(std::ostream&, const L1GtExternalTemplate&);

private:
  /// copy function for copy constructor and operator=
  void copy(const L1GtExternalTemplate& cp);

  COND_SERIALIZABLE;
};

#endif