CMS 3D CMS Logo

SeedFromConsecutiveHitsCreator.h
Go to the documentation of this file.
1 #ifndef RecoTracker_TkSeedGenerator_SeedFromConsecutiveHitsCreator_H
2 #define RecoTracker_TkSeedGenerator_SeedFromConsecutiveHitsCreator_H
4 
13 
15 
18 
19 namespace edm {
21 }
23 
25 public:
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
37 
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"
47 
48 private:
49  virtual bool initialKinematic(GlobalTrajectoryParameters &kine, const SeedingHitSet &hits) const;
50 
52 
53  CurvilinearTrajectoryError initialError(float sin2Theta) const dso_hidden;
54 
56  const SeedingHitSet &hits,
57  const FreeTrajectoryState &fts) const dso_hidden;
58 
61 
62 protected:
67 
68  const TrackingRegion *region = nullptr;
69  const SeedComparitor *filter = nullptr;
73  float nomField;
74  bool isBOFF = false;
78 
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 &region, 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