1 #ifndef GEMRecHit_GEMSegmentAlgorithm_h 2 #define GEMRecHit_GEMSegmentAlgorithm_h 39 std::vector<GEMSegment>
run(
const GEMEnsemble& ensemble,
const EnsembleHitContainer&
rechits)
override;
51 const EnsembleHitContainer& newChain,
52 const EnsembleHitContainer& oldChain);
56 const EnsembleHitContainer&
rechits,
57 std::vector<GEMSegment>& gemsegs);
78 std::unique_ptr<MuonSegFit>
sfit_;
bool preClustering_useChaining
~GEMSegmentAlgorithm() override
Destructor.
ProtoSegments chainHits(const GEMEnsemble &ensemble, const EnsembleHitContainer &rechits)
std::vector< const GEMRecHit * > EnsembleHitContainer
Typedefs.
std::pair< const GEMSuperChamber *, std::map< uint32_t, const GEMEtaPartition * > > GEMEnsemble
bool isGoodToMerge(const GEMEnsemble &ensemble, const EnsembleHitContainer &newChain, const EnsembleHitContainer &oldChain)
unsigned int minHitsPerSegment
ProtoSegments clusterHits(const GEMEnsemble &ensemble, const EnsembleHitContainer &rechits)
Utility functions.
std::vector< EnsembleHitContainer > ProtoSegments
std::unique_ptr< MuonSegFit > sfit_
GEMSegmentAlgorithm(const edm::ParameterSet &ps)
Constructor.
bool clusterOnlySameBXRecHits
EnsembleHitContainer proto_segment
std::vector< GEMSegment > run(const GEMEnsemble &ensemble, const EnsembleHitContainer &rechits) override
void buildSegments(const GEMEnsemble &ensemble, const EnsembleHitContainer &rechits, std::vector< GEMSegment > &gemsegs)