src
L1Trigger
L1THGCal
interface
HGCalAlgoWrapperBaseT.h
Go to the documentation of this file.
1
#ifndef __L1Trigger_L1THGCal_HGCalAlgoWrapperBaseT_h__
2
#define __L1Trigger_L1THGCal_HGCalAlgoWrapperBaseT_h__
3
4
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
#include <string>
6
7
template
<
typename
InputCollection,
typename
OutputCollection,
typename
Tparam>
8
class
HGCalAlgoWrapperBaseT
{
9
public
:
10
HGCalAlgoWrapperBaseT
(
const
edm::ParameterSet
& conf) :
name_
(conf.getParameter<
std
::
string
>(
"AlgoName"
)) {}
11
12
virtual
~HGCalAlgoWrapperBaseT
() {}
13
14
virtual
void
configure
(
const
Tparam&
parameters
) = 0;
15
virtual
void
process
(
const
InputCollection
&
inputCollection
,
OutputCollection
& outputCollection)
const
= 0;
16
17
const
std::string
&
name
()
const
{
return
name_
; }
18
19
private
:
20
const
std::string
name_
;
21
};
22
23
#endif
HGCalAlgoWrapperBaseT
Definition:
HGCalAlgoWrapperBaseT.h:8
HGCalAlgoWrapperBaseT::configure
virtual void configure(const Tparam ¶meters)=0
std
Definition:
JetResolutionObject.h:76
BeamSpotPI::parameters
parameters
Definition:
BeamSpotPayloadInspectorHelper.h:33
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HGCalAlgoWrapperBaseT::HGCalAlgoWrapperBaseT
HGCalAlgoWrapperBaseT(const edm::ParameterSet &conf)
Definition:
HGCalAlgoWrapperBaseT.h:10
HGCalAlgoWrapperBaseT::~HGCalAlgoWrapperBaseT
virtual ~HGCalAlgoWrapperBaseT()
Definition:
HGCalAlgoWrapperBaseT.h:12
ParameterSet.h
HGCalAlgoWrapperBaseT::process
virtual void process(const InputCollection &inputCollection, OutputCollection &outputCollection) const =0
HGCalAlgoWrapperBaseT::name_
const std::string name_
Definition:
HGCalAlgoWrapperBaseT.h:20
HLT_2023v12_cff.inputCollection
inputCollection
Definition:
HLT_2023v12_cff.py:9592
SimL1EmulatorRepack_Full_cff.InputCollection
InputCollection
Definition:
SimL1EmulatorRepack_Full_cff.py:101
HGCalAlgoWrapperBaseT::name
const std::string & name() const
Definition:
HGCalAlgoWrapperBaseT.h:17
edm::ParameterSet
Definition:
ParameterSet.h:48
HLTTauReferences_cfi.OutputCollection
OutputCollection
Definition:
HLTTauReferences_cfi.py:92
Generated for CMSSW Reference Manual by
1.8.14