File indexing completed on 2024-04-06 12:29:15
0001 #ifndef usercode_PrimaryVertexAnalyzer_VertexTimeLegacy4D_h
0002 #define usercode_PrimaryVertexAnalyzer_VertexTimeLegacy4D_h
0003
0004 #include "VertexTimeAlgorithmBase.h"
0005
0006 #include "FWCore/Utilities/interface/EDGetToken.h"
0007 #include "DataFormats/Common/interface/ValueMap.h"
0008 #include "TrackingTools/TransientTrack/interface/TransientTrackBuilder.h"
0009
0010 class VertexTimeAlgorithmLegacy4D : public VertexTimeAlgorithmBase {
0011 public:
0012 VertexTimeAlgorithmLegacy4D(const edm::ParameterSet& conf, edm::ConsumesCollector& iC);
0013 ~VertexTimeAlgorithmLegacy4D() override = default;
0014
0015 static void fillPSetDescription(edm::ParameterSetDescription& iDesc);
0016
0017 void setEvent(edm::Event& iEvent, edm::EventSetup const& iSetup) override;
0018
0019 bool vertexTime(float& vtxTime, float& vtxTimeError, TransientVertex const& vtx) const override;
0020 };
0021
0022 #endif