#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 |
void | seeds (const MuonRecHitContainer &cluster, std::vector< TrajectorySeed > &result) override |
void | setBField (const MagneticField *field) override |
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) |
~SETSeedFinder () override | |
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 11 of file SETSeedFinder.h.
Definition at line 13 of file SETSeedFinder.h.
|
explicit |
Definition at line 23 of file SETSeedFinder.cc.
References apply_prePruning, edm::ParameterSet::getParameter(), edm::parameterSet(), and MuonSeedVFinder::thePtExtractor.
|
inlineoverride |
std::pair< int, int > SETSeedFinder::checkAngleDeviation | ( | double | dPhi_1, |
double | dPhi_2 | ||
) | const |
Definition at line 284 of file SETSeedFinder.cc.
References VarParsing::mult, and Validation_hcalonly_cfi::sign.
Referenced by pre_prune().
void SETSeedFinder::estimateMomentum | ( | const MuonRecHitContainer & | validSet, |
CLHEP::Hep3Vector & | momentum, | ||
int & | charge | ||
) | const |
Definition at line 436 of file SETSeedFinder.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, pat::helper::ParametrizationHelper::dimension(), heppy_loop::loop, funct::pow(), pv::pT, MuonSeedPtExtractor::pT_extract(), Validation_hcalonly_cfi::sign, and MuonSeedVFinder::thePtExtractor.
Referenced by fillSeedCandidates().
std::vector< SeedCandidate > SETSeedFinder::fillSeedCandidates | ( | std::vector< MuonRecHitContainer > & | allValidSets | ) |
Definition at line 404 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 146 of file SETSeedFinder.cc.
References MuonTCMETValueMapProducer_cff::nLayers, and findQualityFiles::size.
Referenced by SETMuonSeedProducer::produce().
void SETSeedFinder::limitCombinatorics | ( | std::vector< MuonRecHitContainer > & | MuonRecHitContainer_perLayer | ) |
Definition at line 110 of file SETSeedFinder.cc.
References mps_fire::i, and MuonTCMETValueMapProducer_cff::nLayers.
Referenced by SETMuonSeedProducer::produce().
TrajectorySeed SETSeedFinder::makeSeed | ( | const TrajectoryStateOnSurface & | tsos, |
const TransientTrackingRecHit::ConstRecHitContainer & | hits | ||
) | const |
Definition at line 593 of file SETSeedFinder.cc.
References alongMomentum, DeadROC_duringRun::dir, hfClusterShapes_cfi::hits, oppositeToMomentum, trajectoryStateTransform::persistentState(), edm::OwnVector< T, P >::push_back(), fileCollector::seed, and useSegmentsInTrajectory.
void SETSeedFinder::pre_prune | ( | SETSeedFinder::MuonRecHitContainer & | validSet | ) | const |
Definition at line 316 of file SETSeedFinder.cc.
References checkAngleDeviation(), submitPVResolutionJobs::count, pat::helper::ParametrizationHelper::dimension(), HLT_2022v15_cff::dPhi, createfilelist::int, nHits, phi, and Validation_hcalonly_cfi::sign.
Referenced by validSetsPrePruning().
|
overridevirtual |
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 31 of file SETSeedFinder.cc.
|
inlineoverridevirtual |
ignore - uses MuonServiceProxy
Implements MuonSeedVFinder.
Definition at line 18 of file SETSeedFinder.h.
|
inline |
Definition at line 29 of file SETSeedFinder.h.
References theService.
Referenced by SETMuonSeedProducer::SETMuonSeedProducer().
std::vector< SETSeedFinder::MuonRecHitContainer > SETSeedFinder::sortByLayer | ( | MuonRecHitContainer & | cluster | ) | const |
Definition at line 45 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().
void SETSeedFinder::validSetsPrePruning | ( | std::vector< MuonRecHitContainer > & | allValidSets | ) |
Definition at line 306 of file SETSeedFinder.cc.
References pre_prune().
Referenced by SETMuonSeedProducer::produce().
|
private |
Definition at line 55 of file SETSeedFinder.h.
Referenced by SETSeedFinder().
|
private |
Definition at line 53 of file SETSeedFinder.h.
Referenced by setServiceProxy(), and sortByLayer().
|
private |
Definition at line 56 of file SETSeedFinder.h.
Referenced by makeSeed().