Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:31:07

0001 #ifndef L1GtConfigProducers_L1GtTriggerMaskAlgoTrigConfigOnlineProd_h
0002 #define L1GtConfigProducers_L1GtTriggerMaskAlgoTrigConfigOnlineProd_h
0003 
0004 /**
0005  * \class L1GtTriggerMaskAlgoTrigConfigOnlineProd
0006  *
0007  *
0008  * Description: online producer for L1GtTriggerMaskAlgoTrigRcd.
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 <memory>
0020 #include <string>
0021 
0022 // user include files
0023 //   base class
0024 #include "CondTools/L1Trigger/interface/L1ConfigOnlineProdBase.h"
0025 
0026 #include "CondFormats/L1TObjects/interface/L1GtTriggerMask.h"
0027 #include "CondFormats/DataRecord/interface/L1GtTriggerMaskAlgoTrigRcd.h"
0028 
0029 // forward declarations
0030 
0031 // class declaration
0032 class L1GtTriggerMaskAlgoTrigConfigOnlineProd
0033     : public L1ConfigOnlineProdBase<L1GtTriggerMaskAlgoTrigRcd, L1GtTriggerMask> {
0034 public:
0035   /// constructor
0036   L1GtTriggerMaskAlgoTrigConfigOnlineProd(const edm::ParameterSet&);
0037 
0038   /// destructor
0039   ~L1GtTriggerMaskAlgoTrigConfigOnlineProd() override;
0040 
0041   /// public methods
0042   std::unique_ptr<L1GtTriggerMask> newObject(const std::string& objectKey) override;
0043 
0044 private:
0045   /// partition number
0046   int m_partitionNumber;
0047 };
0048 
0049 #endif