Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:22:23

0001 #include <iostream>
0002 #include "CondTools/L1TriggerExt/interface/L1ObjectKeysOnlineProdBaseExt.h"
0003 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0004 
0005 class L1TGlobalPrescalesVetosObjectKeysOnlineProd : public L1ObjectKeysOnlineProdBaseExt {
0006 private:
0007 public:
0008   void fillObjectKeys(L1TriggerKeyExt* pL1TriggerKey) override;
0009 
0010   L1TGlobalPrescalesVetosObjectKeysOnlineProd(const edm::ParameterSet&);
0011   ~L1TGlobalPrescalesVetosObjectKeysOnlineProd(void) override {}
0012 };
0013 
0014 L1TGlobalPrescalesVetosObjectKeysOnlineProd::L1TGlobalPrescalesVetosObjectKeysOnlineProd(
0015     const edm::ParameterSet& iConfig)
0016     : L1ObjectKeysOnlineProdBaseExt(iConfig) {}
0017 
0018 void L1TGlobalPrescalesVetosObjectKeysOnlineProd::fillObjectKeys(L1TriggerKeyExt* pL1TriggerKey) {
0019   std::string uGTKey = pL1TriggerKey->subsystemKey(L1TriggerKeyExt::kuGT);
0020 
0021   pL1TriggerKey->add("L1TGlobalPrescalesVetosFractO2ORcd", "L1TGlobalPrescalesVetosFract", uGTKey);
0022 }
0023 
0024 //define this as a plug-in
0025 DEFINE_FWK_EVENTSETUP_MODULE(L1TGlobalPrescalesVetosObjectKeysOnlineProd);