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 
18 #include <memory>
43 
44 
46 
47  public:
48 
51 
53 
55 
56  // Just one thr for DT and one for CSC
57  void setThr(int, int, int);
58 
59  // Return the vector with the tracker plus the selected muon hits
61 
62  // Return the vector with the estimator values
63  std::vector<double> getEstimators() {return estimators;};
64 
65  private:
66 
67  void compatibleDets(TrajectoryStateOnSurface&, std::map<int, std::vector<DetId> >&);
68  void filteringAlgo(std::map<int, std::vector<DetId> >&);
69  double getBest(std::vector<CSCSegment>&, TrajectoryStateOnSurface&, CSCSegment&);
70  double getBest(std::vector<DTRecSegment4D>&, TrajectoryStateOnSurface&, DTRecSegment4D&);
75 
77 
78  int DTThr;
79  int CSCThr;
80  bool useAPE;
81 
93  std::vector<double> estimators;
95 
96  std::map<DTChamberId, GlobalError> dtApeMap;
97  std::map<CSCDetId, GlobalError> cscApeMap;
98 };
99 
100 #endif
101 
102 
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
void setThr(int, int, int)
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
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