1 #ifndef GEMRecHit_GEMSegmentAlgorithm_h 2 #define GEMRecHit_GEMSegmentAlgorithm_h 52 bool isGoodToMerge(
const GEMEnsemble& ensemble,
const EnsembleHitContainer& newChain,
const EnsembleHitContainer& oldChain);
76 std::unique_ptr<MuonSegFit>
sfit_;
bool preClustering_useChaining
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
virtual ~GEMSegmentAlgorithm()
Destructor.
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.
std::vector< GEMSegment > run(const GEMEnsemble &ensemble, const EnsembleHitContainer &rechits)
bool clusterOnlySameBXRecHits
EnsembleHitContainer proto_segment
void buildSegments(const GEMEnsemble &ensemble, const EnsembleHitContainer &rechits, std::vector< GEMSegment > &gemsegs)