RecoHGCal
TICL
plugins
SeedingRegionGlobal.cc
Go to the documentation of this file.
1
// Author: Arabella Martelli, Felice Pantaleo, Marco Rovere
2
// arabella.martelli@cern.ch, felice.pantaleo@cern.ch, marco.rovere@cern.ch
3
// Date: 06/2019
4
#include <algorithm>
5
#include <set>
6
#include <vector>
7
8
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
9
#include "
SeedingRegionGlobal.h
"
10
#include "
DataFormats/TrackReco/interface/Track.h
"
11
#include "
TrackingTools/TrajectoryState/interface/TrajectoryStateTransform.h
"
12
13
using namespace
ticl
;
14
15
SeedingRegionGlobal::SeedingRegionGlobal
(
const
edm::ParameterSet
&conf,
edm::ConsumesCollector
&sumes)
16
:
SeedingRegionAlgoBase
(conf, sumes) {}
17
18
SeedingRegionGlobal::~SeedingRegionGlobal
(){};
19
20
void
SeedingRegionGlobal::makeRegions
(
const
edm::Event
&
ev
,
21
const
edm::EventSetup
&es,
22
std::vector<TICLSeedingRegion> &
result
) {
23
// for unseeded iterations create 2 global seeding regions
24
// one for each endcap
25
for
(
int
i
= 0;
i
< 2; ++
i
) {
26
result
.emplace_back(
GlobalPoint
(0., 0., 0.),
GlobalVector
(0., 0., 0.),
i
, -1,
edm::ProductID
());
27
}
28
}
mps_fire.i
i
Definition:
mps_fire.py:428
MessageLogger.h
ticl::SeedingRegionGlobal::~SeedingRegionGlobal
~SeedingRegionGlobal() override
Definition:
SeedingRegionGlobal.cc:18
ticl::SeedingRegionGlobal::makeRegions
void makeRegions(const edm::Event &ev, const edm::EventSetup &es, std::vector< TICLSeedingRegion > &result) override
Definition:
SeedingRegionGlobal.cc:20
ticl::SeedingRegionAlgoBase
Definition:
SeedingRegionAlgoBase.h:21
GlobalVector
Global3DVector GlobalVector
Definition:
GlobalVector.h:10
ticl
Definition:
Common.h:8
Track.h
GlobalPoint
Global3DPoint GlobalPoint
Definition:
GlobalPoint.h:10
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::EventSetup
Definition:
EventSetup.h:57
SeedingRegionGlobal.h
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:95
TrajectoryStateTransform.h
mps_fire.result
result
Definition:
mps_fire.py:311
edm::Event
Definition:
Event.h:73
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
edm::ProductID
Definition:
ProductID.h:27
ticl::SeedingRegionGlobal::SeedingRegionGlobal
SeedingRegionGlobal(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Definition:
SeedingRegionGlobal.cc:15
Generated for CMSSW Reference Manual by
1.8.16