File indexing completed on 2024-04-06 12:21:54
0001
0002
0003 #ifndef L1Trigger_TrackFindingTracklet_interface_InputLinkMemory_h
0004 #define L1Trigger_TrackFindingTracklet_interface_InputLinkMemory_h
0005
0006 #include "L1Trigger/TrackFindingTracklet/interface/MemoryBase.h"
0007
0008 #include <vector>
0009
0010 namespace trklet {
0011
0012 class Settings;
0013 class Globals;
0014 class Stub;
0015
0016 class InputLinkMemory : public MemoryBase {
0017 public:
0018 InputLinkMemory(std::string name, Settings const& settings, double, double);
0019
0020 ~InputLinkMemory() override = default;
0021
0022 void addStub(Stub* stub);
0023
0024 unsigned int nStubs() const { return stubs_.size(); }
0025
0026 Stub* getStub(unsigned int i) { return stubs_[i]; }
0027
0028 void writeStubs(bool first, unsigned int iSector);
0029
0030 void clean() override;
0031
0032 private:
0033 std::vector<Stub*> stubs_;
0034 };
0035
0036 };
0037 #endif