Main Page
Namespaces
Classes
Package Documentation
RecoTracker
ConversionSeedGenerators
plugins
HitPairGeneratorFromLayerPairForPhotonConversion.h
Go to the documentation of this file.
1
#ifndef HitPairGeneratorFromLayerPairForPhotonConversion_h
2
#define HitPairGeneratorFromLayerPairForPhotonConversion_h
3
4
#include "
RecoTracker/TkHitPairs/interface/HitPairGenerator.h
"
5
#include "
RecoTracker/TkHitPairs/interface/LayerHitMapCache.h
"
6
#include "
FWCore/Framework/interface/EventSetup.h
"
7
8
#include "
ConversionRegion.h
"
9
10
class
DetLayer
;
11
class
TrackingRegion
;
12
13
class
dso_hidden
HitPairGeneratorFromLayerPairForPhotonConversion
{
// : public HitPairGenerator {
14
15
public
:
16
typedef
LayerHitMapCache
LayerCacheType
;
17
typedef
SeedingLayerSetsHits::SeedingLayerSet
Layers
;
18
typedef
SeedingLayerSetsHits::SeedingLayer
Layer
;
19
20
HitPairGeneratorFromLayerPairForPhotonConversion
(
unsigned
int
inner
,
21
unsigned
int
outer
,
22
LayerCacheType* layerCache,
23
unsigned
int
nSize = 30000,
24
unsigned
int
max
= 0);
25
26
// virtual ~HitPairGeneratorFromLayerPairForPhotonConversion() { }
27
28
void
hitPairs(
const
ConversionRegion
& convRegion,
29
const
TrackingRegion
& reg,
30
OrderedHitPairs
& prs,
31
const
Layers&
layers
,
32
const
edm::Event
&
ev
,
33
const
edm::EventSetup
& es);
34
35
float
getLayerRadius(
const
DetLayer
& layer);
36
float
getLayerZ(
const
DetLayer
& layer);
37
38
bool
checkBoundaries(
const
DetLayer
& layer,
const
ConversionRegion
& convRegion,
float
maxSearchR,
float
maxSearchZ);
39
bool
getPhiRange
(
float
&
Phimin
,
40
float
&
Phimax
,
41
const
DetLayer
& layer,
42
const
ConversionRegion
& convRegion,
43
const
edm::EventSetup
& es);
44
bool
getPhiRange
(
45
float
&
Phimin
,
float
&
Phimax
,
const
float
& layerR,
const
ConversionRegion
& convRegion,
const
edm::EventSetup
& es);
46
bool
checkRZCompatibilityWithSeedTrack(
const
RecHitsSortedInPhi::Hit
&
hit
,
47
const
DetLayer
& layer,
48
const
ConversionRegion
& convRegion);
49
50
private
:
51
double
getCot(
double
dz
,
double
dr
);
52
53
LayerCacheType&
theLayerCache
;
54
const
unsigned
int
theOuterLayer
;
55
const
unsigned
int
theInnerLayer
;
56
const
unsigned
int
theMaxElement
;
57
58
std::stringstream
ss
;
59
};
60
61
#endif
SurfaceOrientation::outer
Definition:
Surface.h:21
fireworks::getPhiRange
std::pair< double, double > getPhiRange(const std::vector< double > &phis, double phi)
Definition:
BuilderUtils.cc:20
HitPairGeneratorFromLayerPairForPhotonConversion::theMaxElement
const unsigned int theMaxElement
Definition:
HitPairGeneratorFromLayerPairForPhotonConversion.h:56
EventSetup.h
PVValHelper::dz
Definition:
PVValidationHelpers.h:50
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:95
ConversionRegion
Definition:
ConversionRegion.h:8
LayerHitMapCache
Definition:
LayerHitMapCache.h:14
OrderedHitPairs
Definition:
OrderedHitPairs.h:8
TrackingRegion
Definition:
TrackingRegion.h:40
HitPairGeneratorFromLayerPairForPhotonConversion::Layers
SeedingLayerSetsHits::SeedingLayerSet Layers
Definition:
HitPairGeneratorFromLayerPairForPhotonConversion.h:17
HitPairGeneratorFromLayerPairForPhotonConversion::Layer
SeedingLayerSetsHits::SeedingLayer Layer
Definition:
HitPairGeneratorFromLayerPairForPhotonConversion.h:18
HitPairGeneratorFromLayerPairForPhotonConversion::theInnerLayer
const unsigned int theInnerLayer
Definition:
HitPairGeneratorFromLayerPairForPhotonConversion.h:55
SurfaceOrientation::inner
Definition:
Surface.h:21
ConversionRegion.h
HitPairGeneratorFromLayerPairForPhotonConversion::theOuterLayer
const unsigned int theOuterLayer
Definition:
HitPairGeneratorFromLayerPairForPhotonConversion.h:54
dataAnalyzerFineBiningParameters_cff.Phimax
Phimax
Definition:
dataAnalyzerFineBiningParameters_cff.py:7
edm::EventSetup
Definition:
EventSetup.h:57
DetLayer
Definition:
DetLayer.h:21
SiStripPI::max
Definition:
SiStripPayloadInspectorHelper.h:169
HitPairGeneratorFromLayerPairForPhotonConversion::theLayerCache
LayerCacheType & theLayerCache
Definition:
HitPairGeneratorFromLayerPairForPhotonConversion.h:53
RecHitsSortedInPhi::Hit
BaseTrackerRecHit const * Hit
Definition:
RecHitsSortedInPhi.h:19
dso_hidden
#define dso_hidden
Definition:
Visibility.h:12
LayerHitMapCache.h
HitPairGeneratorFromLayerPairForPhotonConversion::LayerCacheType
LayerHitMapCache LayerCacheType
Definition:
HitPairGeneratorFromLayerPairForPhotonConversion.h:16
hit
Definition:
SiStripHitEffFromCalibTree.cc:88
HitPairGeneratorFromLayerPairForPhotonConversion
Definition:
HitPairGeneratorFromLayerPairForPhotonConversion.h:13
dataAnalyzerFineBiningParameters_cff.Phimin
Phimin
Definition:
dataAnalyzerFineBiningParameters_cff.py:8
SeedingLayerSetsHits::SeedingLayerSet
Definition:
SeedingLayerSetsHits.h:65
HitPairGenerator.h
edm::Event
Definition:
Event.h:72
flavorHistoryFilter_cfi.dr
dr
Definition:
flavorHistoryFilter_cfi.py:37
HitPairGeneratorFromLayerPairForPhotonConversion::ss
std::stringstream ss
Definition:
HitPairGeneratorFromLayerPairForPhotonConversion.h:58
hgcalTopologyTester_cfi.layers
layers
Definition:
hgcalTopologyTester_cfi.py:8
SeedingLayerSetsHits::SeedingLayer
Definition:
SeedingLayerSetsHits.h:37
Generated for CMSSW Reference Manual by
1.8.11