#include <CRackTrajectoryBuilder.h>
Classes | |
class | CompareDetByTraj |
Public Member Functions | |
CRackTrajectoryBuilder (const edm::ParameterSet &conf) | |
Trajectory | createStartingTrajectory (const TrajectorySeed &seed) const |
const TransientTrackingRecHitBuilder * | hitBuilder () const |
void | init (const edm::EventSetup &es, bool) |
void | run (const TrajectorySeedCollection &collseed, const SiStripRecHit2DCollection &collstereo, const SiStripRecHit2DCollection &collrphi, const SiStripMatchedRecHit2DCollection &collmatched, const SiPixelRecHitCollection &collpixel, const edm::EventSetup &es, edm::Event &e, std::vector< Trajectory > &trajoutput) |
Runs the algorithm. More... | |
~CRackTrajectoryBuilder () | |
Private Types | |
typedef std::pair< TrackingRecHitRangeIterator, TSOS > | PairTrackingRecHitTsos |
typedef TrajectoryMeasurement | TM |
typedef std::vector< const TrackingRecHit * >::iterator | TrackingRecHitIterator |
typedef std::pair< TrackingRecHitIterator, TrackingRecHitIterator > | TrackingRecHitRange |
typedef std::vector< TrackingRecHitRange >::iterator | TrackingRecHitRangeIterator |
typedef TrajectoryStateOnSurface | TSOS |
Private Member Functions | |
void | AddHit (Trajectory &traj, const std::vector< const TrackingRecHit * > &Hits, Propagator *currPropagator) |
std::pair< TrajectoryStateOnSurface, const GeomDet * > | innerState (const Trajectory &traj) const |
bool | isDifferentStripReHit2D (const SiStripRecHit2D &hitA, const SiStripRecHit2D &hitB) |
bool | qualityFilter (const Trajectory &traj) |
std::vector< TrajectoryMeasurement > | seedMeasurements (const TrajectorySeed &seed) const |
std::vector< const TrackingRecHit * > | SortHits (const SiStripRecHit2DCollection &collstereo, const SiStripRecHit2DCollection &collrphi, const SiStripMatchedRecHit2DCollection &collmatched, const SiPixelRecHitCollection &collpixel, const TrajectorySeed &seed, const bool bAddSeedHits) |
TSOS | startingTSOS (const TrajectorySeed &seed) const |
void | updateTrajectory (Trajectory &traj, const TM &tm, const TransientTrackingRecHit &hit) const |
Private Attributes | |
double | chi2cut |
bool | debug_info |
bool | fastPropagation |
std::string | geometry |
TransientTrackingRecHit::RecHitContainer | hits |
edm::ESHandle< MagneticField > | magfield |
const TransientTrackingRecHitBuilder * | RHBuilder |
bool | seed_plus |
std::string | theBuilderName |
Chi2MeasurementEstimator * | theEstimator |
const KFTrajectoryFitter * | theFitter |
int | theMinHits |
PropagatorWithMaterial * | thePropagator |
PropagatorWithMaterial * | thePropagatorOp |
const KFTrajectorySmoother * | theSmoother |
KFUpdator * | theUpdator |
edm::ESHandle< TrackerGeometry > | tracker |
std::vector< Trajectory > | trajFit |
bool | useMatchedHits |
Friends | |
class | CompareDetByTraj |
Definition at line 122 of file CRackTrajectoryBuilder.h.
|
private |
Definition at line 134 of file CRackTrajectoryBuilder.h.
|
private |
Definition at line 126 of file CRackTrajectoryBuilder.h.
|
private |
Definition at line 128 of file CRackTrajectoryBuilder.h.
|
private |
Definition at line 130 of file CRackTrajectoryBuilder.h.
|
private |
Definition at line 131 of file CRackTrajectoryBuilder.h.
|
private |
Definition at line 125 of file CRackTrajectoryBuilder.h.
CRackTrajectoryBuilder::CRackTrajectoryBuilder | ( | const edm::ParameterSet & | conf | ) |
Definition at line 30 of file CRackTrajectoryBuilder.cc.
References trackAssociatorByChi2_cfi::chi2cut, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.
CRackTrajectoryBuilder::~CRackTrajectoryBuilder | ( | ) |
Definition at line 46 of file CRackTrajectoryBuilder.cc.
|
private |
do the old version ....
Definition at line 474 of file CRackTrajectoryBuilder.cc.
References trackAssociatorByChi2_cfi::chi2cut, Trajectory::chiSquared(), gather_cfg::cout, spr::find(), TrackingRecHit::geographicalId(), TrajectoryStateOnSurface::globalPosition(), hfClusterShapes_cfi::hits, TrajectoryStateOnSurface::isValid(), Trajectory::lastMeasurement(), Propagator::propagate(), Trajectory::push(), DetId::rawId(), PbPb_ZMuSkimMuonDPG_cff::tracker, TrajectoryStateOnSurface::update(), and TrajectoryMeasurement::updatedState().
Trajectory CRackTrajectoryBuilder::createStartingTrajectory | ( | const TrajectorySeed & | seed | ) | const |
Definition at line 214 of file CRackTrajectoryBuilder.cc.
References mps_fire::i, eostools::move(), mps_fire::result, and fileCollector::seed.
|
inline |
Definition at line 192 of file CRackTrajectoryBuilder.h.
References RHBuilder.
Referenced by cms::CosmicTrackFinder::produce().
void CRackTrajectoryBuilder::init | ( | const edm::EventSetup & | es, |
bool | seedplus | ||
) |
Definition at line 50 of file CRackTrajectoryBuilder.cc.
References alongMomentum, trackAssociatorByChi2_cfi::chi2cut, Chi2MeasurementEstimator_cfi::Chi2MeasurementEstimator, edm::EventSetup::get(), get, volumeBasedMagneticField_160812_cfi::magfield, oppositeToMomentum, edm::ESHandle< T >::product(), and PbPb_ZMuSkimMuonDPG_cff::tracker.
|
private |
Definition at line 793 of file CRackTrajectoryBuilder.cc.
References alongMomentum, gen::C, Chi2MeasurementEstimator_cfi::Chi2MeasurementEstimator, Trajectory::direction(), Trajectory::foundHits(), mps_fire::i, TrajectoryStateOnSurface::localParameters(), Trajectory::measurements(), nhits, oppositeToMomentum, rpcPointValidation_cfi::recHit, TrajectoryMeasurement::recHit(), TrajectoryStateOnSurface::surface(), and TrajectoryMeasurement::updatedState().
|
private |
Definition at line 776 of file CRackTrajectoryBuilder.cc.
References TrackingRecHit::geographicalId(), BaseTrackerRecHit::localPosition(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 753 of file CRackTrajectoryBuilder.cc.
References Trajectory::foundHits(), hfClusterShapes_cfi::hits, and Trajectory::recHits().
void CRackTrajectoryBuilder::run | ( | const TrajectorySeedCollection & | collseed, |
const SiStripRecHit2DCollection & | collstereo, | ||
const SiStripRecHit2DCollection & | collrphi, | ||
const SiStripMatchedRecHit2DCollection & | collmatched, | ||
const SiPixelRecHitCollection & | collpixel, | ||
const edm::EventSetup & | es, | ||
edm::Event & | e, | ||
std::vector< Trajectory > & | trajoutput | ||
) |
Runs the algorithm.
Definition at line 82 of file CRackTrajectoryBuilder.cc.
References alongMomentum, gather_cfg::cout, Trajectory::firstMeasurement(), Trajectory::foundHits(), hfClusterShapes_cfi::hits, init, iseed, Trajectory::recHits(), groupFilesInBlocks::reverse, Trajectory::seed(), PbPb_ZMuSkimMuonDPG_cff::tracker, and TrajectoryMeasurement::updatedState().
Referenced by cms::CosmicTrackFinder::produce().
|
private |
Definition at line 222 of file CRackTrajectoryBuilder.cc.
References rpcPointValidation_cfi::recHit, mps_fire::result, fileCollector::seed, and GeomDet::surface().
|
private |
Definition at line 243 of file CRackTrajectoryBuilder.cc.
References gather_cfg::cout, edmNew::DetSetVector< T >::data(), spr::find(), TrackingRecHit::geographicalId(), TrajectoryStateOnSurface::globalPosition(), BaseTrackerRecHit::globalPosition(), hfClusterShapes_cfi::hits, TrajectoryStateOnSurface::isValid(), Trajectory::lastMeasurement(), TrajectoryStateOnSurface::localError(), LogDebug, visualization-live-secondInstance_cfg::m, LocalTrajectoryError::matrix(), SiStripMatchedRecHit2D::monoHit(), DetId::rawId(), alignCSCRings::s, fileCollector::seed, SiStripMatchedRecHit2D::stereoHit(), PbPb_ZMuSkimMuonDPG_cff::tracker, TrajectoryMeasurement::updatedState(), PV3DBase< T, PVType, FrameType >::y(), multiplicitycorr_cfi::yMax, and photonAnalyzer_cfi::yMin.
|
private |
Definition at line 467 of file CRackTrajectoryBuilder.cc.
References volumeBasedMagneticField_160812_cfi::magfield, fileCollector::seed, and trajectoryStateTransform::transientState().
|
private |
|
friend |
Definition at line 137 of file CRackTrajectoryBuilder.h.
|
private |
Definition at line 239 of file CRackTrajectoryBuilder.h.
|
private |
Definition at line 234 of file CRackTrajectoryBuilder.h.
|
private |
Definition at line 235 of file CRackTrajectoryBuilder.h.
|
private |
Definition at line 244 of file CRackTrajectoryBuilder.h.
|
private |
Definition at line 242 of file CRackTrajectoryBuilder.h.
|
private |
Definition at line 218 of file CRackTrajectoryBuilder.h.
|
private |
Definition at line 229 of file CRackTrajectoryBuilder.h.
Referenced by hitBuilder().
|
private |
Definition at line 243 of file CRackTrajectoryBuilder.h.
|
private |
Definition at line 245 of file CRackTrajectoryBuilder.h.
|
private |
Definition at line 228 of file CRackTrajectoryBuilder.h.
|
private |
Definition at line 231 of file CRackTrajectoryBuilder.h.
|
private |
Definition at line 238 of file CRackTrajectoryBuilder.h.
|
private |
Definition at line 221 of file CRackTrajectoryBuilder.h.
|
private |
Definition at line 222 of file CRackTrajectoryBuilder.h.
|
private |
Definition at line 230 of file CRackTrajectoryBuilder.h.
|
private |
Definition at line 227 of file CRackTrajectoryBuilder.h.
|
private |
Definition at line 219 of file CRackTrajectoryBuilder.h.
|
private |
Definition at line 240 of file CRackTrajectoryBuilder.h.
|
private |
Definition at line 236 of file CRackTrajectoryBuilder.h.