Go to the documentation of this file.00001 #ifndef ConversionHitChecker_H
00002 #define ConversionHitChecker_H
00003
00017
00018 #include "DataFormats/TrackReco/interface/Track.h"
00019 #include "DataFormats/TrackReco/interface/TrackExtra.h"
00020 #include "DataFormats/VertexReco/interface/Vertex.h"
00021 #include "DataFormats/VertexReco/interface/VertexFwd.h"
00022 #include "DataFormats/GeometryCommonDetAlgo/interface/Measurement1DFloat.h"
00023
00024
00025 #include "FWCore/Framework/interface/ESHandle.h"
00026 #include "FWCore/Framework/interface/EventSetup.h"
00027 #include "FWCore/Framework/interface/Event.h"
00028 #include <utility>
00029
00030 class Trajectory;
00031 class ConversionHitChecker {
00032
00033 public:
00034
00035 ConversionHitChecker() {}
00036 ~ConversionHitChecker() {}
00037
00038
00039 std::pair<uint8_t,Measurement1DFloat> nHitsBeforeVtx(const Trajectory &traj, const reco::Vertex &vtx,
00040 double sigmaTolerance = 3.0) const;
00041
00042 uint8_t nSharedHits(const reco::Track &trk1, const reco::Track &trk2) const;
00043
00044
00045
00046
00047 };
00048
00049 #endif // ConversionHitChecker_H
00050
00051