File indexing completed on 2024-04-06 12:21:53
0001
0002
0003 #ifndef L1Trigger_TrackFindingTracklet_interface_DTCLinkMemory_h
0004 #define L1Trigger_TrackFindingTracklet_interface_DTCLinkMemory_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 class L1TStub;
0016
0017 class DTCLinkMemory : public MemoryBase {
0018 public:
0019 DTCLinkMemory(std::string name, Settings const& settings, double, double);
0020
0021 ~DTCLinkMemory() override = default;
0022
0023 void addStub(const L1TStub& al1stub, const Stub& stub);
0024
0025 unsigned int nStubs() const { return stubs_.size(); }
0026
0027 Stub* getStub(unsigned int i) { return stubs_[i]; }
0028
0029 void writeStubs(bool first, unsigned int iSector);
0030
0031 void clean() override;
0032
0033 private:
0034 std::vector<Stub*> stubs_;
0035 };
0036
0037 };
0038 #endif