Main Page
Namespaces
Classes
Package Documentation
src
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
HGCalTriggerGeometryBase
Definition:
HGCalTriggerGeometryBase.h:20
HGCalProcessorBaseT::name
const std::string & name() const
Definition:
HGCalProcessorBaseT.h:17
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::geometry_
const HGCalTriggerGeometryBase * geometry_
Definition:
HGCalProcessorBaseT.h:24
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
nullptr
#define nullptr
Definition:
GCC11Compatibility.h:37
std
Definition:
JetResolutionObject.h:80
HGCalProcessorBaseT
Definition:
HGCalProcessorBaseT.h:10
HiRegionalRecoMuon_cff.InputCollection
InputCollection
Definition:
HiRegionalRecoMuon_cff.py:20
HGCalProcessorBaseT::name_
const std::string name_
Definition:
HGCalProcessorBaseT.h:27
ParameterSet.h
HGCalProcessorBaseT::~HGCalProcessorBaseT
virtual ~HGCalProcessorBaseT()
Definition:
HGCalProcessorBaseT.h:15
edm::EventSetup
Definition:
EventSetup.h:57
relativeConstraints.geom
geom
Definition:
relativeConstraints.py:72
HGCalProcessorBaseT::HGCalProcessorBaseT
HGCalProcessorBaseT(const edm::ParameterSet &conf)
Definition:
HGCalProcessorBaseT.h:12
HGCalProcessorBaseT::setGeometry
void setGeometry(const HGCalTriggerGeometryBase *const geom)
Definition:
HGCalProcessorBaseT.h:19
edm::ParameterSet
Definition:
ParameterSet.h:36
HGCalTriggerGeometryBase.h
Handle.h
Generated for CMSSW Reference Manual by
1.8.11