RecoTracker
ConversionSeedGenerators
plugins
SeedForPhotonConversion1Leg.h
Go to the documentation of this file.
1
#ifndef SeedForPhotonConversion1Leg_H
2
#define SeedForPhotonConversion1Leg_H
3
4
#include "
RecoTracker/TkSeedingLayers/interface/SeedingHitSet.h
"
5
#include "
PrintRecoObjects.h
"
6
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
7
#include "
DataFormats/TrajectorySeed/interface/TrajectorySeedCollection.h
"
8
#include "
FWCore/Framework/interface/EventSetup.h
"
9
#include "
FWCore/Framework/interface/ESHandle.h
"
10
#include "
MagneticField/Engine/interface/MagneticField.h
"
11
#include "
FWCore/Utilities/interface/Visibility.h
"
12
13
#include "
RecoTracker/TransientTrackingRecHit/interface/TkTransientTrackingRecHitBuilder.h
"
14
15
class
FreeTrajectoryState
;
16
17
//
18
// this class need to be cleaned and optimized as those in RecoTracker/TkSeedGenerator
19
//
20
class
dso_hidden
SeedForPhotonConversion1Leg
{
21
public
:
22
static
const
int
cotTheta_Max = 99999;
23
24
SeedForPhotonConversion1Leg
(
const
edm::ParameterSet
&
cfg
)
25
: thePropagatorLabel(
cfg
.getParameter<
std
::
string
>(
"propagator"
)),
26
theBOFFMomentum(
cfg
.getParameter<double>(
"SeedMomentumForBOFF"
)),
27
TTRHBuilder
(
cfg
.getParameter<
std
::
string
>(
"TTRHBuilder"
)) {}
28
29
//dtor
30
~SeedForPhotonConversion1Leg
() {}
31
32
const
TrajectorySeed
* trajectorySeed(
TrajectorySeedCollection
&
seedCollection
,
33
const
SeedingHitSet
&
hits
,
34
const
GlobalPoint
&
vertex
,
35
const
GlobalVector
& vertexBounds,
36
float
ptmin
,
37
const
edm::EventSetup
& es,
38
float
cotTheta,
39
std::stringstream&
ss
);
40
41
protected
:
42
bool
checkHit
(
const
TrajectoryStateOnSurface
&,
43
const
SeedingHitSet::ConstRecHitPointer
&
hit
,
44
const
edm::EventSetup
& es)
const
{
45
return
true
;
46
}
47
48
GlobalTrajectoryParameters
initialKinematic(
const
SeedingHitSet
&
hits
,
49
const
GlobalPoint
& vertexPos,
50
const
edm::EventSetup
& es,
51
const
float
cotTheta)
const
;
52
53
CurvilinearTrajectoryError
initialError(
const
GlobalVector
& vertexBounds,
float
ptMin
,
float
sinTheta)
const
;
54
55
const
TrajectorySeed
* buildSeed(
TrajectorySeedCollection
&
seedCollection
,
56
const
SeedingHitSet
&
hits
,
57
const
FreeTrajectoryState
& fts,
58
const
edm::EventSetup
& es)
const
;
59
60
SeedingHitSet::RecHitPointer
refitHit(
SeedingHitSet::ConstRecHitPointer
hit
,
61
const
TrajectoryStateOnSurface
&
state
,
62
const
TkClonerImpl
& cloner)
const
;
63
64
protected
:
65
std::string
thePropagatorLabel
;
66
double
theBOFFMomentum
;
67
std::string
TTRHBuilder
;
68
69
std::stringstream*
pss
;
70
PrintRecoObjects
po
;
71
};
72
#endif
Vector3DBase
Definition:
Vector3DBase.h:8
SeedForPhotonConversion1Leg::thePropagatorLabel
std::string thePropagatorLabel
Definition:
SeedForPhotonConversion1Leg.h:65
Visibility.h
TrajectorySeedCollection
std::vector< TrajectorySeed > TrajectorySeedCollection
Definition:
TrajectorySeedCollection.h:6
hfClusterShapes_cfi.hits
hits
Definition:
hfClusterShapes_cfi.py:5
ESHandle.h
SeedingHitSet
Definition:
SeedingHitSet.h:6
SeedingHitSet::ConstRecHitPointer
BaseTrackerRecHit const * ConstRecHitPointer
Definition:
SeedingHitSet.h:10
ptMin
constexpr float ptMin
Definition:
PhotonIDValueMapProducer.cc:155
SeedForPhotonConversion1Leg::pss
std::stringstream * pss
Definition:
SeedForPhotonConversion1Leg.h:69
SeedForPhotonConversion1Leg::checkHit
bool checkHit(const TrajectoryStateOnSurface &, const SeedingHitSet::ConstRecHitPointer &hit, const edm::EventSetup &es) const
Definition:
SeedForPhotonConversion1Leg.h:42
TkTransientTrackingRecHitBuilder.h
contentValuesCheck.ss
ss
Definition:
contentValuesCheck.py:33
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:16
CurvilinearTrajectoryError
Definition:
CurvilinearTrajectoryError.h:27
SeedForPhotonConversion1Leg::TTRHBuilder
std::string TTRHBuilder
Definition:
SeedForPhotonConversion1Leg.h:67
BaseTrackerRecHit
Definition:
BaseTrackerRecHit.h:15
ElectronSeedTrackRefFix_cfi.seedCollection
seedCollection
Definition:
ElectronSeedTrackRefFix_cfi.py:9
SeedingHitSet.h
PrintRecoObjects.h
PrintRecoObjects
Definition:
PrintRecoObjects.h:20
GlobalTrajectoryParameters
Definition:
GlobalTrajectoryParameters.h:15
Point3DBase< float, GlobalTag >
SeedForPhotonConversion1Leg::~SeedForPhotonConversion1Leg
~SeedForPhotonConversion1Leg()
Definition:
SeedForPhotonConversion1Leg.h:30
dso_hidden
#define dso_hidden
Definition:
Visibility.h:12
SeedForPhotonConversion1Leg::SeedForPhotonConversion1Leg
SeedForPhotonConversion1Leg(const edm::ParameterSet &cfg)
Definition:
SeedForPhotonConversion1Leg.h:24
bphysicsOniaDQM_cfi.vertex
vertex
Definition:
bphysicsOniaDQM_cfi.py:7
edm::ParameterSet
Definition:
ParameterSet.h:47
duplicaterechits_cfi.TTRHBuilder
TTRHBuilder
Definition:
duplicaterechits_cfi.py:5
SeedForPhotonConversion1Leg::theBOFFMomentum
double theBOFFMomentum
Definition:
SeedForPhotonConversion1Leg.h:66
MagneticField.h
edm::EventSetup
Definition:
EventSetup.h:58
TrajectorySeedCollection.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
looper.cfg
cfg
Definition:
looper.py:296
SeedForPhotonConversion1Leg::po
PrintRecoObjects po
Definition:
SeedForPhotonConversion1Leg.h:70
std
Definition:
JetResolutionObject.h:76
TkClonerImpl
Definition:
TkClonerImpl.h:12
RunInfoPI::state
state
Definition:
RunInfoPayloadInspectoHelper.h:16
FreeTrajectoryState
Definition:
FreeTrajectoryState.h:27
ptmin
double ptmin
Definition:
HydjetWrapper.h:84
TrajectorySeed
Definition:
TrajectorySeed.h:18
EventSetup.h
ParameterSet.h
hit
Definition:
SiStripHitEffFromCalibTree.cc:88
SeedForPhotonConversion1Leg
Definition:
SeedForPhotonConversion1Leg.h:20
Generated for CMSSW Reference Manual by
1.8.16