File indexing completed on 2025-02-05 23:50:57
0001 #ifndef Alignment_CommonAlignmentAlgorithm_AlignmentSeedSelector_h
0002 #define Alignment_CommonAlignmentAlgorithm_AlignmentSeedSelector_h
0003
0004 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0005 #include "DataFormats/TrajectorySeed/interface/TrajectorySeed.h"
0006 #include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
0007 #include <vector>
0008
0009 namespace edm {
0010 class Event;
0011 }
0012
0013 class AlignmentSeedSelector {
0014 public:
0015 typedef std::vector<const TrajectorySeed*> Seeds;
0016
0017
0018 AlignmentSeedSelector(const edm::ParameterSet& cfg);
0019
0020
0021 ~AlignmentSeedSelector();
0022
0023
0024 Seeds select(const Seeds& seeds, const edm::Event& evt) const;
0025
0026 static void fillPSetDescription(edm::ParameterSetDescription& desc);
0027
0028 private:
0029
0030 bool applySeedNumber;
0031 int minNSeeds, maxNSeeds;
0032 };
0033
0034 #endif