CMS 3D CMS Logo

CSCSegAlgoShowering.h
Go to the documentation of this file.
1 #ifndef CSCSegment_CSCSegAlgoShowering_h
2 #define CSCSegment_CSCSegAlgoShowering_h
3 
22 #include <vector>
23 
24 class CSCSegFit;
25 
27 public:
28  typedef std::vector<const CSCRecHit2D*> ChamberHitContainer;
29 
31  explicit CSCSegAlgoShowering(const edm::ParameterSet& ps);
32 
34  virtual ~CSCSegAlgoShowering();
35 
37 
38 private:
40  bool isHitNearSegment(const CSCRecHit2D* h) const;
41  bool addHit(const CSCRecHit2D* hit, int layer);
42  bool hasHitOnLayer(int layer) const;
43  void compareProtoSegment(const CSCRecHit2D* h, int layer);
44  void pruneFromResidual(void);
45  void updateParameters(void);
46 
47  // Member variables
50 
52 
53  // input from .cfi file
54  bool debug;
56  double dRPhiFineMax;
57  double dPhiFineMax;
58  float tanPhiMax;
59  float tanThetaMax;
60  float chi2Max;
62  // float maxDR;
63  float maxDTheta;
64  float maxDPhi;
65 
66  CSCSegFit* sfit_; // current fit
67 };
68 #endif
const std::string myName
void compareProtoSegment(const CSCRecHit2D *h, int layer)
virtual ~CSCSegAlgoShowering()
Destructor.
CSCSegment showerSeg(const CSCChamber *aChamber, const ChamberHitContainer &rechits)
bool addHit(const CSCRecHit2D *hit, int layer)
CSCSegAlgoShowering(const edm::ParameterSet &ps)
Constructor.
std::vector< const CSCRecHit2D * > ChamberHitContainer
bool hasHitOnLayer(int layer) const
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
bool isHitNearSegment(const CSCRecHit2D *h) const
Utility functions.
const CSCChamber * theChamber
ChamberHitContainer protoSegment