1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
#ifndef CondTools_L1Trigger_L1SubsystemKeysOnlineProd_h
#define CondTools_L1Trigger_L1SubsystemKeysOnlineProd_h
// -*- C++ -*-
//
// Package: L1Trigger
// Class : L1SubsystemKeysOnlineProd
//
/**\class L1SubsystemKeysOnlineProd L1SubsystemKeysOnlineProd.h CondTools/L1Trigger/interface/L1SubsystemKeysOnlineProd.h
Description: <one line class summary>
Usage:
<usage>
*/
//
// Original Author: Werner Sun
// Created: Thu Aug 21 19:30:30 CEST 2008
// $Id: L1SubsystemKeysOnlineProd.h,v 1.1 2008/09/19 19:22:59 wsun Exp $
//
// system include files
#include <memory>
// user include files
#include "FWCore/Framework/interface/ModuleFactory.h"
#include "FWCore/Framework/interface/ESProducer.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "CondFormats/L1TObjects/interface/L1TriggerKey.h"
#include "CondFormats/DataRecord/interface/L1TriggerKeyRcd.h"
#include "CondTools/L1Trigger/interface/OMDSReader.h"
// forward declarations
class L1SubsystemKeysOnlineProd : public edm::ESProducer {
public:
L1SubsystemKeysOnlineProd(const edm::ParameterSet&);
~L1SubsystemKeysOnlineProd() override;
typedef std::unique_ptr<L1TriggerKey> ReturnType;
ReturnType produce(const L1TriggerKeyRcd&);
private:
// ----------member data ---------------------------
std::string m_tscKey;
l1t::OMDSReader m_omdsReader;
bool m_forceGeneration;
};
#endif
|