CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DynamicTruncation.h
Go to the documentation of this file.
1 #ifndef RecoMuon_GlobalTrackingTools_DynamicTruncation_h
2 #define RecoMuon_GlobalTrackingTools_DynamicTruncation_h
3 
20 #include <memory>
45 
46 
48 
49  public:
50 
53 
55 
57 
58  // Just one thr for DT and one for CSC
59  void setThr(int, int);
60 
61  // Return the vector with the tracker plus the selected muon hits
63 
64  // Return the vector with the estimator values
65  std::vector<double> getEstimators() {return estimators;};
66 
67  private:
68 
69  void compatibleDets(TrajectoryStateOnSurface&, std::map<int, std::vector<DetId> >&);
70  void filteringAlgo(std::map<int, std::vector<DetId> >&);
71  double getBest(std::vector<CSCSegment>&, TrajectoryStateOnSurface&, CSCSegment&);
72  double getBest(std::vector<DTRecSegment4D>&, TrajectoryStateOnSurface&, DTRecSegment4D&);
77 
79 
80  int DTThr;
81  int CSCThr;
82 
94  std::vector<double> estimators;
96 
97  std::map<DTChamberId, GlobalError> dtApeMap;
98  std::map<CSCDetId, GlobalError> cscApeMap;
99 };
100 
101 #endif
102 
103 
DirectMuonNavigation * navigation
void compatibleDets(TrajectoryStateOnSurface &, std::map< int, std::vector< DetId > > &)
TrajectoryStateOnSurface currentState
edm::ESHandle< Propagator > propagatorCompatibleDet
std::vector< double > estimators
void filteringAlgo(std::map< int, std::vector< DetId > > &)
edm::ESHandle< MuonDetLayerGeometry > navMuon
ConstRecHitContainer result
const edm::EventSetup * theSetup
TransientTrackingRecHit::ConstRecHitContainer ConstRecHitContainer
double getBest(std::vector< CSCSegment > &, TrajectoryStateOnSurface &, CSCSegment &)
edm::ESHandle< TrajectoryStateUpdator > updatorHandle
TransientTrackingRecHit::ConstRecHitContainer filter(const Trajectory &)
const edm::Event * theEvent
edm::ESHandle< TransientTrackingRecHitBuilder > theMuonRecHitBuilder
std::vector< ConstRecHitPointer > ConstRecHitContainer
std::map< DTChamberId, GlobalError > dtApeMap
DynamicTruncation(const edm::Event &, const MuonServiceProxy &)
void update(TrajectoryStateOnSurface &, ConstRecHitPointer)
ConstRecHitContainer sort(ConstRecHitContainer &)
TransientTrackingRecHit::ConstRecHitPointer ConstRecHitPointer
edm::ESHandle< Propagator > propagator
void setThr(int, int)
std::vector< double > getEstimators()
void updateWithDThits(ConstRecHitContainer &)
TransientTrackingRecHit::ConstRecHitContainer ConstRecHitContainer
void updateWithCSChits(ConstRecHitContainer &)
edm::ESHandle< MagneticField > magfield
std::map< CSCDetId, GlobalError > cscApeMap
edm::ESHandle< GlobalTrackingGeometry > theG
edm::ESHandle< CSCGeometry > cscGeom