L1Trigger
L1THGCal
interface
backend
HGCalTriggerClusterIdentificationBase.h
Go to the documentation of this file.
1
#ifndef __L1Trigger_L1THGCal_HGCalTriggerClusterIdentificationBase_h__
2
#define __L1Trigger_L1THGCal_HGCalTriggerClusterIdentificationBase_h__
3
4
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
#include "
DataFormats/L1THGCal/interface/HGCalMulticluster.h
"
6
7
class
HGCalTriggerClusterIdentificationBase
{
8
public
:
9
HGCalTriggerClusterIdentificationBase
(){};
10
virtual
~HGCalTriggerClusterIdentificationBase
(){};
11
virtual
void
initialize
(
const
edm::ParameterSet
& conf) = 0;
12
virtual
float
value
(
const
l1t::HGCalMulticluster
& cluster)
const
= 0;
13
virtual
bool
decision
(
const
l1t::HGCalMulticluster
& cluster)
const
= 0;
14
};
15
16
#include "
FWCore/PluginManager/interface/PluginFactory.h
"
17
typedef
edmplugin::PluginFactory
<
HGCalTriggerClusterIdentificationBase
*()>
HGCalTriggerClusterIdentificationFactory
;
18
19
#define DEFINE_HGC_TPG_CLUSTER_ID(type, name) DEFINE_EDM_PLUGIN(HGCalTriggerClusterIdentificationFactory, type, name)
20
21
#endif
PluginFactory.h
HGCalTriggerClusterIdentificationBase
Definition:
HGCalTriggerClusterIdentificationBase.h:7
HGCalTriggerClusterIdentificationBase::value
virtual float value(const l1t::HGCalMulticluster &cluster) const =0
l1t::HGCalMulticluster
Definition:
HGCalMulticluster.h:13
HGCalMulticluster.h
HGCalTriggerClusterIdentificationBase::initialize
virtual void initialize(const edm::ParameterSet &conf)=0
HGCalTriggerClusterIdentificationBase::decision
virtual bool decision(const l1t::HGCalMulticluster &cluster) const =0
edm::ParameterSet
Definition:
ParameterSet.h:47
edmplugin::PluginFactory
Definition:
PluginFactory.h:34
HGCalTriggerClusterIdentificationBase::HGCalTriggerClusterIdentificationBase
HGCalTriggerClusterIdentificationBase()
Definition:
HGCalTriggerClusterIdentificationBase.h:9
ParameterSet.h
HGCalTriggerClusterIdentificationBase::~HGCalTriggerClusterIdentificationBase
virtual ~HGCalTriggerClusterIdentificationBase()
Definition:
HGCalTriggerClusterIdentificationBase.h:10
Generated for CMSSW Reference Manual by
1.8.16