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
CSCTMBMiniScope::getSize
int getSize() const
Definition: CSCTMBMiniScope.h:18
CSCTMBMiniScope::miniScopeTbinPreTrigger
int miniScopeTbinPreTrigger
Definition: CSCTMBMiniScope.h:33
CSCTMBMiniScope::getTbinPreTrigger
int getTbinPreTrigger() const
Definition: CSCTMBMiniScope.h:20
CSCTMBMiniScope::getTbinCount
int getTbinCount() const
Definition: CSCTMBMiniScope.h:19
CSCTMBMiniScope::getChannelsInTbin
std::vector< int > getChannelsInTbin(int data) const
UnpackScope.
Definition: CSCTMBMiniScope.cc:41
CSCTMBMiniScope::miniScopeData
std::vector< int > miniScopeData
stores all mini scope adresses
Definition: CSCTMBMiniScope.h:31
CSCTMBMiniScope::getData
std::vector< int > getData() const
Definition: CSCTMBMiniScope.h:22
CSCTMBMiniScope::print
void print() const
Definition: CSCTMBMiniScope.cc:53
visDQMUpload.buf
buf
Definition: visDQMUpload.py:154
CSCTMBMiniScope::UnpackMiniScope
int UnpackMiniScope(const uint16_t *buf, int Line6b07, int Line6E07)
Print the maped content of the miniscope.
Definition: CSCTMBMiniScope.cc:17
CSCTMBMiniScope
Definition: CSCTMBMiniScope.h:14
CSCTMBMiniScope::getAdr
std::vector< int > getAdr() const
Definition: CSCTMBMiniScope.h:21
CSCTMBMiniScope::size_
unsigned size_
Definition: CSCTMBMiniScope.h:34
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
CSCTMBMiniScope::miniScopeAdress
std::vector< int > miniScopeAdress
Definition: CSCTMBMiniScope.h:30
CSCTMBMiniScope::CSCTMBMiniScope
CSCTMBMiniScope()
Definition: CSCTMBMiniScope.h:16
CSCTMBMiniScope::miniScopeTbinCount
int miniScopeTbinCount
stores all mini scope data
Definition: CSCTMBMiniScope.h:32