13 const std::vector< SubDetId >& trackingIds,
14 const unsigned int minTrackingHits,
18 const std::vector< SubDetId >& externalIds,
19 const unsigned int minExternalHits,
25 theFitter( fitter->
clone() ),
26 thePropagator( propagator->
clone() ),
27 theTrackingSubDetIds( trackingIds ),
28 theMinTrackingHits( minTrackingHits ),
29 theSortingDir( sortingDir ),
30 theExternalFitter( externalFitter->
clone() ),
31 theExternalPropagator( externalPropagator->
clone() ),
32 theExternalTrackingSubDetIds( externalIds ),
33 theMinExternalHits( minExternalHits ),
34 theExternalSortingDir( externalSortingDir ),
35 theTrajectoryFactory( trajectoryFactory ),
36 theAlignmentUpdator( alignmentUpdator ),
37 theMetricsUpdator( metricsUpdator )
43 theFitter( setup.fitter()->
clone() ),
45 theTrackingSubDetIds( setup.getTrackingSubDetIds() ),
46 theMinTrackingHits( setup.minTrackingHits() ),
47 theSortingDir( setup.sortingDirection() ),
48 theExternalFitter( setup.externalFitter()->
clone() ),
49 theExternalPropagator( setup.externalPropagator()->
clone() ),
50 theExternalTrackingSubDetIds( setup.getExternalTrackingSubDetIds() ),
51 theMinExternalHits( setup.minExternalHits() ),
52 theExternalSortingDir( setup.externalSortingDirection() ),
53 theTrajectoryFactory( setup.trajectoryFactory() ),
54 theAlignmentUpdator( setup.alignmentUpdator() ),
55 theMetricsUpdator( setup.metricsUpdator() )
71 const DetId detId( recHit->det()->geographicalId() );
72 const SubDetId subdetId( detId.subdetId() );
77 std::vector< SubDetId >::const_iterator itFindSubDetId =
100 const DetId detId( recHit->det()->geographicalId() );
101 const SubDetId subdetId( detId.subdetId() );
106 std::vector< SubDetId >::const_iterator itFindSubDetId =
KalmanAlignmentSetup(const std::string &id, const TrajectoryFitter *fitter, const Propagator *propagator, const std::vector< SubDetId > &trackingIds, const unsigned int minTrackingHits, const SortingDirection sortingDir, const TrajectoryFitter *externalFitter, const Propagator *externalPropagator, const std::vector< SubDetId > &externalIds, const unsigned int minExternalHits, const SortingDirection externalSortingDir, TrajectoryFactoryBase *trajectoryFactory, KalmanAlignmentUpdator *alignmentUpdator, KalmanAlignmentMetricsUpdator *metricsUpdator)
Propagator * theExternalPropagator
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
bool useForExternalTracking(const ConstRecHitPointer &recHit) const
std::vector< SubDetId > theExternalTrackingSubDetIds
TrajectoryFitter * theFitter
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
Propagator * thePropagator
~KalmanAlignmentSetup(void)
TrajectoryFitter * theExternalFitter
bool useForTracking(const ConstRecHitPointer &recHit) const
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
std::vector< SubDetId > theTrackingSubDetIds