File indexing completed on 2024-11-16 10:01:28
0001
0002
0003
0004 #include <cmath>
0005
0006 #include "Gaudi/Property.h"
0007 #include "GaudiAlg/GaudiAlgorithm.h"
0008 #include "GaudiAlg/GaudiTool.h"
0009 #include "GaudiAlg/Transformer.h"
0010 #include "GaudiKernel/ToolHandle.h"
0011
0012 #include <k4FWCore/DataHandle.h>
0013 #include <k4Interface/IGeoSvc.h>
0014 #include "ActsExamples/EventData/ProtoTrack.hpp"
0015 #include "ActsExamples/EventData/Track.hpp"
0016
0017 #include "Math/Vector3D.h"
0018
0019 #include "edm4eic/TrackerHitCollection.h"
0020
0021 namespace Jug::Reco {
0022
0023
0024
0025
0026
0027 class HoughTransformProtoTracks : public GaudiAlgorithm {
0028 private:
0029 DataHandle<edm4eic::TrackerHitCollection> m_inputTrackerHits{"inputTrackerHits", Gaudi::DataHandle::Reader, this};
0030 DataHandle<ActsExamples::ProtoTrackContainer> m_outputProtoTracks{"outputProtoTracks", Gaudi::DataHandle::Writer, this};
0031
0032 public:
0033 HoughTransformProtoTracks(const std::string& name, ISvcLocator* svcLoc) : GaudiAlgorithm(name, svcLoc) {
0034 declareProperty("inputTrackerHits", m_inputTrackerHits, "tracker hits whose indices are used in proto-tracks");
0035 declareProperty("outputProtoTracks", m_outputProtoTracks, "grouped hit indicies");
0036 }
0037
0038 StatusCode initialize() override {
0039 if (GaudiAlgorithm::initialize().isFailure())
0040 return StatusCode::FAILURE;
0041 return StatusCode::SUCCESS;
0042 }
0043
0044 StatusCode execute() override {
0045
0046
0047
0048
0049
0050 return StatusCode::SUCCESS;
0051 }
0052 };
0053
0054 DECLARE_COMPONENT(HoughTransformProtoTracks)
0055
0056 }