1 #ifndef RecoMuon_MuonSeedCleaner_H
2 #define RecoMuon_MuonSeedCleaner_H
63 std::vector<SeedContainer>
GroupSeeds( std::vector<TrajectorySeed>& seeds );
double SeedChi2(TrajectorySeed seed)
TrajectorySeed BiggerCone(std::vector< TrajectorySeed > &seeds)
select the seed with bigger projection cone to next layer
std::vector< int > badSeedLayer
SegmentContainer ShoweringSegments
MuonServiceProxy * theService
~MuonSeedCleaner()
Destructor.
MuonSeedCleaner(const edm::ParameterSet &)
Constructor.
std::deque< bool > BoolContainer
bool MomentumFilter(std::vector< TrajectorySeed > &seeds)
filter out the bad pt seeds, if all are bad pt seeds then keep all
double NChi2OfSegment(const TrackingRecHit &rhit)
retrieve number of rechits& normalized chi2 of associated segments of a seed
MuonTransientTrackingRecHit::MuonRecHitContainer SegmentContainer
unsigned int OverlapSegments(TrajectorySeed seed1, TrajectorySeed seed2)
check overlapping segment for seeds
int SeedLength(TrajectorySeed seed)
const MagneticField * BField
std::vector< int > ShoweringLayers
TrajectorySeed LeanHighMomentum(std::vector< TrajectorySeed > &seeds)
select the highest momentum pt seed
int NRecHitsFromSegment(const TrackingRecHit &rhit)
std::vector< SeedContainer > GroupSeeds(std::vector< TrajectorySeed > &seeds)
group the seeds
SeedContainer SeedCandidates(std::vector< TrajectorySeed > &seeds, bool good)
pick the seeds w/ 1st layer information and w/ more than 1 segments
SeedContainer LengthFilter(std::vector< TrajectorySeed > &seeds)
GlobalPoint SeedPosition(TrajectorySeed seed)
retrieve seed global position
std::vector< TrajectorySeed > seedCleaner(const edm::EventSetup &eventSetup, std::vector< TrajectorySeed > &seeds)
Cache pointer to geometry.
TrajectorySeed MoreRecHits(std::vector< TrajectorySeed > &seeds)
select the seed with more rechits
std::vector< TrajectorySeed > SeedContainer
std::vector< MuonRecHitPointer > MuonRecHitContainer
GlobalVector SeedMomentum(TrajectorySeed seed)
retrieve seed global momentum
TrajectorySeed Chi2LengthSelection(std::vector< TrajectorySeed > &seeds)
select seed by balance length and chi2