CMS 3D CMS Logo

CSCTMBMiniScope.h
Go to the documentation of this file.
1 //_______________________________________
2 //
3 // Class for TMB Logic Analyzer Data
4 // CSCTMBMiniScope July 2010 Alexander Sakharov (Wayne State University)
5 //_______________________________________
6 //
7 
8 #ifndef CSCTMBMiniScope_h
9 #define CSCTMBMiniScope_h
10 #include <vector>
11 #include <map>
12 
14 public:
15  CSCTMBMiniScope() { size_ = 0; } //default constructor
16  CSCTMBMiniScope(const uint16_t *buf, int Line6b07, int Line6E07);
17  int getSize() const { return size_; }
18  int getTbinCount() const { return miniScopeTbinCount; }
20  std::vector<int> getAdr() const { return miniScopeAdress; }
21  std::vector<int> getData() const { return miniScopeData; }
22  std::vector<int> getChannelsInTbin(int data) const;
23 
24  void print() const;
25 
26 private:
27  int UnpackMiniScope(const uint16_t *buf, int Line6b07, int Line6E07);
28 
29  std::vector<int> miniScopeAdress;
30  std::vector<int> miniScopeData;
33  unsigned size_;
34 };
35 
36 #endif
std::vector< int > getData() const
std::vector< int > getAdr() const
int getSize() const
std::vector< int > miniScopeAdress
std::vector< int > miniScopeData
stores all mini scope adresses
std::vector< int > getChannelsInTbin(int data) const
UnpackScope.
void print() const
int miniScopeTbinCount
stores all mini scope data
int getTbinCount() const
int getTbinPreTrigger() const
int UnpackMiniScope(const uint16_t *buf, int Line6b07, int Line6E07)
Print the maped content of the miniscope.
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79