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
eventSetup
(
const
edm::EventSetup
& es){};
22
23
virtual
void
run
(
const
InputCollection
&
inputColl
,
OutputCollection
&
outColl
,
const
edm::EventSetup
& es) = 0;
24
25
protected
:
26
const
HGCalTriggerGeometryBase
*
geometry_
;
27
28
private
:
29
const
std::string
name_
;
30
};
31
32
#endif
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:29
HGCalProcessorBaseT::eventSetup
virtual void eventSetup(const edm::EventSetup &es)
Definition:
HGCalProcessorBaseT.h:21
HGCalTriggerGeometryBase.h
relativeConstraints.geom
geom
Definition:
relativeConstraints.py:72
HGCalProcessorBaseT::setGeometry
void setGeometry(const HGCalTriggerGeometryBase *const geom)
Definition:
HGCalProcessorBaseT.h:19
HLT_FULL_cff.inputColl
inputColl
Definition:
HLT_FULL_cff.py:14595
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:47
HGCalProcessorBaseT::geometry_
const HGCalTriggerGeometryBase * geometry_
Definition:
HGCalProcessorBaseT.h:26
edm::EventSetup
Definition:
EventSetup.h:58
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