CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2_patch1/src/RecoBTag/BTagTools/interface/SignedDecayLength3D.h

Go to the documentation of this file.
00001 #ifndef _SIGNEDDECAYLENGHT3D_H_
00002 #define _SIGNEDDECAYLENGHT3D_H_
00003 #include "TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h"
00004 #include "DataFormats/GeometryCommonDetAlgo/interface/Measurement1D.h"
00005 #include "TrackingTools/TransientTrack/interface/TransientTrack.h"
00006 #include "DataFormats/VertexReco/interface/Vertex.h"
00007 #include "DataFormats/GeometryVector/interface/GlobalVector.h"
00008 #include <utility>
00009 
00010 
00017 class SignedDecayLength3D  {
00018 
00019 public:
00020 
00021   // construct
00022 
00023   SignedDecayLength3D(){};
00024 
00025   static std::pair<bool,Measurement1D> apply(const reco::TransientTrack & track, 
00026                             const GlobalVector & direction, const reco::Vertex & vertex) ;
00027 
00028 
00029   int id() const {return 3;}
00030  
00031 private:
00032 
00033   static TrajectoryStateOnSurface closestApproachToJet(const FreeTrajectoryState &, const reco::Vertex &, const GlobalVector &,  const MagneticField *) ;
00034 
00035  
00036 };
00037 
00038 
00039 
00040 #endif
00041 
00042 
00043 
00044 
00045 
00046 
00047 
00048 
00049 
00050