L1Trigger
L1THGCal
interface
HGCalProcessorBaseT.h
Go to the documentation of this file.
1
#ifndef __L1Trigger_L1THGCal_HGCalProcessorBaseT_h__
2
#define __L1Trigger_L1THGCal_HGCalProcessorBaseT_h__
3
4
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
#include "
DataFormats/Common/interface/Handle.h
"
6
7
#include "
L1Trigger/L1THGCal/interface/HGCalTriggerGeometryBase.h
"
8
9
template
<
typename
InputCollection,
typename
OutputCollection>
10
class
HGCalProcessorBaseT
{
11
public
:
12
HGCalProcessorBaseT
(
const
edm::ParameterSet
& conf)
13
:
geometry_
(nullptr),
name_
(conf.getParameter<
std
::
string
>(
"ProcessorName"
)) {}
14
15
virtual
~HGCalProcessorBaseT
() {}
16
17
const
std::string
&
name
()
const
{
return
name_
; }
18
19
void
setGeometry
(
const
HGCalTriggerGeometryBase
*
const
geom
) {
geometry_
=
geom
; }
20
21
virtual
void
run
(
const
InputCollection
&
inputColl
,
OutputCollection
&
outColl
,
const
edm::EventSetup
& es) = 0;
22
23
protected
:
24
const
HGCalTriggerGeometryBase
*
geometry_
;
25
26
private
:
27
const
std::string
name_
;
28
};
29
30
#endif
HLT_2018_cff.inputColl
inputColl
Definition:
HLT_2018_cff.py:13213
HGCalTriggerGeometryBase
Definition:
HGCalTriggerGeometryBase.h:19
Handle.h
HGCalProcessorBaseT::HGCalProcessorBaseT
HGCalProcessorBaseT(const edm::ParameterSet &conf)
Definition:
HGCalProcessorBaseT.h:12
ecalCompactTrigPrim_cfi.outColl
outColl
Definition:
ecalCompactTrigPrim_cfi.py:6
HGCalProcessorBaseT::run
virtual void run(const InputCollection &inputColl, OutputCollection &outColl, const edm::EventSetup &es)=0
HGCalProcessorBaseT::name_
const std::string name_
Definition:
HGCalProcessorBaseT.h:27
HGCalTriggerGeometryBase.h
relativeConstraints.geom
geom
Definition:
relativeConstraints.py:72
HGCalProcessorBaseT::setGeometry
void setGeometry(const HGCalTriggerGeometryBase *const geom)
Definition:
HGCalProcessorBaseT.h:19
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:36
HGCalProcessorBaseT::geometry_
const HGCalTriggerGeometryBase * geometry_
Definition:
HGCalProcessorBaseT.h:24
edm::EventSetup
Definition:
EventSetup.h:57
HGCalProcessorBaseT::name
const std::string & name() const
Definition:
HGCalProcessorBaseT.h:17
std
Definition:
JetResolutionObject.h:76
HGCalProcessorBaseT::~HGCalProcessorBaseT
virtual ~HGCalProcessorBaseT()
Definition:
HGCalProcessorBaseT.h:15
SimL1EmulatorRepack_GT2_cff.InputCollection
InputCollection
Definition:
SimL1EmulatorRepack_GT2_cff.py:16
ParameterSet.h
HLTTauReferences_cfi.OutputCollection
OutputCollection
Definition:
HLTTauReferences_cfi.py:92
HGCalProcessorBaseT
Definition:
HGCalProcessorBaseT.h:10
Generated for CMSSW Reference Manual by
1.8.16