CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrackMerger.h
Go to the documentation of this file.
11 
12 class TrackMerger {
13  public:
14  TrackMerger(const edm::ParameterSet &iConfig) ;
15  ~TrackMerger();
16 
17  void init(const edm::EventSetup &iSetup) ;
18 
19  TrackCandidate merge(const reco::Track &inner, const reco::Track &outer) const;
20  private:
24  bool debug_;
28 
30  public:
33  private:
35  };
36  class MomentumSort {
37  public:
38  MomentumSort(const GlobalVector &dir, const TrackerGeometry *geometry) : dir_(dir), geom_(geometry) {}
39  bool operator()(const TrackingRecHit *hit1, const TrackingRecHit *hit2) const ;
40  private:
43  };
44 };
edm::ESHandle< TrackerTopology > theTrkTopo
Definition: TrackMerger.h:27
const TrackerGeometry * geom_
Definition: TrackMerger.h:42
std::string theBuilderName
Definition: TrackMerger.h:25
GlobalMomentumSort(const GlobalVector &dir)
Definition: TrackMerger.h:31
void init(const edm::EventSetup &iSetup)
Definition: TrackMerger.cc:29
TrackCandidate merge(const reco::Track &inner, const reco::Track &outer) const
Definition: TrackMerger.cc:37
bool operator()(const TransientTrackingRecHit::RecHitPointer &hit1, const TransientTrackingRecHit::RecHitPointer &hit2) const
Definition: TrackMerger.cc:168
bool operator()(const TrackingRecHit *hit1, const TrackingRecHit *hit2) const
Definition: TrackMerger.cc:159
bool useInnermostState_
Definition: TrackMerger.h:23
MomentumSort(const GlobalVector &dir, const TrackerGeometry *geometry)
Definition: TrackMerger.h:38
edm::ESHandle< TransientTrackingRecHitBuilder > theBuilder
Definition: TrackMerger.h:26
ESHandle< TrackerGeometry > geometry
dbl *** dir
Definition: mlp_gen.cc:35
TrackMerger(const edm::ParameterSet &iConfig)
Definition: TrackMerger.cc:18
edm::ESHandle< MagneticField > theMagField
Definition: TrackMerger.h:22
edm::ESHandle< TrackerGeometry > theGeometry
Definition: TrackMerger.h:21