File indexing completed on 2024-04-06 11:57:20
0001 #ifndef Alignment_ReferenceTrajectories_DualBzeroReferenceTrajectory_H
0002 #define Alignment_ReferenceTrajectories_DualBzeroReferenceTrajectory_H
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033 #include "Alignment/ReferenceTrajectories/interface/DualReferenceTrajectory.h"
0034
0035 class BzeroReferenceTrajectory;
0036
0037 class DualBzeroReferenceTrajectory : public DualReferenceTrajectory {
0038 public:
0039 typedef TransientTrackingRecHit::ConstRecHitContainer ConstRecHitContainer;
0040
0041 DualBzeroReferenceTrajectory(const TrajectoryStateOnSurface& tsos,
0042 const ConstRecHitContainer& forwardRecHits,
0043 const ConstRecHitContainer& backwardRecHits,
0044 const MagneticField* magField,
0045 const reco::BeamSpot& beamSpot,
0046 const ReferenceTrajectoryBase::Config& config);
0047
0048 ~DualBzeroReferenceTrajectory() override {}
0049
0050 DualBzeroReferenceTrajectory* clone() const override { return new DualBzeroReferenceTrajectory(*this); }
0051
0052 protected:
0053 using DualReferenceTrajectory::construct;
0054
0055 virtual ReferenceTrajectory* construct(const TrajectoryStateOnSurface& referenceTsos,
0056 const ConstRecHitContainer& recHits,
0057 double mass,
0058 MaterialEffects materialEffects,
0059 const PropagationDirection propDir,
0060 const MagneticField* magField,
0061 bool useBeamSpot,
0062 const reco::BeamSpot& beamSpot) const;
0063
0064 AlgebraicVector extractParameters(const TrajectoryStateOnSurface& referenceTsos) const override;
0065
0066 double theMomentumEstimate;
0067 };
0068
0069 #endif