RecoTracker
ConversionSeedGenerators
plugins
CombinedHitQuadrupletGeneratorForPhotonConversion.h
Go to the documentation of this file.
1
#ifndef CombinedHitQuadrupletGeneratorForPhotonConversion_H
2
#define CombinedHitQuadrupletGeneratorForPhotonConversion_H
3
4
#include <vector>
5
#include <memory>
6
#include "
RecoTracker/TkHitPairs/interface/OrderedHitPairs.h
"
7
#include "
RecoTracker/TkHitPairs/interface/LayerHitMapCache.h
"
8
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
9
#include "
FWCore/Utilities/interface/EDGetToken.h
"
10
11
class
TrackingRegion
;
12
class
OrderedHitPairs
;
13
class
HitQuadrupletGeneratorFromLayerPairForPhotonConversion
;
14
class
SeedingLayerSetsHits
;
15
namespace
edm
{
16
class
Event
;
17
class
EventSetup
;
18
class
ParameterSet
;
19
class
ConsumesCollector;
20
}
// namespace edm
21
22
#include "
ConversionRegion.h
"
23
28
class
CombinedHitQuadrupletGeneratorForPhotonConversion
{
29
public
:
30
typedef
LayerHitMapCache
LayerCacheType
;
31
32
public
:
33
CombinedHitQuadrupletGeneratorForPhotonConversion
(
const
edm::ParameterSet
&
cfg
,
edm::ConsumesCollector
& iC);
34
CombinedHitQuadrupletGeneratorForPhotonConversion
(
const
CombinedHitQuadrupletGeneratorForPhotonConversion
& cb) =
35
delete
;
36
~CombinedHitQuadrupletGeneratorForPhotonConversion
();
37
38
void
hitPairs
(
const
TrackingRegion
&,
OrderedHitPairs
&,
const
edm::Event
&,
const
edm::EventSetup
&);
39
40
const
OrderedHitPairs
&
run
(
const
TrackingRegion
&
region
,
const
edm::Event
&
ev
,
const
edm::EventSetup
& es);
41
42
void
clearLayerCache
() {
theLayerCache
.
clear
(); }
43
44
/*------------------------*/
45
private
:
46
edm::EDGetTokenT<SeedingLayerSetsHits>
theSeedingLayerToken
;
47
const
unsigned
int
theMaxElement
;
48
LayerCacheType
theLayerCache
;
49
50
std::unique_ptr<HitQuadrupletGeneratorFromLayerPairForPhotonConversion>
theGenerator
;
51
52
OrderedHitPairs
thePairs
;
53
};
54
#endif
CombinedHitQuadrupletGeneratorForPhotonConversion::theGenerator
std::unique_ptr< HitQuadrupletGeneratorFromLayerPairForPhotonConversion > theGenerator
Definition:
CombinedHitQuadrupletGeneratorForPhotonConversion.h:50
ConversionRegion.h
CombinedHitQuadrupletGeneratorForPhotonConversion::theSeedingLayerToken
edm::EDGetTokenT< SeedingLayerSetsHits > theSeedingLayerToken
Definition:
CombinedHitQuadrupletGeneratorForPhotonConversion.h:46
OrderedHitPairs
Definition:
OrderedHitPairs.h:8
CombinedHitQuadrupletGeneratorForPhotonConversion::theLayerCache
LayerCacheType theLayerCache
Definition:
CombinedHitQuadrupletGeneratorForPhotonConversion.h:48
CombinedHitQuadrupletGeneratorForPhotonConversion::hitPairs
void hitPairs(const TrackingRegion &, OrderedHitPairs &, const edm::Event &, const edm::EventSetup &)
Definition:
CombinedHitQuadrupletGeneratorForPhotonConversion.cc:25
CombinedHitQuadrupletGeneratorForPhotonConversion::CombinedHitQuadrupletGeneratorForPhotonConversion
CombinedHitQuadrupletGeneratorForPhotonConversion(const edm::ParameterSet &cfg, edm::ConsumesCollector &iC)
Definition:
CombinedHitQuadrupletGeneratorForPhotonConversion.cc:7
CombinedHitQuadrupletGeneratorForPhotonConversion::thePairs
OrderedHitPairs thePairs
Definition:
CombinedHitQuadrupletGeneratorForPhotonConversion.h:52
edm::EDGetTokenT< SeedingLayerSetsHits >
edm
HLT enums.
Definition:
AlignableModifier.h:19
SeedingLayerSetsHits
Definition:
SeedingLayerSetsHits.h:18
CombinedHitQuadrupletGeneratorForPhotonConversion::theMaxElement
const unsigned int theMaxElement
Definition:
CombinedHitQuadrupletGeneratorForPhotonConversion.h:47
LayerHitMapCache.h
CombinedHitQuadrupletGeneratorForPhotonConversion::run
const OrderedHitPairs & run(const TrackingRegion ®ion, const edm::Event &ev, const edm::EventSetup &es)
Definition:
CombinedHitQuadrupletGeneratorForPhotonConversion.cc:17
LayerHitMapCache
Definition:
LayerHitMapCache.h:14
CombinedHitQuadrupletGeneratorForPhotonConversion
Definition:
CombinedHitQuadrupletGeneratorForPhotonConversion.h:28
CombinedHitQuadrupletGeneratorForPhotonConversion::LayerCacheType
LayerHitMapCache LayerCacheType
Definition:
CombinedHitQuadrupletGeneratorForPhotonConversion.h:30
Event
EDGetToken.h
OrderedHitPairs.h
edm::ParameterSet
Definition:
ParameterSet.h:47
ParameterSet
Definition:
Functions.h:16
HLT_FULL_cff.region
region
Definition:
HLT_FULL_cff.py:88286
edm::EventSetup
Definition:
EventSetup.h:58
looper.cfg
cfg
Definition:
looper.py:296
CombinedHitQuadrupletGeneratorForPhotonConversion::clearLayerCache
void clearLayerCache()
Definition:
CombinedHitQuadrupletGeneratorForPhotonConversion.h:42
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:97
LayerHitMapCache::clear
void clear()
Definition:
LayerHitMapCache.h:69
TrackingRegion
Definition:
TrackingRegion.h:41
HitQuadrupletGeneratorFromLayerPairForPhotonConversion
Definition:
HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h:13
EventSetup
ParameterSet.h
edm::Event
Definition:
Event.h:73
CombinedHitQuadrupletGeneratorForPhotonConversion::~CombinedHitQuadrupletGeneratorForPhotonConversion
~CombinedHitQuadrupletGeneratorForPhotonConversion()
Definition:
CombinedHitQuadrupletGeneratorForPhotonConversion.cc:15
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.16