Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:53:49

0001 #ifndef L1GlobalTrigger_L1GtTechnicalTriggerRecord_h
0002 #define L1GlobalTrigger_L1GtTechnicalTriggerRecord_h
0003 
0004 /**
0005  * \class L1GtTechnicalTriggerRecord
0006  * 
0007  * 
0008  * Description: technical trigger input record for L1 Global Trigger.  
0009  *
0010  * Implementation:
0011  *    <TODO: enter implementation details>
0012  *   
0013  * \author: Vasile Mihai Ghete - HEPHY Vienna
0014  * 
0015  *
0016  */
0017 
0018 // system include files
0019 #include <string>
0020 #include <vector>
0021 
0022 // user include files
0023 #include "DataFormats/L1GlobalTrigger/interface/L1GtTechnicalTrigger.h"
0024 
0025 // forward declarations
0026 
0027 // class declaration
0028 class L1GtTechnicalTriggerRecord {
0029 public:
0030   /// constructor(s)
0031   L1GtTechnicalTriggerRecord();
0032 
0033   /// destructor
0034   virtual ~L1GtTechnicalTriggerRecord();
0035 
0036 public:
0037   /// return the technical trigger for ttName and bxInEvent
0038   const L1GtTechnicalTrigger* getTechnicalTrigger(const std::string& ttName, const int bxInEventVal) const;
0039 
0040   /// return the technical trigger for ttBitNumber and bxInEvent
0041   const L1GtTechnicalTrigger* getTechnicalTrigger(const unsigned int ttBitNumber, const int bxInEventVal) const;
0042 
0043 public:
0044   /// get / set the vector of technical triggers
0045   inline const std::vector<L1GtTechnicalTrigger>& gtTechnicalTrigger() const { return m_gtTechnicalTrigger; }
0046 
0047   void setGtTechnicalTrigger(const std::vector<L1GtTechnicalTrigger>& gtTechnicalTriggerValue) {
0048     m_gtTechnicalTrigger = gtTechnicalTriggerValue;
0049   }
0050 
0051 private:
0052   std::vector<L1GtTechnicalTrigger> m_gtTechnicalTrigger;
0053 };
0054 
0055 #endif /* L1GlobalTrigger_L1GtTechnicalTriggerRecord_h */