Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-07-03 07:05:27

0001 // Copyright (C) 2022, 2023, Christopher Dilks
0002 // Subject to the terms in the LICENSE file found in the top-level directory.
0003 
0004 // bind IRT and DD4hep geometries for the RICHes
0005 #pragma once
0006 
0007 #include <DD4hep/Detector.h>
0008 #include <edm4eic/TrackPoint.h>
0009 #include <spdlog/logger.h>
0010 #include <functional>
0011 #include <gsl/pointers>
0012 #include <memory>
0013 #include <string>
0014 #include <vector>
0015 
0016 #include "algorithms/tracking/TrackPropagationConfig.h"
0017 
0018 namespace richgeo {
0019   class ActsGeo {
0020     public:
0021 
0022       // constructor and destructor
0023       ActsGeo(std::string detName_, gsl::not_null<const dd4hep::Detector*> det_, std::shared_ptr<spdlog::logger> log_);
0024       ~ActsGeo() {}
0025 
0026       // generate list ACTS disc surfaces, for a given radiator
0027       std::vector<eicrecon::SurfaceConfig> TrackingPlanes(int radiator, int numPlanes);
0028 
0029       // generate a cut to remove any track points that should not be used
0030       std::function<bool(edm4eic::TrackPoint)> TrackPointCut(int radiator);
0031 
0032     protected:
0033 
0034       std::string                     m_detName;
0035       gsl::not_null<const dd4hep::Detector*> m_det;
0036       std::shared_ptr<spdlog::logger> m_log;
0037 
0038     private:
0039 
0040   };
0041 }