src
RecoHGCal
TICL
interface
TracksterInferenceAlgoBase.h
Go to the documentation of this file.
1
// Author: Felice Pantaleo - felice.pantaleo@cern.ch
2
// Date: 07/2024
3
4
#ifndef RecoHGCal_TICL_TracksterInferenceAlgo_H__
5
#define RecoHGCal_TICL_TracksterInferenceAlgo_H__
6
7
#include <vector>
8
#include "
DataFormats/HGCalReco/interface/Trackster.h
"
9
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
10
#include "
FWCore/ParameterSet/interface/ParameterSetDescription.h
"
11
#include "
FWCore/Framework/interface/Event.h
"
12
#include "
FWCore/Framework/interface/EventSetup.h
"
13
14
#include "
DataFormats/Candidate/interface/Candidate.h
"
15
#include "
DataFormats/VertexReco/interface/Vertex.h
"
16
#include "
DataFormats/CaloRecHit/interface/CaloCluster.h
"
17
#include "
DataFormats/HGCalReco/interface/TICLCandidate.h
"
18
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
19
#include "
PhysicsTools/ONNXRuntime/interface/ONNXRuntime.h
"
20
#include "
FWCore/PluginManager/interface/PluginFactory.h
"
21
22
namespace
ticl
{
23
class
TracksterInferenceAlgoBase
{
24
public
:
25
explicit
TracksterInferenceAlgoBase
(
const
edm::ParameterSet
& conf)
26
:
algo_verbosity_
(conf.getParameter<
int
>(
"algo_verbosity"
)) {}
27
virtual
~TracksterInferenceAlgoBase
() {}
28
29
virtual
void
inputData
(
const
std::vector<reco::CaloCluster>&
layerClusters
, std::vector<Trackster>&
tracksters
) = 0;
30
virtual
void
runInference
(std::vector<Trackster>&
tracksters
) = 0;
31
static
void
fillPSetDescription
(
edm::ParameterSetDescription
&
desc
) {
desc
.add<
int
>(
"algo_verbosity"
, 0); };
32
33
protected
:
34
int
algo_verbosity_
;
35
};
36
}
// namespace ticl
37
38
#endif
ticl::TracksterInferenceAlgoBase::algo_verbosity_
int algo_verbosity_
Definition:
TracksterInferenceAlgoBase.h:31
Vertex.h
ticl::TracksterInferenceAlgoBase::TracksterInferenceAlgoBase
TracksterInferenceAlgoBase(const edm::ParameterSet &conf)
Definition:
TracksterInferenceAlgoBase.h:25
ticl::TracksterInferenceAlgoBase::inputData
virtual void inputData(const std::vector< reco::CaloCluster > &layerClusters, std::vector< Trackster > &tracksters)=0
Event.h
EventSetup.h
TICLCandidate.h
hltEgammaHGCALIDVarsL1Seeded_cfi.layerClusters
layerClusters
Definition:
hltEgammaHGCALIDVarsL1Seeded_cfi.py:5
ticl::TracksterInferenceAlgoBase
Definition:
TracksterInferenceAlgoBase.h:23
HitToTracksterAssociation_cfi.tracksters
tracksters
Definition:
HitToTracksterAssociation_cfi.py:5
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
ONNXRuntime.h
ParameterSet.h
Candidate.h
createfilelist.int
int
Definition:
createfilelist.py:10
ParameterSetDescription.h
CaloCluster.h
submitPVResolutionJobs.desc
string desc
Definition:
submitPVResolutionJobs.py:263
ticl::TracksterInferenceAlgoBase::~TracksterInferenceAlgoBase
virtual ~TracksterInferenceAlgoBase()
Definition:
TracksterInferenceAlgoBase.h:27
PluginFactory.h
ticl::TracksterInferenceAlgoBase::fillPSetDescription
static void fillPSetDescription(edm::ParameterSetDescription &desc)
Definition:
TracksterInferenceAlgoBase.h:31
ticl
Definition:
Common.h:10
ticl::TracksterInferenceAlgoBase::runInference
virtual void runInference(std::vector< Trackster > &tracksters)=0
edm::ParameterSet
Definition:
ParameterSet.h:48
ConsumesCollector.h
Trackster.h
Generated for CMSSW Reference Manual by
1.8.14