RecoHGCal
TICL
plugins
SeedingRegionByHF.h
Go to the documentation of this file.
1
// Author: dalfonso@cern.ch
2
// Date: 02/2021
3
4
#ifndef RecoHGCal_TICL_SeedingRegionByHF_h
5
#define RecoHGCal_TICL_SeedingRegionByHF_h
6
#include <memory>
// unique_ptr
7
#include <string>
8
#include "
RecoHGCal/TICL/plugins/SeedingRegionAlgoBase.h
"
9
10
#include "
FWCore/Framework/interface/ESHandle.h
"
11
#include "
FWCore/Framework/interface/Event.h
"
12
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
13
#include "
FWCore/Framework/interface/MakerMacros.h
"
14
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
15
#include "
FWCore/ParameterSet/interface/ConfigurationDescriptions.h
"
16
#include "
FWCore/ParameterSet/interface/ParameterSetDescription.h
"
17
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
18
#include "
CommonTools/Utils/interface/StringCutObjectSelector.h
"
19
#include "
FWCore/Utilities/interface/ESGetToken.h
"
20
21
#include "
DataFormats/HcalRecHit/interface/HFRecHit.h
"
22
#include "
DataFormats/HcalRecHit/interface/HcalRecHitCollections.h
"
23
#include "
Geometry/CaloGeometry/interface/CaloGeometry.h
"
24
#include "
Geometry/CaloGeometry/interface/CaloSubdetectorGeometry.h
"
25
#include "
Geometry/Records/interface/CaloGeometryRecord.h
"
26
27
namespace
ticl
{
28
class
SeedingRegionByHF
final :
public
SeedingRegionAlgoBase
{
29
public
:
30
SeedingRegionByHF
(
const
edm::ParameterSet
& conf,
edm::ConsumesCollector
& sumes);
31
~SeedingRegionByHF
()
override
;
32
33
void
initialize
(
const
edm::EventSetup
& es)
override
;
34
35
void
makeRegions
(
const
edm::Event
&
ev
,
const
edm::EventSetup
& es, std::vector<TICLSeedingRegion>&
result
)
override
;
36
static
void
fillPSetDescription
(
edm::ParameterSetDescription
&
desc
);
37
static
edm::ParameterSetDescription
makePSetDescription
();
38
39
private
:
40
void
buildFirstLayers
();
41
42
edm::EDGetTokenT<HFRecHitCollection>
hfhits_token_
;
43
44
int
algoVerbosity_
= 0;
45
46
double
minAbsEta_
;
47
double
maxAbsEta_
;
48
double
minEt_
;
49
50
edm::ESGetToken<CaloGeometry, CaloGeometryRecord>
geo_token_
;
51
const
CaloGeometry
*
geometry_
;
52
};
53
}
// namespace ticl
54
#endif
ConfigurationDescriptions.h
ticl::SeedingRegionByHF::fillPSetDescription
static void fillPSetDescription(edm::ParameterSetDescription &desc)
Definition:
SeedingRegionByHF.cc:55
MessageLogger.h
ESHandle.h
ticl::SeedingRegionByHF::maxAbsEta_
double maxAbsEta_
Definition:
SeedingRegionByHF.h:47
ticl::SeedingRegionByHF::initialize
void initialize(const edm::EventSetup &es) override
Definition:
SeedingRegionByHF.cc:20
edm::EDGetTokenT
Definition:
EDGetToken.h:33
ticl::SeedingRegionByHF
Definition:
SeedingRegionByHF.h:28
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
ticl::SeedingRegionAlgoBase
Definition:
SeedingRegionAlgoBase.h:22
ticl::SeedingRegionByHF::SeedingRegionByHF
SeedingRegionByHF(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Definition:
SeedingRegionByHF.cc:9
ticl
Definition:
Common.h:8
ESGetToken.h
MakerMacros.h
CaloGeometry
Definition:
CaloGeometry.h:21
HFRecHit.h
ParameterSetDescription.h
CaloGeometryRecord.h
CaloSubdetectorGeometry.h
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
ticl::SeedingRegionByHF::buildFirstLayers
void buildFirstLayers()
ticl::SeedingRegionByHF::makeRegions
void makeRegions(const edm::Event &ev, const edm::EventSetup &es, std::vector< TICLSeedingRegion > &result) override
Definition:
SeedingRegionByHF.cc:22
edm::EventSetup
Definition:
EventSetup.h:58
ticl::SeedingRegionByHF::algoVerbosity_
int algoVerbosity_
Definition:
SeedingRegionByHF.h:44
edm::ESGetToken< CaloGeometry, CaloGeometryRecord >
ticl::SeedingRegionByHF::minAbsEta_
double minAbsEta_
Definition:
SeedingRegionByHF.h:46
submitPVResolutionJobs.desc
string desc
Definition:
submitPVResolutionJobs.py:251
ticl::SeedingRegionByHF::geometry_
const CaloGeometry * geometry_
Definition:
SeedingRegionByHF.h:51
StringCutObjectSelector.h
Frameworkfwd.h
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:95
CaloGeometry.h
ticl::SeedingRegionByHF::geo_token_
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geo_token_
Definition:
SeedingRegionByHF.h:50
HcalRecHitCollections.h
ticl::SeedingRegionByHF::hfhits_token_
edm::EDGetTokenT< HFRecHitCollection > hfhits_token_
Definition:
SeedingRegionByHF.h:42
SeedingRegionAlgoBase.h
mps_fire.result
result
Definition:
mps_fire.py:311
ConsumesCollector.h
ticl::SeedingRegionByHF::minEt_
double minEt_
Definition:
SeedingRegionByHF.h:48
edm::Event
Definition:
Event.h:73
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
ticl::SeedingRegionByHF::~SeedingRegionByHF
~SeedingRegionByHF() override
Definition:
SeedingRegionByHF.cc:18
ticl::SeedingRegionByHF::makePSetDescription
static edm::ParameterSetDescription makePSetDescription()
Generated for CMSSW Reference Manual by
1.8.16