#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 320 of file SETSeedFinder.cc.
References Validation_hcalonly_cfi::sign.
Referenced by pre_prune(), and setServiceProxy().
void SETSeedFinder::estimateMomentum | ( | const MuonRecHitContainer & | validSet, |
CLHEP::Hep3Vector & | momentum, | ||
int & | charge | ||
) | const |
Definition at line 487 of file SETSeedFinder.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, pat::helper::ParametrizationHelper::dimension(), heppy_loop::loop, funct::pow(), MuonSeedPtExtractor::pT_extract(), Validation_hcalonly_cfi::sign, and MuonSeedVFinder::thePtExtractor.
Referenced by fillSeedCandidates(), and setServiceProxy().
std::vector< SeedCandidate > SETSeedFinder::fillSeedCandidates | ( | std::vector< MuonRecHitContainer > & | allValidSets | ) |
Definition at line 454 of file SETSeedFinder.cc.
References SeedCandidate::charge, estimateMomentum(), SeedCandidate::momentum, and SeedCandidate::theSet.
Referenced by pre_prune(), SETMuonSeedProducer::produce(), and setServiceProxy().
std::vector< SETSeedFinder::MuonRecHitContainer > SETSeedFinder::findAllValidSets | ( | const std::vector< MuonRecHitContainer > & | MuonRecHitContainer_perLayer | ) |
Definition at line 169 of file SETSeedFinder.cc.
References MuonTCMETValueMapProducer_cff::nLayers, and findQualityFiles::size.
Referenced by SETMuonSeedProducer::produce(), and setServiceProxy().
void SETSeedFinder::limitCombinatorics | ( | std::vector< MuonRecHitContainer > & | MuonRecHitContainer_perLayer | ) |
Definition at line 132 of file SETSeedFinder.cc.
References i, MuonTCMETValueMapProducer_cff::nLayers, and reco::return().
Referenced by SETMuonSeedProducer::produce(), and setServiceProxy().
TrajectorySeed SETSeedFinder::makeSeed | ( | const TrajectoryStateOnSurface & | tsos, |
const TransientTrackingRecHit::ConstRecHitContainer & | hits | ||
) | const |
Definition at line 656 of file SETSeedFinder.cc.
References alongMomentum, dir, oppositeToMomentum, trajectoryStateTransform::persistentState(), edm::OwnVector< T, P >::push_back(), SurveyInfoScenario_cff::seed, and useSegmentsInTrajectory.
Referenced by setServiceProxy().
void SETSeedFinder::pre_prune | ( | SETSeedFinder::MuonRecHitContainer & | validSet | ) | const |
Definition at line 355 of file SETSeedFinder.cc.
References checkAngleDeviation(), KineDebug3::count(), pat::helper::ParametrizationHelper::dimension(), dPhi(), fillSeedCandidates(), createfilelist::int, phi, and Validation_hcalonly_cfi::sign.
Referenced by setServiceProxy(), and 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.
References MCScenario_CRAFT1_22X::sorter().
Referenced by setBField().
|
inlinevirtual |
ignore - uses MuonServiceProxy
Implements MuonSeedVFinder.
Definition at line 20 of file SETSeedFinder.h.
References mps_fire::result, and seeds().
|
inline |
Definition at line 32 of file SETSeedFinder.h.
References ALCARECOTkAlJpsiMuMu_cff::charge, checkAngleDeviation(), estimateMomentum(), fillSeedCandidates(), findAllValidSets(), hfClusterShapes_cfi::hits, limitCombinatorics(), makeSeed(), pre_prune(), sortByLayer(), theService, and validSetsPrePruning().
Referenced by SETMuonSeedProducer::SETMuonSeedProducer().
std::vector< SETSeedFinder::MuonRecHitContainer > SETSeedFinder::sortByLayer | ( | MuonRecHitContainer & | cluster | ) | const |
Definition at line 58 of file SETSeedFinder.cc.
References MuonSubdetId::CSC, MuonSubdetId::DT, GeomDetEnumerators::isCSC(), GeomDetEnumerators::isDT(), Plane::localZ(), mag(), CSCDetId::ring(), DTChamberId::station(), CSCDetId::station(), DetId::subdetId(), GeomDet::surface(), and theService.
Referenced by SETMuonSeedProducer::produce(), and setServiceProxy().
void SETSeedFinder::validSetsPrePruning | ( | std::vector< MuonRecHitContainer > & | allValidSets | ) |
Definition at line 343 of file SETSeedFinder.cc.
References pre_prune().
Referenced by SETMuonSeedProducer::produce(), and setServiceProxy().
|
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().