L1Trigger
Phase2L1ParticleFlow
interface
PUAlgoBase.h
Go to the documentation of this file.
1
#ifndef L1Trigger_Phase2L1ParticleFlow_PUAlgoBase_h
2
#define L1Trigger_Phase2L1ParticleFlow_PUAlgoBase_h
3
4
#include "
L1Trigger/Phase2L1ParticleFlow/interface/Region.h
"
5
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
6
7
namespace
l1tpf_impl
{
8
9
class
PUAlgoBase
{
10
public
:
11
PUAlgoBase
(
const
edm::ParameterSet
&);
12
virtual
~PUAlgoBase
();
13
15
enum class
VertexAlgo
{
Old
,
TP
,
External
};
16
virtual
void
doVertexing
(std::vector<Region> &rs,
17
VertexAlgo
algo
,
18
float
&vz)
const
;
// region is not const since it sets the fromPV bit of the tracks
19
20
virtual
void
runChargedPV
(
Region
&
r
,
float
z0
)
const
;
21
22
virtual
const
std::vector<std::string> &
puGlobalNames
()
const
;
23
virtual
void
doPUGlobals
(
const
std::vector<Region> &rs,
float
npu, std::vector<float> &globals)
const
= 0;
24
virtual
void
runNeutralsPU
(
Region
&
r
,
float
npu,
const
std::vector<float> &globals)
const
= 0;
25
26
protected
:
27
int
debug_
;
28
float
etaCharged_
,
vtxRes_
;
29
bool
vtxAdaptiveCut_
;
30
};
31
32
}
// namespace l1tpf_impl
33
34
#endif
l1tpf_impl::PUAlgoBase::VertexAlgo::TP
l1tpf_impl::PUAlgoBase::debug_
int debug_
Definition:
PUAlgoBase.h:27
l1tpf_impl::PUAlgoBase::VertexAlgo::Old
l1tpf_impl
Definition:
BitwisePFAlgo.h:8
l1tpf_impl::PUAlgoBase::vtxRes_
float vtxRes_
Definition:
PUAlgoBase.h:28
l1tpf_impl::PUAlgoBase::PUAlgoBase
PUAlgoBase(const edm::ParameterSet &)
Definition:
PUAlgoBase.cc:7
l1tpf_impl::PUAlgoBase::doPUGlobals
virtual void doPUGlobals(const std::vector< Region > &rs, float npu, std::vector< float > &globals) const =0
l1tpf_impl::PUAlgoBase::runNeutralsPU
virtual void runNeutralsPU(Region &r, float npu, const std::vector< float > &globals) const =0
l1tpf_impl::PUAlgoBase::VertexAlgo
VertexAlgo
global operations
Definition:
PUAlgoBase.h:15
cmsdt::algo
algo
Definition:
constants.h:164
l1tpf_impl::PUAlgoBase::~PUAlgoBase
virtual ~PUAlgoBase()
Definition:
PUAlgoBase.cc:13
HLTMuonOfflineAnalyzer_cfi.z0
z0
Definition:
HLTMuonOfflineAnalyzer_cfi.py:98
Region.h
l1tpf_impl::PUAlgoBase::vtxAdaptiveCut_
bool vtxAdaptiveCut_
Definition:
PUAlgoBase.h:29
l1tpf_impl::Region
Definition:
Region.h:8
edm::ParameterSet
Definition:
ParameterSet.h:36
l1tpf_impl::PUAlgoBase::etaCharged_
float etaCharged_
Definition:
PUAlgoBase.h:28
l1tpf_impl::PUAlgoBase::VertexAlgo::External
l1tpf_impl::PUAlgoBase::doVertexing
virtual void doVertexing(std::vector< Region > &rs, VertexAlgo algo, float &vz) const
Definition:
PUAlgoBase.cc:28
l1tpf_impl::PUAlgoBase
Definition:
PUAlgoBase.h:9
alignCSCRings.r
r
Definition:
alignCSCRings.py:93
l1tpf_impl::PUAlgoBase::runChargedPV
virtual void runChargedPV(Region &r, float z0) const
Definition:
PUAlgoBase.cc:15
l1tpf_impl::PUAlgoBase::puGlobalNames
virtual const std::vector< std::string > & puGlobalNames() const
Definition:
PUAlgoBase.cc:78
ParameterSet.h
Generated for CMSSW Reference Manual by
1.8.16