File indexing completed on 2024-04-06 12:22:19
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #include "L1TriggerConfig/L1GtConfigProducers/interface/L1GtTriggerMaskVetoTechTrigTrivialProducer.h"
0017
0018
0019 #include <memory>
0020
0021 #include <vector>
0022
0023
0024
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/DataRecord/interface/L1GtTriggerMaskVetoTechTrigRcd.h"
0031
0032
0033
0034
0035 L1GtTriggerMaskVetoTechTrigTrivialProducer::L1GtTriggerMaskVetoTechTrigTrivialProducer(const edm::ParameterSet& parSet) {
0036
0037 setWhatProduced(this, &L1GtTriggerMaskVetoTechTrigTrivialProducer::produceTriggerMask);
0038
0039
0040
0041 m_triggerMask = parSet.getParameter<std::vector<unsigned int> >("TriggerMask");
0042 }
0043
0044
0045 L1GtTriggerMaskVetoTechTrigTrivialProducer::~L1GtTriggerMaskVetoTechTrigTrivialProducer() {
0046
0047 }
0048
0049
0050
0051
0052 std::unique_ptr<L1GtTriggerMask> L1GtTriggerMaskVetoTechTrigTrivialProducer::produceTriggerMask(
0053 const L1GtTriggerMaskVetoTechTrigRcd& iRecord) {
0054 return std::make_unique<L1GtTriggerMask>(m_triggerMask);
0055 }