![]() |
![]() |
#include <MuonSeedCleaner.h>
Public Types | |
typedef std::deque< bool > | BoolContainer |
typedef MuonTransientTrackingRecHit::MuonRecHitContainer | SegmentContainer |
Public Member Functions | |
MuonSeedCleaner (const edm::ParameterSet &) | |
Constructor. More... | |
int | NRecHitsFromSegment (const TrackingRecHit &rhit) |
int | NRecHitsFromSegment (MuonTransientTrackingRecHit *rhit) |
std::vector< TrajectorySeed > | seedCleaner (const edm::EventSetup &eventSetup, std::vector< TrajectorySeed > &seeds) |
Cache pointer to geometry. More... | |
~MuonSeedCleaner () | |
Destructor. More... | |
Public Attributes | |
std::vector< int > | badSeedLayer |
Private Member Functions | |
TrajectorySeed | BiggerCone (std::vector< TrajectorySeed > &seeds) |
select the seed with bigger projection cone to next layer More... | |
TrajectorySeed | Chi2LengthSelection (std::vector< TrajectorySeed > &seeds) |
select seed by balance length and chi2 More... | |
std::vector< SeedContainer > | GroupSeeds (std::vector< TrajectorySeed > &seeds) |
group the seeds More... | |
TrajectorySeed | LeanHighMomentum (std::vector< TrajectorySeed > &seeds) |
select the highest momentum pt seed More... | |
SeedContainer | LengthFilter (std::vector< TrajectorySeed > &seeds) |
bool | MomentumFilter (std::vector< TrajectorySeed > &seeds) |
filter out the bad pt seeds, if all are bad pt seeds then keep all More... | |
TrajectorySeed | MoreRecHits (std::vector< TrajectorySeed > &seeds) |
select the seed with more rechits More... | |
double | NChi2OfSegment (const TrackingRecHit &rhit) |
retrieve number of rechits& normalized chi2 of associated segments of a seed More... | |
unsigned int | OverlapSegments (const TrajectorySeed &seed1, const TrajectorySeed &seed2) |
check overlapping segment for seeds More... | |
SeedContainer | SeedCandidates (std::vector< TrajectorySeed > &seeds, bool good) |
pick the seeds w/ 1st layer information and w/ more than 1 segments More... | |
double | SeedChi2 (const TrajectorySeed &seed) |
int | SeedLength (const TrajectorySeed &seed) |
GlobalVector | SeedMomentum (const TrajectorySeed &seed) |
retrieve seed global momentum More... | |
GlobalPoint | SeedPosition (const TrajectorySeed &seed) |
retrieve seed global position More... | |
Private Attributes | |
bool | debug |
std::vector< int > | ShoweringLayers |
SegmentContainer | ShoweringSegments |
MuonServiceProxy * | theService |
Algorith to clean duplicate seeds and select a right one
author: Shih-Chuan Kao - UCR
Definition at line 27 of file MuonSeedCleaner.h.
typedef std::deque<bool> MuonSeedCleaner::BoolContainer |
Definition at line 33 of file MuonSeedCleaner.h.
Definition at line 32 of file MuonSeedCleaner.h.
|
explicit |
Constructor.
Definition at line 49 of file MuonSeedCleaner.cc.
MuonSeedCleaner::~MuonSeedCleaner | ( | ) |
Destructor.
Definition at line 63 of file MuonSeedCleaner.cc.
|
private |
select the seed with bigger projection cone to next layer
Definition at line 171 of file MuonSeedCleaner.cc.
|
private |
select seed by balance length and chi2
Definition at line 131 of file MuonSeedCleaner.cc.
|
private |
group the seeds
Definition at line 345 of file MuonSeedCleaner.cc.
|
private |
select the highest momentum pt seed
Definition at line 203 of file MuonSeedCleaner.cc.
|
private |
pick the seed by better parameter error collect long seeds
Definition at line 256 of file MuonSeedCleaner.cc.
|
private |
filter out the bad pt seeds, if all are bad pt seeds then keep all
Definition at line 281 of file MuonSeedCleaner.cc.
|
private |
select the seed with more rechits
Definition at line 224 of file MuonSeedCleaner.cc.
|
private |
retrieve number of rechits& normalized chi2 of associated segments of a seed
Definition at line 527 of file MuonSeedCleaner.cc.
int MuonSeedCleaner::NRecHitsFromSegment | ( | const TrackingRecHit & | rhit | ) |
Definition at line 481 of file MuonSeedCleaner.cc.
int MuonSeedCleaner::NRecHitsFromSegment | ( | MuonTransientTrackingRecHit * | rhit | ) |
Definition at line 505 of file MuonSeedCleaner.cc.
|
private |
check overlapping segment for seeds
Definition at line 396 of file MuonSeedCleaner.cc.
|
private |
pick the seeds w/ 1st layer information and w/ more than 1 segments
Definition at line 302 of file MuonSeedCleaner.cc.
|
private |
Definition at line 426 of file MuonSeedCleaner.cc.
std::vector< TrajectorySeed > MuonSeedCleaner::seedCleaner | ( | const edm::EventSetup & | eventSetup, |
std::vector< TrajectorySeed > & | seeds | ||
) |
Cache pointer to geometry.
Cache pointer to Magnetic field cleaning the seeds
Definition at line 74 of file MuonSeedCleaner.cc.
|
private |
Definition at line 440 of file MuonSeedCleaner.cc.
|
private |
retrieve seed global momentum
Definition at line 467 of file MuonSeedCleaner.cc.
|
private |
retrieve seed global position
Definition at line 453 of file MuonSeedCleaner.cc.
std::vector<int> MuonSeedCleaner::badSeedLayer |
Definition at line 56 of file MuonSeedCleaner.h.
|
private |
Definition at line 99 of file MuonSeedCleaner.h.
|
private |
Definition at line 103 of file MuonSeedCleaner.h.
|
private |
Definition at line 102 of file MuonSeedCleaner.h.
|
private |
Definition at line 106 of file MuonSeedCleaner.h.