Main Page
Namespaces
Classes
Package Documentation
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
10
template
<
typename
InputCollection,
typename
OutputCollection>
class
HGCalProcessorBaseT
{
11
12
public
:
13
HGCalProcessorBaseT
(
const
edm::ParameterSet
& conf) :
14
geometry_
(
nullptr
),
15
name_
(conf.getParameter<
std
::
string
>(
"ProcessorName"
))
16
{}
17
18
virtual
~HGCalProcessorBaseT
() {}
19
20
const
std::string
&
name
()
const
{
return
name_
; }
21
22
void
setGeometry
(
const
HGCalTriggerGeometryBase
*
const
geom
) {
geometry_
=
geom
;}
23
24
virtual
void
run
(
const
InputCollection
& inputColl,
25
OutputCollection&
outColl
,
26
const
edm::EventSetup
& es) = 0;
27
28
protected
:
29
const
HGCalTriggerGeometryBase
*
geometry_
;
30
31
private
:
32
const
std::string
name_
;
33
34
};
35
36
#endif
HGCalTriggerGeometryBase
Definition:
HGCalTriggerGeometryBase.h:22
HGCalProcessorBaseT::name
const std::string & name() const
Definition:
HGCalProcessorBaseT.h:20
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:29
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
std
Definition:
JetResolutionObject.h:80
HGCalProcessorBaseT
Definition:
HGCalProcessorBaseT.h:10
HiRegionalRecoMuon_cff.InputCollection
InputCollection
Definition:
HiRegionalRecoMuon_cff.py:20
nullptr
#define nullptr
HGCalProcessorBaseT::name_
const std::string name_
Definition:
HGCalProcessorBaseT.h:32
ParameterSet.h
HGCalProcessorBaseT::~HGCalProcessorBaseT
virtual ~HGCalProcessorBaseT()
Definition:
HGCalProcessorBaseT.h:18
edm::EventSetup
Definition:
EventSetup.h:54
relativeConstraints.geom
geom
Definition:
relativeConstraints.py:72
HGCalProcessorBaseT::HGCalProcessorBaseT
HGCalProcessorBaseT(const edm::ParameterSet &conf)
Definition:
HGCalProcessorBaseT.h:13
HGCalProcessorBaseT::setGeometry
void setGeometry(const HGCalTriggerGeometryBase *const geom)
Definition:
HGCalProcessorBaseT.h:22
edm::ParameterSet
Definition:
ParameterSet.h:36
HGCalTriggerGeometryBase.h
Handle.h
Generated for CMSSW Reference Manual by
1.8.11