1 #ifndef GEMRecHit_GEMSegmentAlgorithm_h 2 #define GEMRecHit_GEMSegmentAlgorithm_h 41 std::vector<GEMSegment>
run(
const GEMEnsemble& ensemble,
const EnsembleHitContainer&
rechits)
override;
52 bool isGoodToMerge(
const GEMEnsemble& ensemble,
const EnsembleHitContainer& newChain,
const EnsembleHitContainer& oldChain);
76 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)