00001 #ifndef Alignment_CommonAlignmentAlgorithm_AlignmentCSCTrackSelector_h 00002 #define Alignment_CommonAlignmentAlgorithm_AlignmentCSCTrackSelector_h 00003 00004 #include "DataFormats/TrackReco/interface/Track.h" 00005 #include "FWCore/Utilities/interface/InputTag.h" 00006 #include <vector> 00007 00008 namespace edm { 00009 class Event; 00010 class ParameterSet; 00011 } 00012 00013 class TrackingRecHit; 00014 00015 class AlignmentCSCTrackSelector 00016 { 00017 00018 public: 00019 00020 typedef std::vector<const reco::Track*> Tracks; 00021 00023 AlignmentCSCTrackSelector(const edm::ParameterSet & cfg); 00024 00026 ~AlignmentCSCTrackSelector(); 00027 00029 Tracks select(const Tracks& tracks, const edm::Event& evt) const; 00030 00031 private: 00032 00033 edm::InputTag m_src; 00034 int m_stationA, m_stationB, m_minHitsDT, m_minHitsPerStation, m_maxHitsPerStation; 00035 00036 }; 00037 00038 #endif 00039