CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCSegAlgoHitPruning.h
Go to the documentation of this file.
1 #ifndef CSCSegment_CSCSegAlgoHitPruning_h
2 #define CSCSegAlgoHitPruning_h
3 
18 
19 #include <vector>
20 
21 class CSCChamber;
22 
24 
25  public:
26 
27  typedef std::vector<const CSCRecHit2D*> ChamberHitContainer;
28 
30  explicit CSCSegAlgoHitPruning(const edm::ParameterSet& ps);
31 
34 
36  std::vector<CSCSegment> pruneBadHits(const CSCChamber* aChamber, std::vector<CSCSegment> segments);
37 
38  private:
39  void fitSlopes(void);
40  void fillChiSquared(void);
41  void fillLocalDirection(void);
42  CLHEP::HepMatrix derivativeMatrix(void) const;
43  AlgebraicSymMatrix weightMatrix(void) const;
45  void flipErrors(AlgebraicSymMatrix&) const;
46 
48 
50  float protoSlope_u;
51  float protoSlope_v;
53  double protoChi2;
55 
57 };
58 #endif
CLHEP::HepMatrix derivativeMatrix(void) const
const CSCChamber * theChamber
std::vector< const CSCRecHit2D * > ChamberHitContainer
~CSCSegAlgoHitPruning()
destructor
ChamberHitContainer protoSegment
void flipErrors(AlgebraicSymMatrix &) const
CSCSegAlgoHitPruning(const edm::ParameterSet &ps)
constructor
std::vector< CSCSegment > pruneBadHits(const CSCChamber *aChamber, std::vector< CSCSegment > segments)
clusterize
AlgebraicSymMatrix weightMatrix(void) const
AlgebraicSymMatrix calculateError(void) const
CLHEP::HepSymMatrix AlgebraicSymMatrix