File indexing completed on 2024-04-06 12:26:14
0001 #ifndef GEMRecHit_ME0SegmentBuilder_h
0002 #define GEMRecHit_ME0SegmentBuilder_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 #include "DataFormats/GEMRecHit/interface/ME0RecHitCollection.h"
0019 #include "DataFormats/GEMRecHit/interface/ME0SegmentCollection.h"
0020 #include "Geometry/GEMGeometry/interface/ME0Geometry.h"
0021 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0022
0023 class ME0SegmentAlgorithmBase;
0024
0025 class ME0SegmentBuilder {
0026 public:
0027
0028
0029
0030
0031 explicit ME0SegmentBuilder(const edm::ParameterSet&);
0032
0033 ~ME0SegmentBuilder();
0034
0035
0036
0037
0038 void build(const ME0RecHitCollection* rechits, ME0SegmentCollection& oc);
0039
0040
0041
0042 void setGeometry(const ME0Geometry* g);
0043
0044 private:
0045 std::unique_ptr<ME0SegmentAlgorithmBase> algo;
0046 const ME0Geometry* geom_;
0047 };
0048
0049 #endif