src
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 "
DataFormats/L1Trigger/interface/P2GTCandidate.h
"
11
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
12
#include "
FWCore/Framework/interface/ESHandle.h
"
13
#include "
FWCore/Framework/interface/Event.h
"
14
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
15
#include "
FWCore/Framework/interface/MakerMacros.h
"
16
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
17
#include "
FWCore/ParameterSet/interface/ConfigurationDescriptions.h
"
18
#include "
FWCore/ParameterSet/interface/ParameterSetDescription.h
"
19
#include "
FWCore/Utilities/interface/ESGetToken.h
"
20
#include "
RecoHGCal/TICL/plugins/SeedingRegionAlgoBase.h
"
21
22
namespace
ticl
{
23
class
SeedingRegionByL1
final :
public
SeedingRegionAlgoBase
{
24
public
:
25
SeedingRegionByL1
(
const
edm::ParameterSet
& conf,
edm::ConsumesCollector
& sumes);
26
27
void
initialize
(
const
edm::EventSetup
& es)
override
{};
28
void
makeRegions
(
const
edm::Event
&
ev
,
const
edm::EventSetup
& es, std::vector<TICLSeedingRegion>&
result
)
override
;
29
static
void
fillPSetDescription
(
edm::ParameterSetDescription
&
desc
);
30
31
private
:
32
edm::EDGetTokenT<l1t::P2GTCandidateCollection>
l1GTCandsToken_
;
33
int
algoVerbosity_
= 0;
34
double
minPt_
;
// minimum pT of L1 TkEm objects
35
double
minAbsEta_
;
// minimum |eta| of L1 TkEm objects
36
double
maxAbsEta_
;
// maximum |eta| of L1 TkEm objects
37
int
quality_
;
// hwQual
38
bool
qualityIsMask_
;
// is hwQual to be applied as a mask
39
bool
applyQuality_
;
// whether to apply quality
40
};
41
}
// namespace ticl
42
#endif
ticl::SeedingRegionByL1::maxAbsEta_
double maxAbsEta_
Definition:
SeedingRegionByL1.h:36
makeMEIFBenchmarkPlots.ev
ev
Definition:
makeMEIFBenchmarkPlots.py:55
ticl::SeedingRegionByL1
Definition:
SeedingRegionByL1.h:23
ticl::SeedingRegionAlgoBase
Definition:
SeedingRegionAlgoBase.h:22
MessageLogger.h
mps_fire.result
result
Definition:
mps_fire.py:311
Event.h
ticl::SeedingRegionByL1::fillPSetDescription
static void fillPSetDescription(edm::ParameterSetDescription &desc)
Definition:
SeedingRegionByL1.cc:69
TkEm.h
edm::EDGetTokenT< l1t::P2GTCandidateCollection >
ticl::SeedingRegionByL1::minPt_
double minPt_
Definition:
SeedingRegionByL1.h:34
Frameworkfwd.h
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
ticl::SeedingRegionByL1::quality_
int quality_
Definition:
SeedingRegionByL1.h:37
ParameterSetDescription.h
ticl::SeedingRegionByL1::minAbsEta_
double minAbsEta_
Definition:
SeedingRegionByL1.h:35
P2GTCandidate.h
submitPVResolutionJobs.desc
string desc
Definition:
submitPVResolutionJobs.py:254
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:56
ticl::SeedingRegionByL1::SeedingRegionByL1
SeedingRegionByL1(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Definition:
SeedingRegionByL1.cc:19
ticl::SeedingRegionByL1::initialize
void initialize(const edm::EventSetup &es) override
Definition:
SeedingRegionByL1.h:27
ticl::SeedingRegionByL1::makeRegions
void makeRegions(const edm::Event &ev, const edm::EventSetup &es, std::vector< TICLSeedingRegion > &result) override
Definition:
SeedingRegionByL1.cc:30
ticl::SeedingRegionByL1::qualityIsMask_
bool qualityIsMask_
Definition:
SeedingRegionByL1.h:38
ticl::SeedingRegionByL1::algoVerbosity_
int algoVerbosity_
Definition:
SeedingRegionByL1.h:33
SeedingRegionAlgoBase.h
ticl
Definition:
Common.h:10
edm::ParameterSet
Definition:
ParameterSet.h:48
ConfigurationDescriptions.h
ticl::SeedingRegionByL1::applyQuality_
bool applyQuality_
Definition:
SeedingRegionByL1.h:39
edm::Event
Definition:
Event.h:73
ticl::SeedingRegionByL1::l1GTCandsToken_
edm::EDGetTokenT< l1t::P2GTCandidateCollection > l1GTCandsToken_
Definition:
SeedingRegionByL1.h:32
ConsumesCollector.h
MakerMacros.h
ESGetToken.h
TkEmFwd.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.14