RecoHGCal
TICL
plugins
SeedingRegionByL1.h
Go to the documentation of this file.
1
// Author: Swagata Mukherjee
2
3
#ifndef RecoHGCal_TICL_SeedingRegionByL1_h
4
#define RecoHGCal_TICL_SeedingRegionByL1_h
5
#include <memory>
6
#include <string>
7
8
#include "
DataFormats/L1TCorrelator/interface/TkEm.h
"
9
#include "
DataFormats/L1TCorrelator/interface/TkEmFwd.h
"
10
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
11
#include "
FWCore/Framework/interface/ESHandle.h
"
12
#include "
FWCore/Framework/interface/Event.h
"
13
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
14
#include "
FWCore/Framework/interface/MakerMacros.h
"
15
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
16
#include "
FWCore/ParameterSet/interface/ConfigurationDescriptions.h
"
17
#include "
FWCore/ParameterSet/interface/ParameterSetDescription.h
"
18
#include "
FWCore/Utilities/interface/ESGetToken.h
"
19
#include "
RecoHGCal/TICL/plugins/SeedingRegionAlgoBase.h
"
20
21
namespace
ticl
{
22
class
SeedingRegionByL1
final :
public
SeedingRegionAlgoBase
{
23
public
:
24
SeedingRegionByL1
(
const
edm::ParameterSet
& conf,
edm::ConsumesCollector
& sumes);
25
26
void
initialize
(
const
edm::EventSetup
& es)
override
{};
27
void
makeRegions
(
const
edm::Event
&
ev
,
const
edm::EventSetup
& es, std::vector<TICLSeedingRegion>&
result
)
override
;
28
static
void
fillPSetDescription
(
edm::ParameterSetDescription
& desc);
29
30
private
:
31
edm::EDGetTokenT<std::vector<l1t::TkEm>
>
l1TkEmsToken_
;
32
int
algoVerbosity_
= 0;
33
double
minPt_
;
// minimum pT of L1 TkEm objects
34
double
minAbsEta_
;
// minimum |eta| of L1 TkEm objects
35
double
maxAbsEta_
;
// maximum |eta| of L1 TkEm objects
36
std::vector<double>
endcapScalings_
;
// pT scaling factors for endcap
37
int
quality_
;
// hwQual
38
39
double
tkEmOfflineEt
(
double
et
)
const
;
40
};
41
}
// namespace ticl
42
#endif
ConfigurationDescriptions.h
TkEmFwd.h
MessageLogger.h
ESHandle.h
ticl::SeedingRegionByL1::fillPSetDescription
static void fillPSetDescription(edm::ParameterSetDescription &desc)
Definition:
SeedingRegionByL1.cc:60
edm::EDGetTokenT
Definition:
EDGetToken.h:33
ticl::SeedingRegionByL1::minAbsEta_
double minAbsEta_
Definition:
SeedingRegionByL1.h:34
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
ticl::SeedingRegionAlgoBase
Definition:
SeedingRegionAlgoBase.h:22
ticl::SeedingRegionByL1::quality_
int quality_
Definition:
SeedingRegionByL1.h:37
ticl
Definition:
Common.h:8
ESGetToken.h
ticl::SeedingRegionByL1::maxAbsEta_
double maxAbsEta_
Definition:
SeedingRegionByL1.h:35
ticl::SeedingRegionByL1::makeRegions
void makeRegions(const edm::Event &ev, const edm::EventSetup &es, std::vector< TICLSeedingRegion > &result) override
Definition:
SeedingRegionByL1.cc:29
MakerMacros.h
ticl::SeedingRegionByL1::algoVerbosity_
int algoVerbosity_
Definition:
SeedingRegionByL1.h:32
ParameterSetDescription.h
edm::ParameterSet
Definition:
ParameterSet.h:36
ticl::SeedingRegionByL1::initialize
void initialize(const edm::EventSetup &es) override
Definition:
SeedingRegionByL1.h:26
Event.h
ticl::SeedingRegionByL1::endcapScalings_
std::vector< double > endcapScalings_
Definition:
SeedingRegionByL1.h:36
TkEm.h
EgHLTOffHistBins_cfi.et
et
Definition:
EgHLTOffHistBins_cfi.py:8
edm::EventSetup
Definition:
EventSetup.h:57
ticl::SeedingRegionByL1::SeedingRegionByL1
SeedingRegionByL1(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Definition:
SeedingRegionByL1.cc:19
ticl::SeedingRegionByL1::l1TkEmsToken_
edm::EDGetTokenT< std::vector< l1t::TkEm > > l1TkEmsToken_
Definition:
SeedingRegionByL1.h:31
ticl::SeedingRegionByL1
Definition:
SeedingRegionByL1.h:22
Frameworkfwd.h
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:95
ticl::SeedingRegionByL1::minPt_
double minPt_
Definition:
SeedingRegionByL1.h:33
ticl::SeedingRegionByL1::tkEmOfflineEt
double tkEmOfflineEt(double et) const
Definition:
SeedingRegionByL1.cc:56
SeedingRegionAlgoBase.h
mps_fire.result
result
Definition:
mps_fire.py:303
ConsumesCollector.h
edm::Event
Definition:
Event.h:73
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
Generated for CMSSW Reference Manual by
1.8.16