File indexing completed on 2024-04-06 12:24:57
0001 #ifndef ConversionHitChecker_H
0002 #define ConversionHitChecker_H
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 #include "DataFormats/TrackReco/interface/Track.h"
0019 #include "DataFormats/TrackReco/interface/TrackExtra.h"
0020 #include "DataFormats/VertexReco/interface/Vertex.h"
0021 #include "DataFormats/VertexReco/interface/VertexFwd.h"
0022 #include "DataFormats/GeometryCommonDetAlgo/interface/Measurement1DFloat.h"
0023
0024
0025 #include "FWCore/Framework/interface/ESHandle.h"
0026 #include "FWCore/Framework/interface/EventSetup.h"
0027 #include "FWCore/Framework/interface/Event.h"
0028 #include <utility>
0029
0030 class Trajectory;
0031 class ConversionHitChecker {
0032 public:
0033 ConversionHitChecker() {}
0034 ~ConversionHitChecker() {}
0035
0036 std::pair<uint8_t, Measurement1DFloat> nHitsBeforeVtx(const reco::TrackExtra &track,
0037 const reco::Vertex &vtx,
0038 float sigmaTolerance = 3.0) const;
0039
0040 uint8_t nSharedHits(const reco::Track &trk1, const reco::Track &trk2) const;
0041 };
0042
0043 #endif