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 EventFilter_CSCRawToDigi_CSCTMBMiniScope_h
9 #define EventFilter_CSCRawToDigi_CSCTMBMiniScope_h
10 #include <vector>
11 #include <map>
12 #include <cstdint>
13 
15 public:
16  CSCTMBMiniScope() { size_ = 0; } //default constructor
17  CSCTMBMiniScope(const uint16_t *buf, int Line6b07, int Line6E07);
18  int getSize() const { return size_; }
19  int getTbinCount() const { return miniScopeTbinCount; }
21  std::vector<int> getAdr() const { return miniScopeAdress; }
22  std::vector<int> getData() const { return miniScopeData; }
23  std::vector<int> getChannelsInTbin(int data) const;
24 
25  void print() const;
26 
27 private:
28  int UnpackMiniScope(const uint16_t *buf, int Line6b07, int Line6E07);
29 
30  std::vector<int> miniScopeAdress;
31  std::vector<int> miniScopeData;
34  unsigned size_;
35 };
36 
37 #endif
int getTbinCount() const
int getTbinPreTrigger() const
std::vector< int > miniScopeAdress
std::vector< int > miniScopeData
stores all mini scope adresses
std::vector< int > getAdr() const
std::vector< int > getData() const
std::vector< int > getChannelsInTbin(int data) const
UnpackScope.
int miniScopeTbinCount
stores all mini scope data
int UnpackMiniScope(const uint16_t *buf, int Line6b07, int Line6E07)
Print the maped content of the miniscope.
void print() const
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
int getSize() const