Main Page
Namespaces
Classes
Package Documentation
RecoTracker
SpecialSeedGenerators
interface
GenericTripletGenerator.h
Go to the documentation of this file.
1
#ifndef SpecialSeedGenerators_GenericTripletGenerator_h
2
#define SpecialSeedGenerators_GenericTripletGenerator_h
3
//FWK
4
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
#include "
FWCore/Framework/interface/Event.h
"
6
#include "
FWCore/Framework/interface/EventSetup.h
"
7
#include "
FWCore/Utilities/interface/EDGetToken.h
"
8
9
#include "
RecoTracker/TkTrackingRegions/interface/OrderedHitsGenerator.h
"
10
#include "
RecoTracker/TkTrackingRegions/interface/TrackingRegion.h
"
11
#include "
RecoPixelVertexing/PixelTriplets/interface/OrderedHitTriplets.h
"
12
#include "
RecoTracker/TkSeedingLayers/interface/OrderedSeedingHits.h
"
13
#include "
TrackingTools/TransientTrackingRecHit/interface/SeedingLayerSetsHits.h
"
14
15
class
GenericTripletGenerator
:
public
OrderedHitsGenerator
{
16
public
:
17
GenericTripletGenerator
(
const
edm::ParameterSet
& conf,
edm::ConsumesCollector
& iC);
18
virtual
~GenericTripletGenerator
(){};
19
virtual
const
OrderedSeedingHits
&
run
(
const
TrackingRegion
& region,
20
const
edm::Event
&
ev
,
21
const
edm::EventSetup
& es);
22
void
clear
() {
hitTriplets
.clear();}
23
private
:
24
std::pair<bool,float>
qualityFilter
(
const
OrderedHitTriplet
& oht,
25
const
std::map<float, OrderedHitTriplet>&
map
,
26
const
SeedingLayerSetsHits::SeedingLayerSet
&
ls
)
const
;
27
edm::EDGetTokenT<SeedingLayerSetsHits>
theSeedingLayerToken
;
28
OrderedHitTriplets
hitTriplets
;
29
};
30
31
32
#endif
OrderedSeedingHits
Definition:
OrderedSeedingHits.h:7
EDGetToken.h
GenericTripletGenerator::hitTriplets
OrderedHitTriplets hitTriplets
Definition:
GenericTripletGenerator.h:28
Event.h
EventSetup.h
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:95
GenericTripletGenerator::clear
void clear()
Definition:
GenericTripletGenerator.h:22
TrackingRegion
Definition:
TrackingRegion.h:40
edm::EDGetTokenT< SeedingLayerSetsHits >
GenericTripletGenerator::theSeedingLayerToken
edm::EDGetTokenT< SeedingLayerSetsHits > theSeedingLayerToken
Definition:
GenericTripletGenerator.h:27
OrderedHitTriplet
Definition:
OrderedHitTriplet.h:12
OrderedSeedingHits.h
ParameterSet.h
SeedingLayerSetsHits.h
OrderedHitTriplets
Definition:
OrderedHitTriplets.h:9
GenericTripletGenerator::qualityFilter
std::pair< bool, float > qualityFilter(const OrderedHitTriplet &oht, const std::map< float, OrderedHitTriplet > &map, const SeedingLayerSetsHits::SeedingLayerSet &ls) const
Definition:
GenericTripletGenerator.cc:65
TrackingRegion.h
edm::EventSetup
Definition:
EventSetup.h:45
GenericTripletGenerator::~GenericTripletGenerator
virtual ~GenericTripletGenerator()
Definition:
GenericTripletGenerator.h:18
OrderedHitTriplets.h
genParticles_cff.map
map
Definition:
genParticles_cff.py:11
eostools.ls
def ls(path, rec=False)
Definition:
eostools.py:348
GenericTripletGenerator
Definition:
GenericTripletGenerator.h:15
GenericTripletGenerator::GenericTripletGenerator
GenericTripletGenerator(const edm::ParameterSet &conf, edm::ConsumesCollector &iC)
Definition:
GenericTripletGenerator.cc:12
edm::ParameterSet
Definition:
ParameterSet.h:36
SeedingLayerSetsHits::SeedingLayerSet
Definition:
SeedingLayerSetsHits.h:74
GenericTripletGenerator::run
virtual const OrderedSeedingHits & run(const TrackingRegion ®ion, const edm::Event &ev, const edm::EventSetup &es)
Definition:
GenericTripletGenerator.cc:18
OrderedHitsGenerator
Definition:
OrderedHitsGenerator.h:10
edm::Event
Definition:
Event.h:66
OrderedHitsGenerator.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
Generated for CMSSW Reference Manual by
1.8.11