#include <SETSeedFinder.h>
Public Types | |
typedef MuonTransientTrackingRecHit::MuonRecHitContainer | MuonRecHitContainer |
Public Member Functions | |
std::pair< int, int > | checkAngleDeviation (double dPhi_1, double dPhi_2) const |
void | estimateMomentum (const MuonRecHitContainer &validSet, CLHEP::Hep3Vector &momentum, int &charge) const |
std::vector< SeedCandidate > | fillSeedCandidates (std::vector< MuonRecHitContainer > &allValidSets) |
std::vector< MuonRecHitContainer > | findAllValidSets (const std::vector< MuonRecHitContainer > &MuonRecHitContainer_perLayer) |
void | limitCombinatorics (std::vector< MuonRecHitContainer > &MuonRecHitContainer_perLayer) |
TrajectorySeed | makeSeed (const TrajectoryStateOnSurface &tsos, const TransientTrackingRecHit::ConstRecHitContainer &hits) const |
void | pre_prune (MuonRecHitContainer &validSet) const |
virtual void | seeds (const MuonRecHitContainer &cluster, std::vector< TrajectorySeed > &result) |
virtual void | setBField (const MagneticField *field) |
ignore - uses MuonServiceProxy More... | |
SETSeedFinder (const edm::ParameterSet &pset) | |
void | setServiceProxy (MuonServiceProxy *service) |
std::vector< MuonRecHitContainer > | sortByLayer (MuonRecHitContainer &cluster) const |
void | validSetsPrePruning (std::vector< MuonRecHitContainer > &allValidSets) |
virtual | ~SETSeedFinder () |
Public Member Functions inherited from MuonSeedVFinder | |
void | setBeamSpot (const GlobalVector &gv) |
virtual | ~MuonSeedVFinder () |
Private Attributes | |
bool | apply_prePruning |
MuonServiceProxy * | theService |
bool | useSegmentsInTrajectory |
Additional Inherited Members | |
Protected Attributes inherited from MuonSeedVFinder | |
MuonSeedPtExtractor * | thePtExtractor |
I. Bloch, E. James, S. Stoynev
Definition at line 12 of file SETSeedFinder.h.
Definition at line 15 of file SETSeedFinder.h.
|
explicit |
Definition at line 24 of file SETSeedFinder.cc.
References apply_prePruning, edm::ParameterSet::getParameter(), and MuonSeedVFinder::thePtExtractor.
|
inlinevirtual |
std::pair< int, int > SETSeedFinder::checkAngleDeviation | ( | double | dPhi_1, |
double | dPhi_2 | ||
) | const |
Definition at line 319 of file SETSeedFinder.cc.
References VarParsing::mult.
Referenced by pre_prune().
void SETSeedFinder::estimateMomentum | ( | const MuonRecHitContainer & | validSet, |
CLHEP::Hep3Vector & | momentum, | ||
int & | charge | ||
) | const |
Definition at line 486 of file SETSeedFinder.cc.
References DeDxDiscriminatorTools::charge(), pat::helper::ParametrizationHelper::dimension(), cmsHarvester::loop, funct::pow(), MuonSeedPtExtractor::pT_extract(), and MuonSeedVFinder::thePtExtractor.
Referenced by fillSeedCandidates().
std::vector< SeedCandidate > SETSeedFinder::fillSeedCandidates | ( | std::vector< MuonRecHitContainer > & | allValidSets | ) |
Definition at line 453 of file SETSeedFinder.cc.
References SeedCandidate::charge, estimateMomentum(), SeedCandidate::momentum, and SeedCandidate::theSet.
Referenced by SETMuonSeedProducer::produce().
std::vector< SETSeedFinder::MuonRecHitContainer > SETSeedFinder::findAllValidSets | ( | const std::vector< MuonRecHitContainer > & | MuonRecHitContainer_perLayer | ) |
Definition at line 168 of file SETSeedFinder.cc.
References findQualityFiles::size.
Referenced by SETMuonSeedProducer::produce().
void SETSeedFinder::limitCombinatorics | ( | std::vector< MuonRecHitContainer > & | MuonRecHitContainer_perLayer | ) |
Definition at line 131 of file SETSeedFinder.cc.
References i, and reco::return().
Referenced by SETMuonSeedProducer::produce().
TrajectorySeed SETSeedFinder::makeSeed | ( | const TrajectoryStateOnSurface & | tsos, |
const TransientTrackingRecHit::ConstRecHitContainer & | hits | ||
) | const |
Definition at line 655 of file SETSeedFinder.cc.
References alongMomentum, dir, oppositeToMomentum, trajectoryStateTransform::persistentState(), edm::OwnVector< T, P >::push_back(), fileCollector::seed, and useSegmentsInTrajectory.
void SETSeedFinder::pre_prune | ( | SETSeedFinder::MuonRecHitContainer & | validSet | ) | const |
Definition at line 354 of file SETSeedFinder.cc.
References checkAngleDeviation(), prof2calltree::count, pat::helper::ParametrizationHelper::dimension(), dPhi(), and phi.
Referenced by validSetsPrePruning().
|
virtual |
The container sent in is expected to be a cluster, which isn't the same as a pattern. A cluster can have more than one hit on a layer. Internally, this method splits the cluster into patterns, and chooses the best one via a chi2. But it calculates the trajectoryMeasurements at the same time, so we can't really separate the steps.
Implements MuonSeedVFinder.
Definition at line 36 of file SETSeedFinder.cc.
|
inlinevirtual |
ignore - uses MuonServiceProxy
Implements MuonSeedVFinder.
Definition at line 20 of file SETSeedFinder.h.
|
inline |
Definition at line 32 of file SETSeedFinder.h.
References theService.
Referenced by SETMuonSeedProducer::SETMuonSeedProducer().
std::vector< SETSeedFinder::MuonRecHitContainer > SETSeedFinder::sortByLayer | ( | MuonRecHitContainer & | cluster | ) | const |
Definition at line 57 of file SETSeedFinder.cc.
References MuonSubdetId::CSC, MuonSubdetId::DT, Plane::localZ(), mag(), CSCDetId::ring(), DTChamberId::station(), CSCDetId::station(), DetId::subdetId(), GeomDet::surface(), and theService.
Referenced by SETMuonSeedProducer::produce().
void SETSeedFinder::validSetsPrePruning | ( | std::vector< MuonRecHitContainer > & | allValidSets | ) |
Definition at line 342 of file SETSeedFinder.cc.
References pre_prune().
Referenced by SETMuonSeedProducer::produce().
|
private |
Definition at line 61 of file SETSeedFinder.h.
Referenced by SETSeedFinder().
|
private |
Definition at line 59 of file SETSeedFinder.h.
Referenced by setServiceProxy(), and sortByLayer().
|
private |
Definition at line 62 of file SETSeedFinder.h.
Referenced by makeSeed().