RecoTracker
TkSeedGenerator
plugins
SeedFromConsecutiveHitsCreator.h
Go to the documentation of this file.
1
#ifndef RecoTracker_TkSeedGenerator_SeedFromConsecutiveHitsCreator_H
2
#define RecoTracker_TkSeedGenerator_SeedFromConsecutiveHitsCreator_H
3
#include "
FWCore/Utilities/interface/Visibility.h
"
4
5
#include "
RecoTracker/TkSeedGenerator/interface/SeedCreator.h
"
6
#include "
RecoTracker/TkSeedingLayers/interface/SeedingHitSet.h
"
7
#include "
RecoTracker/TkSeedingLayers/interface/SeedComparitor.h
"
8
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
9
#include "
FWCore/Framework/interface/ESHandle.h
"
10
#include "
MagneticField/Engine/interface/MagneticField.h
"
11
#include "
TrackingTools/GeomPropagators/interface/Propagator.h
"
12
#include "
Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h
"
13
14
#include "
RecoTracker/TransientTrackingRecHit/interface/TkTransientTrackingRecHitBuilder.h
"
15
16
#include "
DataFormats/TrackerRecHit2D/interface/BaseTrackerRecHit.h
"
17
#include "
DataFormats/TrackingRecHit/interface/mayown_ptr.h
"
18
19
namespace
edm
{
20
class
ParameterSetDescription
;
21
}
22
class
FreeTrajectoryState
;
23
24
class
dso_hidden
SeedFromConsecutiveHitsCreator
:
public
SeedCreator
{
25
public
:
26
SeedFromConsecutiveHitsCreator
(
const
edm::ParameterSet
&
cfg
)
27
: thePropagatorLabel(
cfg
.getParameter<
std
::
string
>(
"propagator"
)),
28
theBOFFMomentum(
cfg
.getParameter<double>(
"SeedMomentumForBOFF"
)),
29
theOriginTransverseErrorMultiplier(
cfg
.getParameter<double>(
"OriginTransverseErrorMultiplier"
)),
30
theMinOneOverPtError(
cfg
.getParameter<double>(
"MinOneOverPtError"
)),
31
TTRHBuilder
(
cfg
.getParameter<
std
::
string
>(
"TTRHBuilder"
)),
32
mfName_(
cfg
.getParameter<
std
::
string
>(
"magneticField"
)),
33
forceKinematicWithRegionDirection_(
cfg
.getParameter<
bool
>(
"forceKinematicWithRegionDirection"
)) {}
34
35
//dtor
36
~
SeedFromConsecutiveHitsCreator
()
override
;
37
38
static
void
fillDescriptions
(
edm::ParameterSetDescription
&
desc
);
39
static
const
char
*
fillDescriptionsLabel
() {
return
"ConsecutiveHits"
; }
40
41
// initialize the "event dependent state"
42
void
init
(
const
TrackingRegion
&
region
,
const
edm::EventSetup
&es,
const
SeedComparitor
*
filter
)
final
;
43
44
// make job
45
// fill seedCollection with the "TrajectorySeed"
46
void
makeSeed
(
TrajectorySeedCollection
&
seedCollection
,
const
SeedingHitSet
&
hits
)
final
;
47
48
private
:
49
virtual
bool
initialKinematic(
GlobalTrajectoryParameters
&kine,
const
SeedingHitSet
&
hits
)
const
;
50
51
bool
checkHit(
const
TrajectoryStateOnSurface
&tsos,
SeedingHitSet::ConstRecHitPointer
hit
)
const
dso_hidden
;
52
53
CurvilinearTrajectoryError
initialError(
float
sin2Theta)
const
dso_hidden
;
54
55
void
buildSeed(
TrajectorySeedCollection
&
seedCollection
,
56
const
SeedingHitSet
&
hits
,
57
const
FreeTrajectoryState
&fts)
const
dso_hidden
;
58
59
SeedingHitSet::RecHitPointer
refitHit(
SeedingHitSet::ConstRecHitPointer
hit
,
60
const
TrajectoryStateOnSurface
&
state
)
const
dso_hidden
;
61
62
protected
:
63
std::string
thePropagatorLabel
;
64
float
theBOFFMomentum
;
65
float
theOriginTransverseErrorMultiplier
;
66
float
theMinOneOverPtError
;
67
68
const
TrackingRegion
*
region
=
nullptr
;
69
const
SeedComparitor
*
filter
=
nullptr
;
70
edm::ESHandle<TrackerGeometry>
tracker
;
71
edm::ESHandle<Propagator>
propagatorHandle
;
72
edm::ESHandle<MagneticField>
bfield
;
73
float
nomField
;
74
bool
isBOFF =
false
;
75
std::string
TTRHBuilder
;
76
std::string
mfName_
;
77
bool
forceKinematicWithRegionDirection_
;
78
79
TkClonerImpl
cloner
;
80
};
81
#endif
Propagator.h
SeedCreator::makeSeed
virtual void makeSeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits)=0
Visibility.h
electrons_cff.bool
bool
Definition:
electrons_cff.py:393
SeedCreator::init
virtual void init(const TrackingRegion ®ion, const edm::EventSetup &es, const SeedComparitor *filter)=0
TrackerGeometry.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
edm
HLT enums.
Definition:
AlignableModifier.h:19
SeedingHitSet::ConstRecHitPointer
BaseTrackerRecHit const * ConstRecHitPointer
Definition:
SeedingHitSet.h:10
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
SeedFromConsecutiveHitsCreator::theBOFFMomentum
float theBOFFMomentum
Definition:
SeedFromConsecutiveHitsCreator.h:64
SeedFromConsecutiveHitsCreator::fillDescriptionsLabel
static const char * fillDescriptionsLabel()
Definition:
SeedFromConsecutiveHitsCreator.h:39
SeedFromConsecutiveHitsCreator::thePropagatorLabel
std::string thePropagatorLabel
Definition:
SeedFromConsecutiveHitsCreator.h:63
SeedFromConsecutiveHitsCreator::tracker
edm::ESHandle< TrackerGeometry > tracker
Definition:
SeedFromConsecutiveHitsCreator.h:70
TkTransientTrackingRecHitBuilder.h
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:16
CurvilinearTrajectoryError
Definition:
CurvilinearTrajectoryError.h:27
BaseTrackerRecHit
Definition:
BaseTrackerRecHit.h:15
ElectronSeedTrackRefFix_cfi.seedCollection
seedCollection
Definition:
ElectronSeedTrackRefFix_cfi.py:9
SeedingHitSet.h
SeedComparitor
Definition:
SeedComparitor.h:25
fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
SeedCreator
Definition:
SeedCreator.h:15
edm::ESHandle< TrackerGeometry >
SeedFromConsecutiveHitsCreator::bfield
edm::ESHandle< MagneticField > bfield
Definition:
SeedFromConsecutiveHitsCreator.h:72
GlobalTrajectoryParameters
Definition:
GlobalTrajectoryParameters.h:15
SeedFromConsecutiveHitsCreator::cloner
TkClonerImpl cloner
Definition:
SeedFromConsecutiveHitsCreator.h:79
ALCARECOTkAlBeamHalo_cff.filter
filter
Definition:
ALCARECOTkAlBeamHalo_cff.py:27
dso_hidden
#define dso_hidden
Definition:
Visibility.h:12
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:47
HLT_FULL_cff.region
region
Definition:
HLT_FULL_cff.py:88338
SeedFromConsecutiveHitsCreator::theOriginTransverseErrorMultiplier
float theOriginTransverseErrorMultiplier
Definition:
SeedFromConsecutiveHitsCreator.h:65
SeedFromConsecutiveHitsCreator::TTRHBuilder
std::string TTRHBuilder
Definition:
SeedFromConsecutiveHitsCreator.h:75
MagneticField.h
edm::EventSetup
Definition:
EventSetup.h:57
SeedFromConsecutiveHitsCreator
Definition:
SeedFromConsecutiveHitsCreator.h:24
SeedFromConsecutiveHitsCreator::SeedFromConsecutiveHitsCreator
SeedFromConsecutiveHitsCreator(const edm::ParameterSet &cfg)
Definition:
SeedFromConsecutiveHitsCreator.h:26
SeedFromConsecutiveHitsCreator::theMinOneOverPtError
float theMinOneOverPtError
Definition:
SeedFromConsecutiveHitsCreator.h:66
looper.cfg
cfg
Definition:
looper.py:297
BaseTrackerRecHit.h
SeedComparitor.h
LaserSeedGenerator_cfi.TTRHBuilder
TTRHBuilder
Definition:
LaserSeedGenerator_cfi.py:7
submitPVResolutionJobs.desc
string desc
Definition:
submitPVResolutionJobs.py:251
std
Definition:
JetResolutionObject.h:76
TkClonerImpl
Definition:
TkClonerImpl.h:12
mayown_ptr.h
RunInfoPI::state
state
Definition:
RunInfoPayloadInspectoHelper.h:16
FreeTrajectoryState
Definition:
FreeTrajectoryState.h:27
SeedFromConsecutiveHitsCreator::forceKinematicWithRegionDirection_
bool forceKinematicWithRegionDirection_
Definition:
SeedFromConsecutiveHitsCreator.h:77
SeedFromConsecutiveHitsCreator::nomField
float nomField
Definition:
SeedFromConsecutiveHitsCreator.h:73
SeedCreator.h
ParameterSetDescription
TrackingRegion
Definition:
TrackingRegion.h:41
ParameterSet.h
SeedFromConsecutiveHitsCreator::mfName_
std::string mfName_
Definition:
SeedFromConsecutiveHitsCreator.h:76
hit
Definition:
SiStripHitEffFromCalibTree.cc:88
SeedFromConsecutiveHitsCreator::propagatorHandle
edm::ESHandle< Propagator > propagatorHandle
Definition:
SeedFromConsecutiveHitsCreator.h:71
Generated for CMSSW Reference Manual by
1.8.16