RecoHGCal
TICL
plugins
SeedingRegionByTracks.h
Go to the documentation of this file.
1
// Author: Felice Pantaleo,Marco Rovere - felice.pantaleo@cern.ch, marco.rovere@cern.ch
2
// Date: 09/2018
3
4
#ifndef RecoHGCal_TICL_SeedingRegionByTracks_h
5
#define RecoHGCal_TICL_SeedingRegionByTracks_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 "
DataFormats/TrackReco/interface/TrackFwd.h
"
18
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
19
#include "
TrackingTools/GeomPropagators/interface/Propagator.h
"
20
#include "
MagneticField/Engine/interface/MagneticField.h
"
21
#include "
Geometry/HGCalCommonData/interface/HGCalDDDConstants.h
"
22
#include "
TrackingTools/Records/interface/TrackingComponentsRecord.h
"
23
#include "
Geometry/CommonDetUnit/interface/GeomDet.h
"
24
#include "
CommonTools/Utils/interface/StringCutObjectSelector.h
"
25
26
class
HGCGraph
;
27
28
namespace
ticl
{
29
class
SeedingRegionByTracks
final :
public
SeedingRegionAlgoBase
{
30
public
:
31
SeedingRegionByTracks
(
const
edm::ParameterSet
& conf,
edm::ConsumesCollector
& sumes);
32
~SeedingRegionByTracks
()
override
;
33
34
void
initialize
(
const
edm::EventSetup
& es)
override
;
35
36
void
makeRegions
(
const
edm::Event
&
ev
,
const
edm::EventSetup
& es, std::vector<TICLSeedingRegion>&
result
)
override
;
37
38
private
:
39
void
buildFirstLayers
();
40
41
edm::EDGetTokenT<reco::TrackCollection>
tracks_token_
;
42
std::once_flag
initializeGeometry_
;
43
const
HGCalDDDConstants
*
hgcons_
;
44
const
StringCutObjectSelector<reco::Track>
cutTk_
;
45
inline
static
const
std::string
detectorName_
=
"HGCalEESensitive"
;
46
edm::ESHandle<Propagator>
propagator_
;
47
const
std::string
propName_
;
48
edm::ESHandle<MagneticField>
bfield_
;
49
std::unique_ptr<GeomDet>
firstDisk_
[2];
50
};
51
}
// namespace ticl
52
#endif
ConfigurationDescriptions.h
Propagator.h
ticl::SeedingRegionByTracks::makeRegions
void makeRegions(const edm::Event &ev, const edm::EventSetup &es, std::vector< TICLSeedingRegion > &result) override
Definition:
SeedingRegionByTracks.cc:35
MessageLogger.h
ESHandle.h
ticl::SeedingRegionByTracks::buildFirstLayers
void buildFirstLayers()
Definition:
SeedingRegionByTracks.cc:60
edm::EDGetTokenT< reco::TrackCollection >
ticl::SeedingRegionByTracks::propName_
const std::string propName_
Definition:
SeedingRegionByTracks.h:47
ticl::SeedingRegionAlgoBase
Definition:
SeedingRegionAlgoBase.h:21
ticl::SeedingRegionByTracks::bfield_
edm::ESHandle< MagneticField > bfield_
Definition:
SeedingRegionByTracks.h:48
HGCGraph
Definition:
HGCGraph.h:14
ticl
Definition:
Common.h:8
HGCalDDDConstants
Definition:
HGCalDDDConstants.h:25
MakerMacros.h
TrackFwd.h
ticl::SeedingRegionByTracks::hgcons_
const HGCalDDDConstants * hgcons_
Definition:
SeedingRegionByTracks.h:43
edm::ESHandle< Propagator >
ParameterSetDescription.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
ticl::SeedingRegionByTracks::SeedingRegionByTracks
SeedingRegionByTracks(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Definition:
SeedingRegionByTracks.cc:16
ticl::SeedingRegionByTracks
Definition:
SeedingRegionByTracks.h:29
MagneticField.h
edm::EventSetup
Definition:
EventSetup.h:57
ticl::SeedingRegionByTracks::tracks_token_
edm::EDGetTokenT< reco::TrackCollection > tracks_token_
Definition:
SeedingRegionByTracks.h:41
ticl::SeedingRegionByTracks::propagator_
edm::ESHandle< Propagator > propagator_
Definition:
SeedingRegionByTracks.h:46
ticl::SeedingRegionByTracks::firstDisk_
std::unique_ptr< GeomDet > firstDisk_[2]
Definition:
SeedingRegionByTracks.h:49
GeomDet.h
StringCutObjectSelector.h
ticl::SeedingRegionByTracks::cutTk_
const StringCutObjectSelector< reco::Track > cutTk_
Definition:
SeedingRegionByTracks.h:44
Frameworkfwd.h
StringCutObjectSelector< reco::Track >
TrackingComponentsRecord.h
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:95
SeedingRegionAlgoBase.h
mps_fire.result
result
Definition:
mps_fire.py:303
ConsumesCollector.h
HGCalDDDConstants.h
ticl::SeedingRegionByTracks::detectorName_
static const std::string detectorName_
Definition:
SeedingRegionByTracks.h:45
edm::Event
Definition:
Event.h:73
ticl::SeedingRegionByTracks::initialize
void initialize(const edm::EventSetup &es) override
Definition:
SeedingRegionByTracks.cc:24
ticl::SeedingRegionByTracks::~SeedingRegionByTracks
~SeedingRegionByTracks() override
Definition:
SeedingRegionByTracks.cc:22
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
ticl::SeedingRegionByTracks::initializeGeometry_
std::once_flag initializeGeometry_
Definition:
SeedingRegionByTracks.h:42
Generated for CMSSW Reference Manual by
1.8.16