test
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 //
15 //
16 //--------------------------------------------------
17 #ifndef L1MUDT_DATA_BUFFER_H
18 #define L1MUDT_DATA_BUFFER_H
19 
20 //---------------
21 // C++ Headers --
22 //---------------
23 
24 #include <vector>
25 
26 //----------------------
27 // Base Class Headers --
28 //----------------------
29 
30 //------------------------------------
31 // Collaborating Class Declarations --
32 //------------------------------------
33 
35 class L1MuDTTrackSegPhi;
36 
37 // ---------------------
38 // -- Class Interface --
39 // ---------------------
40 
42 
43  public:
44 
46  typedef std::vector<L1MuDTTrackSegPhi*> TSPhivector;
47 
50 
52  virtual ~L1MuDTDataBuffer();
53 
55  void reset();
56 
58  const TSPhivector& getTSphi() const { return *m_tsphi; }
59 
61  const L1MuDTTrackSegPhi* getTSphi(int station, int address) const;
62 
64  void addTSphi(int adr, const L1MuDTTrackSegPhi&);
65 
67  void printTSphi() const;
68 
70  int numberTSphi() const;
71 
72  private:
73 
76 
77 };
78 
79 #endif
const L1MuDTSectorProcessor & m_sp
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