Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:27:17

0001 #ifndef RecoMuon_TrackingTools_MuonChi2MeasurementEstimator_H
0002 #define RecoMuon_TrackingTools_MuonChi2MeasurementEstimator_H
0003 
0004 /** \class MuonChi2MeasurementEstimator
0005  *  Class to handle different chi2 cut parameters for each muon sub-system.
0006  *  MuonChi2MeasurementEstimator inherits from the Chi2MeasurementEstimatorBase class and uses
0007  *  3 different estimators.
0008  *
0009  *  \author Giorgia Mila - INFN Torino
0010  */
0011 
0012 #include "TrackingTools/KalmanUpdators/interface/Chi2MeasurementEstimatorBase.h"
0013 #include "TrackingTools/KalmanUpdators/interface/Chi2MeasurementEstimator.h"
0014 
0015 class MuonChi2MeasurementEstimator : public Chi2MeasurementEstimatorBase {
0016 public:
0017   /// Constructor detector indipendent
0018   MuonChi2MeasurementEstimator(double maxChi2, double nSigma = 3.);
0019 
0020   /// Constructor detector dependent
0021   MuonChi2MeasurementEstimator(double dtMaxChi2, double cscMaxChi2, double rpcMaxChi2, double nSigma);
0022 
0023   /// Chi2 estimator
0024   std::pair<bool, double> estimate(const TrajectoryStateOnSurface&, const TrackingRecHit&) const override;
0025 
0026 private:
0027   Chi2MeasurementEstimator theDTChi2Estimator;
0028   Chi2MeasurementEstimator theCSCChi2Estimator;
0029   Chi2MeasurementEstimator theRPCChi2Estimator;
0030 };
0031 
0032 #endif