CMS 3D CMS Logo

TrackletProjectionsMemory.h
Go to the documentation of this file.
1 // TrackletProjectionsMemory: this class holds the
2 #ifndef L1Trigger_TrackFindingTracklet_interface_TrackletProjectionsMemory_h
3 #define L1Trigger_TrackFindingTracklet_interface_TrackletProjectionsMemory_h
4 
6 
7 #include <string>
8 #include <vector>
9 
10 namespace trklet {
11 
12  class Settings;
13  class Tracklet;
14 
16  public:
18 
19  ~TrackletProjectionsMemory() override = default;
20 
21  void addProj(Tracklet* tracklet);
22 
23  unsigned int nTracklets() const { return tracklets_.size(); }
24 
25  Tracklet* getTracklet(unsigned int i) { return tracklets_[i]; }
26 
27  void clean() override;
28 
29  void writeTPROJ(bool first, unsigned int iSector);
30 
31  int layer() const { return layer_; }
32  int disk() const { return disk_; }
33 
34  private:
35  std::vector<Tracklet*> tracklets_;
36 
37  int layer_;
38  int disk_;
39  };
40 
41 }; // namespace trklet
42 #endif
mps_fire.i
i
Definition: mps_fire.py:428
trklet::TrackletProjectionsMemory::writeTPROJ
void writeTPROJ(bool first, unsigned int iSector)
Definition: TrackletProjectionsMemory.cc:37
trklet::TrackletProjectionsMemory
Definition: TrackletProjectionsMemory.h:15
trklet::Settings
Definition: Settings.h:52
trklet::TrackletProjectionsMemory::~TrackletProjectionsMemory
~TrackletProjectionsMemory() override=default
trklet::TrackletProjectionsMemory::clean
void clean() override
Definition: TrackletProjectionsMemory.cc:35
trklet::Tracklet
Definition: Tracklet.h:27
first
auto first
Definition: CAHitNtupletGeneratorKernelsImpl.h:125
trklet::MemoryBase
Definition: MemoryBase.h:13
trklet::TrackletProjectionsMemory::disk
int disk() const
Definition: TrackletProjectionsMemory.h:32
trklet::TrackletProjectionsMemory::getTracklet
Tracklet * getTracklet(unsigned int i)
Definition: TrackletProjectionsMemory.h:25
trklet::TrackletProjectionsMemory::disk_
int disk_
Definition: TrackletProjectionsMemory.h:38
trklet::TrackletProjectionsMemory::layer
int layer() const
Definition: TrackletProjectionsMemory.h:31
trklet::TrackletProjectionsMemory::TrackletProjectionsMemory
TrackletProjectionsMemory(std::string name, Settings const &settings)
Definition: TrackletProjectionsMemory.cc:10
trklet
Definition: AllInnerStubsMemory.h:10
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
trklet::TrackletProjectionsMemory::nTracklets
unsigned int nTracklets() const
Definition: TrackletProjectionsMemory.h:23
trklet::TrackletProjectionsMemory::addProj
void addProj(Tracklet *tracklet)
Definition: TrackletProjectionsMemory.cc:17
trklet::TrackletProjectionsMemory::tracklets_
std::vector< Tracklet * > tracklets_
Definition: TrackletProjectionsMemory.h:35
MemoryBase.h
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
trklet::TrackletProjectionsMemory::layer_
int layer_
Definition: TrackletProjectionsMemory.h:37