CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCSegAlgoShowering.h
Go to the documentation of this file.
1 #ifndef CSCSegment_CSCSegAlgoShowering_h
2 #define CSCSegment_CSCSegAlgoShowering_h
3 
21 
22 #include <vector>
23 
25 
26  public:
27 
28  typedef std::vector<const CSCRecHit2D*> ChamberHitContainer;
29 
31  explicit CSCSegAlgoShowering(const edm::ParameterSet& ps);
32 
34  virtual ~CSCSegAlgoShowering();
35 
37 
38 
39  private:
40 
42  bool isHitNearSegment(const CSCRecHit2D* h) const;
43  bool addHit(const CSCRecHit2D* hit, int layer);
44  void updateParameters(void);
45  bool hasHitOnLayer(int layer) const;
46  void compareProtoSegment(const CSCRecHit2D* h, int layer);
47  CLHEP::HepMatrix derivativeMatrix(void) const;
48  AlgebraicSymMatrix weightMatrix(void) const;
50  void flipErrors(AlgebraicSymMatrix&) const;
51 
52  void pruneFromResidual();
53 
54  // Member variables
55  const std::string myName;
57 
59  float protoSlope_u;
60  float protoSlope_v;
62  double protoChi2;
64 
65  // input from .cfi file
66  bool debug;
68  double dRPhiFineMax;
69  double dPhiFineMax;
70  float tanPhiMax;
71  float tanThetaMax;
72  float chi2Max;
74 // float maxDR;
75  float maxDTheta;
76  float maxDPhi;
77 
78 };
79 #endif
80 
CSCSegment showerSeg(const CSCChamber *aChamber, ChamberHitContainer rechits)
const std::string myName
void compareProtoSegment(const CSCRecHit2D *h, int layer)
AlgebraicSymMatrix calculateError(void) const
bool isHitNearSegment(const CSCRecHit2D *h) const
Utility functions.
virtual ~CSCSegAlgoShowering()
Destructor.
bool addHit(const CSCRecHit2D *hit, int layer)
CSCSegAlgoShowering(const edm::ParameterSet &ps)
Constructor.
CLHEP::HepMatrix derivativeMatrix(void) const
std::vector< const CSCRecHit2D * > ChamberHitContainer
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
void flipErrors(AlgebraicSymMatrix &) const
AlgebraicSymMatrix weightMatrix(void) const
CLHEP::HepSymMatrix AlgebraicSymMatrix
bool hasHitOnLayer(int layer) const
const CSCChamber * theChamber
ChamberHitContainer protoSegment