CMS 3D CMS Logo

DTSegmentSelector.h
Go to the documentation of this file.
1 #ifndef CalibMuon_DTCalibration_DTSegmentSelector_h
2 #define CalibMuon_DTCalibration_DTSegmentSelector_h
3 
4 /*
5  * \author A. Vilela Pereira
6  */
7 
12 
13 #include <vector>
14 
15 class DTRecSegment4D;
16 class DTRecHit1D;
17 class DTStatusFlag;
18 
20  public:
22  checkNoisyChannels_(pset.getParameter<bool>("checkNoisyChannels")),
23  minHitsPhi_(pset.getParameter<int>("minHitsPhi")),
24  minHitsZ_(pset.getParameter<int>("minHitsZ")),
25  maxChi2_(pset.getParameter<double>("maxChi2")),
26  maxAnglePhi_(pset.getParameter<double>("maxAnglePhi")),
27  maxAngleZ_(pset.getParameter<double>("maxAngleZ")) {
28  }
30  bool operator() (DTRecSegment4D const&, edm::Event const&, edm::EventSetup const&);
31 
32  private:
33  bool checkNoisySegment(edm::ESHandle<DTStatusFlag> const&, std::vector<DTRecHit1D> const&);
34 
37  int minHitsZ_;
38  double maxChi2_;
39  double maxAnglePhi_;
40  double maxAngleZ_;
41 };
42 
43 #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 &)