#include <CSCTMBMiniScope.h>
Public Member Functions | |
CSCTMBMiniScope () | |
CSCTMBMiniScope (unsigned short *buf, int Line6b07, int Line6E07) | |
std::vector< int > | getAdr () const |
std::vector< int > | getChannelsInTbin (int data) const |
UnpackScope. More... | |
std::vector< int > | getData () const |
int | getSize () const |
int | getTbinCount () const |
int | getTbinPreTrigger () const |
void | print () const |
Private Member Functions | |
int | UnpackMiniScope (unsigned short *buf, int Line6b07, int Line6E07) |
Print the maped content of the miniscope. More... | |
Private Attributes | |
std::vector< int > | miniScopeAdress |
std::vector< int > | miniScopeData |
stores all mini scope adresses More... | |
int | miniScopeTbinCount |
stores all mini scope data More... | |
int | miniScopeTbinPreTrigger |
unsigned | size_ |
Definition at line 13 of file CSCTMBMiniScope.h.
|
inline |
CSCTMBMiniScope::CSCTMBMiniScope | ( | unsigned short * | buf, |
int | Line6b07, | ||
int | Line6E07 | ||
) |
Definition at line 13 of file CSCTMBMiniScope.cc.
References size_, and UnpackMiniScope().
|
inline |
std::vector< int > CSCTMBMiniScope::getChannelsInTbin | ( | int | data | ) | const |
UnpackScope.
Definition at line 48 of file CSCTMBMiniScope.cc.
References gen::k.
Referenced by getData(), and print().
|
inline |
Definition at line 23 of file CSCTMBMiniScope.h.
References data, getChannelsInTbin(), miniScopeData, print(), and UnpackMiniScope().
Referenced by print().
|
inline |
|
inline |
Definition at line 20 of file CSCTMBMiniScope.h.
References miniScopeTbinCount.
|
inline |
void CSCTMBMiniScope::print | ( | void | ) | const |
Definition at line 61 of file CSCTMBMiniScope.cc.
References gather_cfg::cout, TauDecayModes::dec, getAdr(), getChannelsInTbin(), getData(), and gen::k.
Referenced by getData().
|
private |
Print the maped content of the miniscope.
Get tbin and tbin before pre-trigger
end if((Line6E07-Line6b07)
Definition at line 20 of file CSCTMBMiniScope.cc.
References mps_fire::i, LogTrace, miniScopeAdress, miniScopeData, miniScopeTbinCount, and miniScopeTbinPreTrigger.
Referenced by CSCTMBMiniScope(), and getData().
|
private |
Definition at line 32 of file CSCTMBMiniScope.h.
Referenced by getAdr(), and UnpackMiniScope().
|
private |
stores all mini scope adresses
Definition at line 33 of file CSCTMBMiniScope.h.
Referenced by getData(), and UnpackMiniScope().
|
private |
stores all mini scope data
Definition at line 34 of file CSCTMBMiniScope.h.
Referenced by getTbinCount(), and UnpackMiniScope().
|
private |
Definition at line 35 of file CSCTMBMiniScope.h.
Referenced by getTbinPreTrigger(), and UnpackMiniScope().
|
private |
Definition at line 36 of file CSCTMBMiniScope.h.
Referenced by CSCTMBMiniScope(), and getSize().