Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef L1GtConfigProducers_L1GtTriggerMaskVetoTechTrigTrivialProducer_h
0002 #define L1GtConfigProducers_L1GtTriggerMaskVetoTechTrigTrivialProducer_h
0003 
0004 /**
0005  * \class L1GtTriggerMaskVetoTechTrigTrivialProducer
0006  * 
0007  * 
0008  * Description: ESProducer for L1 GT trigger veto mask for technical triggers.  
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 
0021 #include <vector>
0022 
0023 // user include files
0024 //   base class
0025 #include "FWCore/Framework/interface/ESProducer.h"
0026 
0027 #include "FWCore/Framework/interface/ModuleFactory.h"
0028 #include "FWCore/Framework/interface/ESHandle.h"
0029 
0030 #include "CondFormats/L1TObjects/interface/L1GtTriggerMask.h"
0031 
0032 // forward declarations
0033 class L1GtTriggerMaskVetoTechTrigRcd;
0034 
0035 // class declaration
0036 class L1GtTriggerMaskVetoTechTrigTrivialProducer : public edm::ESProducer {
0037 public:
0038   /// constructor
0039   L1GtTriggerMaskVetoTechTrigTrivialProducer(const edm::ParameterSet&);
0040 
0041   /// destructor
0042   ~L1GtTriggerMaskVetoTechTrigTrivialProducer() override;
0043 
0044   /// public methods
0045 
0046   std::unique_ptr<L1GtTriggerMask> produceTriggerMask(const L1GtTriggerMaskVetoTechTrigRcd&);
0047 
0048 private:
0049   /// trigger mask
0050   std::vector<unsigned int> m_triggerMask;
0051 };
0052 
0053 #endif