CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1MuDTDataBuffer.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
17 //
18 //--------------------------------------------------
19 #ifndef L1MUDT_DATA_BUFFER_H
20 #define L1MUDT_DATA_BUFFER_H
21 
22 //---------------
23 // C++ Headers --
24 //---------------
25 
26 #include <vector>
27 
28 //----------------------
29 // Base Class Headers --
30 //----------------------
31 
32 //------------------------------------
33 // Collaborating Class Declarations --
34 //------------------------------------
35 
37 class L1MuDTTrackSegPhi;
38 
39 // ---------------------
40 // -- Class Interface --
41 // ---------------------
42 
44 
45  public:
46 
48  typedef std::vector<L1MuDTTrackSegPhi*> TSPhivector;
49 
52 
54  virtual ~L1MuDTDataBuffer();
55 
57  void reset();
58 
60  const TSPhivector& getTSphi() const { return *m_tsphi; }
61 
63  const L1MuDTTrackSegPhi* getTSphi(int station, int address) const;
64 
66  void addTSphi(int adr, const L1MuDTTrackSegPhi&);
67 
69  void printTSphi() const;
70 
72  int numberTSphi() const;
73 
74  private:
75 
78 
79 };
80 
81 #endif
const L1MuDTSectorProcessor & m_sp
char * address
Definition: mlp_lapack.h:14
void printTSphi() const
print all phi track segments which are in the buffer
L1MuDTDataBuffer(const L1MuDTSectorProcessor &)
constructor
virtual ~L1MuDTDataBuffer()
destructor
void reset()
clear Data Buffer
const TSPhivector & getTSphi() const
get all track segments from the buffer
TSPhivector * m_tsphi
int numberTSphi() const
return number of non-empty phi track segments
void addTSphi(int adr, const L1MuDTTrackSegPhi &)
add new phi track segment to the Data Buffer
std::vector< L1MuDTTrackSegPhi * > TSPhivector
container to store phi track segments