CMS 3D CMS Logo

TrackMerger.h
Go to the documentation of this file.
16 
17 #include "DuplicateTrackType.h"
18 
20 public:
22  ~TrackMerger();
23 
24  void init(const edm::EventSetup &iSetup);
25 
26  TrackCandidate merge(const reco::Track &inner, const reco::Track &outer, DuplicateTrackType duplicateType) const;
27 
28 private:
32  bool debug_;
40 
41  void addSecondTrackHits(std::vector<const TrackingRecHit *> &hits, const reco::Track &outer) const;
42  void sortByHitPosition(const GlobalVector &v,
43  const std::vector<const TrackingRecHit *> &hits,
44  TrackCandidate::RecHitContainer &ownHits) const;
45 
47  public:
49  bool operator()(const TransientTrackingRecHit::RecHitPointer &hit1,
50  const TransientTrackingRecHit::RecHitPointer &hit2) const;
51 
52  private:
54  };
55  class MomentumSort {
56  public:
58  bool operator()(const TrackingRecHit *hit1, const TrackingRecHit *hit2) const;
59 
60  private:
63  };
64 };
Vector3DBase
Definition: Vector3DBase.h:8
TrackMerger::trackerTopoToken_
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > trackerTopoToken_
Definition: TrackMerger.h:39
init
int init
Definition: HydjetWrapper.h:64
TrackerGeometry.h
hfClusterShapes_cfi.hits
hits
Definition: hfClusterShapes_cfi.py:5
ESHandle.h
TrackMerger::theMagField
edm::ESHandle< MagneticField > theMagField
Definition: TrackMerger.h:30
DuplicateTrackType.h
TrackMerger::GlobalMomentumSort::GlobalMomentumSort
GlobalMomentumSort(const GlobalVector &dir)
Definition: TrackMerger.h:48
TransientRecHitRecord.h
geometry
Definition: geometry.py:1
sistrip::dir_
static const char dir_[]
Definition: ConstantsForDqm.h:17
TrackMerger::theBuilderName
std::string theBuilderName
Definition: TrackMerger.h:33
TrackMerger::builderToken_
edm::ESGetToken< TransientTrackingRecHitBuilder, TransientRecHitRecord > builderToken_
Definition: TrackMerger.h:38
TrackMerger::MomentumSort::MomentumSort
MomentumSort(const GlobalVector &dir, const TrackerGeometry *geometry)
Definition: TrackMerger.h:57
TrackMerger::MomentumSort::geom_
const TrackerGeometry * geom_
Definition: TrackMerger.h:62
TrackingRecHit::RecHitPointer
std::shared_ptr< TrackingRecHit const > RecHitPointer
Definition: TrackingRecHit.h:24
findQualityFiles.v
v
Definition: findQualityFiles.py:179
TrackMerger::MomentumSort::dir_
GlobalVector dir_
Definition: TrackMerger.h:61
TrackMerger
Definition: TrackMerger.h:19
ESGetToken.h
TrackMerger::debug_
bool debug_
Definition: TrackMerger.h:32
TrackerTopology.h
TrackerTopologyRcd.h
Track.h
SurfaceOrientation::inner
Definition: Surface.h:19
reco::Track
Definition: Track.h:27
IdealMagneticFieldRecord.h
edm::ESHandle< TrackerGeometry >
TrackMerger::useInnermostState_
bool useInnermostState_
Definition: TrackMerger.h:31
dso_hidden
#define dso_hidden
Definition: Visibility.h:12
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TrackMerger::magFieldToken_
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magFieldToken_
Definition: TrackMerger.h:37
TrackMerger::GlobalMomentumSort::dir_
GlobalVector dir_
Definition: TrackMerger.h:53
TrackerDigiGeometryRecord.h
edm::ParameterSet
Definition: ParameterSet.h:47
TrackCandidate
Definition: TrackCandidate.h:24
DuplicateTrackType
DuplicateTrackType
Definition: DuplicateTrackType.h:4
IdealGeometryRecord.h
MagneticField.h
edm::EventSetup
Definition: EventSetup.h:58
TrackMerger::geometryToken_
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > geometryToken_
Definition: TrackMerger.h:36
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord >
TrackingRecHit
Definition: TrackingRecHit.h:21
TrackMerger::MomentumSort
Definition: TrackMerger.h:55
TrackMerger::theBuilder
edm::ESHandle< TransientTrackingRecHitBuilder > theBuilder
Definition: TrackMerger.h:34
TrackMerger::theGeometry
edm::ESHandle< TrackerGeometry > theGeometry
Definition: TrackMerger.h:29
TrackMerger::theTrkTopo
edm::ESHandle< TrackerTopology > theTrkTopo
Definition: TrackMerger.h:35
TransientTrackingRecHitBuilder.h
ConsumesCollector.h
TrackMerger::GlobalMomentumSort
Definition: TrackMerger.h:46
ParameterSet.h
TrackCandidate.h
SurfaceOrientation::outer
Definition: Surface.h:19
MatrixUtil.merge
def merge(dictlist, TELL=False)
Definition: MatrixUtil.py:201
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
edm::OwnVector< TrackingRecHit >
DeadROC_duringRun.dir
dir
Definition: DeadROC_duringRun.py:23
TrackerGeometry
Definition: TrackerGeometry.h:14