Skip to content
Snippets Groups Projects

Draft: Acts Track fitting

Closed Yizhou Zhang requested to merge zhangyz/CEPCSW:ACTSfitting into master
91 files
+ 9427
1286
Compare changes
  • Side-by-side
  • Inline
Files
91
#pragma once
#include "Acts/EventData/MultiTrajectory.hpp"
#include "Acts/EventData/SourceLink.hpp"
#include "Acts/EventData/VectorMultiTrajectory.hpp"
#include "Acts/Geometry/GeometryContext.hpp"
#include "Acts/Geometry/GeometryIdentifier.hpp"
#include "Acts/Surfaces/Surface.hpp"
#include "Acts/Utilities/CalibrationContext.hpp"
namespace Acts {
class ConstVectorMultiTrajectory;
class VectorMultiTrajectory;
} // namespace Acts
namespace ActsHelper {
struct RefittingCalibrator {
using Proxy = Acts::VectorMultiTrajectory::TrackStateProxy;
using ConstProxy = Acts::ConstVectorMultiTrajectory::ConstTrackStateProxy;
struct RefittingSourceLink {
ConstProxy state;
Acts::GeometryIdentifier geometryId() const {
return state.referenceSurface().geometryId();
}
};
void calibrate(const Acts::GeometryContext& gctx,
const Acts::CalibrationContext& cctx,
const Acts::SourceLink& sourceLink, Proxy trackState) const;
};
} // namespace ActsHelper
Loading