File indexing completed on 2023-03-17 11:16:59
0001 #ifndef _SIGNEDDECAYLENGHT3D_H_
0002 #define _SIGNEDDECAYLENGHT3D_H_
0003 #include "TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h"
0004 #include "DataFormats/GeometryCommonDetAlgo/interface/Measurement1D.h"
0005 #include "TrackingTools/TransientTrack/interface/TransientTrack.h"
0006 #include "DataFormats/VertexReco/interface/Vertex.h"
0007 #include "DataFormats/GeometryVector/interface/GlobalVector.h"
0008 #include <utility>
0009
0010
0011
0012
0013
0014
0015 class SignedDecayLength3D {
0016 public:
0017
0018
0019 SignedDecayLength3D(){};
0020
0021 static std::pair<bool, Measurement1D> apply(const reco::TransientTrack &track,
0022 const GlobalVector &direction,
0023 const reco::Vertex &vertex);
0024
0025 int id() const { return 3; }
0026
0027 private:
0028 static TrajectoryStateOnSurface closestApproachToJet(const FreeTrajectoryState &,
0029 const reco::Vertex &,
0030 const GlobalVector &,
0031 const MagneticField *);
0032 };
0033
0034 #endif