![]() |
![]() |
#include <SETFilter.h>
Public Member Functions | |
bool | buildTrajectoryMeasurements (SeedCandidate *validSegmentsSet, Trajectory::DataContainer &finalCandidate) |
from SeedCandidate to DataContainer only More... | |
bool | fwfit_SET (std::vector< SeedCandidate > &validSegmentsSet_in, std::vector< SeedCandidate > &validSegmentsSet_out) |
Perform the SET inner-outward fitting. More... | |
int | getCSCChamberUsed () const |
int | getDTChamberUsed () const |
int | getRPCChamberUsed () const |
int | getTotalChamberUsed () const |
bool | goodState () const |
const DetLayer * | lastDetLayer () const |
return the last det layer More... | |
FreeTrajectoryState | lastUpdatedFTS () const |
the last free trajectory state More... | |
TrajectoryStateOnSurface | lastUpdatedTSOS () const |
the Trajectory state on the last surface of the fitting More... | |
std::vector< const DetLayer * > | layers () const |
return the layer used for the refit More... | |
PropagationDirection | propagationDirection () const |
Return the propagation direction. More... | |
void | refit (const TrajectoryStateOnSurface &initialState, const DetLayer *, Trajectory &trajectory) |
Perform the inner-outward fitting. More... | |
void | reset () |
virtual void | setEvent (const edm::Event &event) |
Pass the Event to the algo at each event. More... | |
SETFilter (const edm::ParameterSet &par, const MuonServiceProxy *service) | |
Constructor. More... | |
bool | transform (Trajectory::DataContainer &measurements_segments, TransientTrackingRecHit::ConstRecHitContainer &hitContainer, TrajectoryStateOnSurface &firstTSOS) |
transforms "segment trajectory" to "rechit container" More... | |
bool | transformLight (Trajectory::DataContainer &measurements_segments, TransientTrackingRecHit::ConstRecHitContainer &hitContainer, TrajectoryStateOnSurface &firstTSOS) |
transforms "segment trajectory" to "segment container" More... | |
virtual | ~SETFilter () |
Destructor. More... | |
Private Member Functions | |
double | chi2AtSpecificStep (CLHEP::Hep3Vector &foot, const CLHEP::Hep3Vector &r3T, SeedCandidate &muonCandidate, TrajectoryStateOnSurface &lastUpdatedTSOS, Trajectory::DataContainer &trajectoryMeasurementsInTheSet, bool detailedOutput) |
std::vector< CLHEP::Hep3Vector > | find3MoreStartingPoints (CLHEP::Hep3Vector &key_foot, const CLHEP::Hep3Vector &r3T, SeedCandidate &muonCandidate) |
double | findChi2 (double pX, double pY, double pZ, const CLHEP::Hep3Vector &r3T, SeedCandidate &muonCandidate, TrajectoryStateOnSurface &lastUpdatedTSOS, Trajectory::DataContainer &trajectoryMeasurementsInTheSet, bool detailedOutput) |
double | findMinChi2 (unsigned int iSet, const CLHEP::Hep3Vector &r3T, SeedCandidate &muonCandidate, std::vector< TrajectoryStateOnSurface > &lastUpdatedTSOS_Vect, Trajectory::DataContainer &trajectoryMeasurementsInTheSet) |
std::pair< double, double > | findParabolaMinimum (std::vector< double > &quadratic_var, std::vector< double > &quadratic_chi2) |
void | incrementChamberCounters (const DetLayer *layer) |
Increment the DT,CSC,RPC counters. More... | |
void | nDimContract (std::vector< CLHEP::Hep3Vector > &feet, unsigned int low) |
void | pickElements (std::vector< double > &chi2Feet, unsigned int &high, unsigned int &second_high, unsigned int &low) |
const Propagator * | propagator () const |
access at the propagator More... | |
CLHEP::Hep3Vector | reflectFoot (std::vector< CLHEP::Hep3Vector > &feet, unsigned int key_foot, double scale) |
void | setLastButOneUpdatedTSOS (TrajectoryStateOnSurface tsos) |
Set the last but one TSOS. More... | |
void | setLastUpdatedTSOS (TrajectoryStateOnSurface tsos) |
Set the last TSOS. More... | |
Private Attributes | |
int | cscChambers |
int | dtChambers |
int | rpcChambers |
edm::ESHandle< TrajectoryFitter > | theBWLightFitter |
used in the SET BW fit More... | |
std::string | theBWLightFitterName |
std::vector< const DetLayer * > | theDetLayers |
the det layer used in the reconstruction More... | |
NavigationDirection | theFitDirection |
the propagation direction More... | |
TrajectoryStateOnSurface | theLastButOneUpdatedTSOS |
the trajectory state on the last but one available surface More... | |
TrajectoryStateOnSurface | theLastUpdatedTSOS |
the trajectory state on the last available surface More... | |
std::string | thePropagatorName |
the propagator name More... | |
const MuonServiceProxy * | theService |
int | totalChambers |
bool | useSegmentsInTrajectory |
I. Bloch, E. James, S. Stoynev
Definition at line 49 of file SETFilter.h.
SETFilter::SETFilter | ( | const edm::ParameterSet & | par, |
const MuonServiceProxy * | service | ||
) |
Constructor.
Definition at line 52 of file SETFilter.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), thePropagatorName, and useSegmentsInTrajectory.
|
virtual |
bool SETFilter::buildTrajectoryMeasurements | ( | SeedCandidate * | validSegmentsSet, |
Trajectory::DataContainer & | finalCandidate | ||
) |
from SeedCandidate to DataContainer only
Definition at line 135 of file SETFilter.cc.
References TrackInfoProducer_cfi::forwardPredictedState, incrementChamberCounters(), reset(), theDetLayers, theLastUpdatedTSOS, and SeedCandidate::trajectoryMeasurementsInTheSet.
Referenced by SETMuonSeedProducer::produce().
|
private |
Definition at line 497 of file SETFilter.cc.
References vertices_cff::chi2, funct::cos(), find3MoreStartingPoints(), findChi2(), and funct::sin().
Referenced by findMinChi2().
|
private |
Definition at line 523 of file SETFilter.cc.
References funct::cos(), findChi2(), findParabolaMinimum(), mps_fire::i, lastUpdatedTSOS(), phi, funct::sin(), and theta().
Referenced by chi2AtSpecificStep(), and findMinChi2().
|
private |
Definition at line 242 of file SETFilter.cc.
References SeedCandidate::charge, ALCARECOTkAlJpsiMuMu_cff::charge, MillePedeFileConverter_cfg::e, TrajectoryStateOnSurface::freeState(), TrajectoryStateOnSurface::isValid(), funct::pow(), Propagator::propagate(), propagator(), GeomDet::surface(), theService, SeedCandidate::theSet, GeomDet::toLocal(), PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), LocalError::xy(), PV3DBase< T, PVType, FrameType >::y(), and LocalError::yy().
Referenced by chi2AtSpecificStep(), and find3MoreStartingPoints().
|
private |
Definition at line 355 of file SETFilter.cc.
References chi2AtSpecificStep(), funct::cos(), find3MoreStartingPoints(), lastUpdatedTSOS(), MTVHistoProducerAlgoForTrackerBlock_cfi::minChi2, SeedCandidate::momentum, nDimContract(), phi, pickElements(), reflectFoot(), funct::sin(), theta(), SeedCandidate::trajectoryMeasurementsInTheSet, y, and z.
Referenced by fwfit_SET().
|
private |
Definition at line 647 of file SETFilter.cc.
References edmIntegrityCheck::d, pfDeepCMVADiscriminatorsJetTags_cfi::denominator, funct::pow(), and mps_fire::result.
Referenced by find3MoreStartingPoints().
bool SETFilter::fwfit_SET | ( | std::vector< SeedCandidate > & | validSegmentsSet_in, |
std::vector< SeedCandidate > & | validSegmentsSet_out | ||
) |
Perform the SET inner-outward fitting.
Definition at line 100 of file SETFilter.cc.
References findMinChi2().
Referenced by SETMuonSeedProducer::produce().
|
inline |
Definition at line 97 of file SETFilter.h.
|
inline |
Definition at line 96 of file SETFilter.h.
|
inline |
Definition at line 98 of file SETFilter.h.
|
inline |
Definition at line 95 of file SETFilter.h.
|
inline |
Definition at line 100 of file SETFilter.h.
|
private |
Increment the DT,CSC,RPC counters.
Definition at line 85 of file SETFilter.cc.
References GeomDetEnumerators::CSC, cscChambers, GeomDetEnumerators::DT, dtChambers, GeomDetEnumerators::RPCBarrel, rpcChambers, GeomDetEnumerators::RPCEndcap, DetLayer::subDetector(), and totalChambers.
Referenced by buildTrajectoryMeasurements().
|
inline |
return the last det layer
Definition at line 107 of file SETFilter.h.
|
inline |
the last free trajectory state
Definition at line 64 of file SETFilter.h.
|
inline |
the Trajectory state on the last surface of the fitting
Definition at line 67 of file SETFilter.h.
References reset(), and create_public_lumi_plots::transform.
Referenced by find3MoreStartingPoints(), and findMinChi2().
|
inline |
return the layer used for the refit
Definition at line 104 of file SETFilter.h.
Referenced by SETMuonSeedProducer::produce().
|
private |
Definition at line 749 of file SETFilter.cc.
Referenced by findMinChi2().
|
private |
Definition at line 713 of file SETFilter.cc.
Referenced by findMinChi2().
PropagationDirection SETFilter::propagationDirection | ( | ) | const |
Return the propagation direction.
|
private |
access at the propagator
Definition at line 80 of file SETFilter.cc.
References thePropagatorName, and theService.
Referenced by findChi2(), and transform().
void SETFilter::refit | ( | const TrajectoryStateOnSurface & | initialState, |
const DetLayer * | , | ||
Trajectory & | trajectory | ||
) |
Perform the inner-outward fitting.
|
private |
void SETFilter::reset | ( | void | ) |
Definition at line 71 of file SETFilter.cc.
References cscChambers, dtChambers, rpcChambers, theDetLayers, theLastButOneUpdatedTSOS, theLastUpdatedTSOS, and totalChambers.
Referenced by buildTrajectoryMeasurements(), and SETMuonSeedProducer::produce().
|
virtual |
Pass the Event to the algo at each event.
Definition at line 68 of file SETFilter.cc.
Referenced by SETMuonSeedProducer::setEvent().
|
inlineprivate |
Set the last but one TSOS.
Definition at line 120 of file SETFilter.h.
References PhotonConversionTrajectorySeedProducerFromQuadruplets_cfi::propagator, Scenarios_cff::scale, and SeedCandidate::trajectoryMeasurementsInTheSet.
|
inlineprivate |
Set the last TSOS.
Definition at line 117 of file SETFilter.h.
bool SETFilter::transform | ( | Trajectory::DataContainer & | measurements_segments, |
TransientTrackingRecHit::ConstRecHitContainer & | hitContainer, | ||
TrajectoryStateOnSurface & | firstTSOS | ||
) |
transforms "segment trajectory" to "rechit container"
Definition at line 169 of file SETFilter.cc.
References TrackInfoProducer_cfi::forwardPredictedState, TrajectoryStateOnSurface::isValid(), Propagator::propagate(), propagator(), rpcPointValidation_cfi::recHit, jetUpdater_cfi::sort, sortRadius, summarizeEdmComparisonLogfiles::success, GeomDet::surface(), and theService.
Referenced by SETMuonSeedProducer::produce().
bool SETFilter::transformLight | ( | Trajectory::DataContainer & | measurements_segments, |
TransientTrackingRecHit::ConstRecHitContainer & | hitContainer, | ||
TrajectoryStateOnSurface & | firstTSOS | ||
) |
transforms "segment trajectory" to "segment container"
Definition at line 217 of file SETFilter.cc.
References rpcPointValidation_cfi::recHit, summarizeEdmComparisonLogfiles::success, and useSegmentsInTrajectory.
Referenced by SETMuonSeedProducer::produce().
|
private |
Definition at line 183 of file SETFilter.h.
Referenced by incrementChamberCounters(), and reset().
|
private |
Definition at line 182 of file SETFilter.h.
Referenced by incrementChamberCounters(), and reset().
|
private |
Definition at line 184 of file SETFilter.h.
Referenced by incrementChamberCounters(), and reset().
|
private |
used in the SET BW fit
Definition at line 189 of file SETFilter.h.
|
private |
Definition at line 190 of file SETFilter.h.
|
private |
the det layer used in the reconstruction
Definition at line 179 of file SETFilter.h.
Referenced by buildTrajectoryMeasurements(), and reset().
|
private |
the propagation direction
Definition at line 171 of file SETFilter.h.
|
private |
the trajectory state on the last but one available surface
Definition at line 176 of file SETFilter.h.
Referenced by reset().
|
private |
the trajectory state on the last available surface
Definition at line 174 of file SETFilter.h.
Referenced by buildTrajectoryMeasurements(), and reset().
|
private |
the propagator name
Definition at line 168 of file SETFilter.h.
Referenced by propagator(), and SETFilter().
|
private |
Definition at line 192 of file SETFilter.h.
Referenced by findChi2(), propagator(), and transform().
|
private |
Definition at line 181 of file SETFilter.h.
Referenced by incrementChamberCounters(), and reset().
|
private |
Definition at line 186 of file SETFilter.h.
Referenced by SETFilter(), and transformLight().