CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTSegmentSelector.h
Go to the documentation of this file.
1 #ifndef CalibMuon_DTCalibration_DTSegmentSelector_h
2 #define CalibMuon_DTCalibration_DTSegmentSelector_h
3 
4 /*
5  * $Date: 2010/11/18 20:33:10 $
6  * $Revision: 1.4 $
7  * \author A. Vilela Pereira
8  */
9 
14 
15 #include <vector>
16 
17 class DTRecSegment4D;
18 class DTRecHit1D;
19 class DTStatusFlag;
20 
22  public:
24  checkNoisyChannels_(pset.getParameter<bool>("checkNoisyChannels")),
25  minHitsPhi_(pset.getParameter<int>("minHitsPhi")),
26  minHitsZ_(pset.getParameter<int>("minHitsZ")),
27  maxChi2_(pset.getParameter<double>("maxChi2")),
28  maxAnglePhi_(pset.getParameter<double>("maxAnglePhi")),
29  maxAngleZ_(pset.getParameter<double>("maxAngleZ")) {
30  }
32  bool operator() (DTRecSegment4D const&, edm::Event const&, edm::EventSetup const&);
33 
34  private:
35  bool checkNoisySegment(edm::ESHandle<DTStatusFlag> const&, std::vector<DTRecHit1D> const&);
36 
39  int minHitsZ_;
40  double maxChi2_;
41  double maxAnglePhi_;
42  double maxAngleZ_;
43 };
44 
45 #endif
bool operator()(DTRecSegment4D const &, edm::Event const &, edm::EventSetup const &)
DTSegmentSelector(edm::ParameterSet const &pset)
bool checkNoisySegment(edm::ESHandle< DTStatusFlag > const &, std::vector< DTRecHit1D > const &)