#include <PulserNearDigit.h>
Public Member Functions | |
| PulserNearDigit () | |
| virtual | ~PulserNearDigit () |
| void | New (const RawDigit &rdit) |
| void | Add (const RawDigit &rdit) |
| Int_t | GetFirstTDC () const |
| Int_t | GetLastTDC () const |
| Int_t | GetADC () const |
| Int_t | GetTDC () const |
| VldTimeStamp | GetCrateT0 () const |
| Char_t | GetErrorCode () const |
| Char_t | GetDataType () const |
| RawChannelId | GetChannel () const |
Private Attributes | |
| RawDigit | fFirstDigit |
| Int_t | fAdc |
| Int_t | fFirstTS |
| Int_t | fLastTS |
|
|
Definition at line 17 of file PulserNearDigit.cxx.
|
|
|
Definition at line 25 of file PulserNearDigit.cxx. 00026 {
00027
00028 }
|
|
|
Definition at line 39 of file PulserNearDigit.cxx. References fAdc, fFirstDigit, fLastTS, RawDigit::GetADC(), RawDigit::GetChannel(), RawChannelId::GetEncoded(), RawDigit::GetTDC(), and MSG. 00039 {
00040 if(rdit.GetChannel().GetEncoded()!=fFirstDigit.GetChannel().GetEncoded()) {
00041 MSG("Pulser",Msg::kWarning)<< "Bugger Channels aren't the same: "
00042 << rdit << "\t" << fFirstDigit << endl;
00043 }
00044 else {
00045 fAdc+=rdit.GetADC();
00046 fLastTS=rdit.GetTDC();
00047 }
00048 }
|
|
|
Definition at line 21 of file PulserNearDigit.h. Referenced by PulserSummary::AddDigit(). 00021 { return fAdc; }
|
|
|
Definition at line 27 of file PulserNearDigit.h. Referenced by PulserFromRawSummaryList::Add(), and PulserSummary::AddDigit(). 00027 { return fFirstDigit.GetChannel();}
|
|
|
Definition at line 23 of file PulserNearDigit.h. 00023 { return fFirstDigit.GetCrateT0();}
|
|
|
Definition at line 25 of file PulserNearDigit.h. 00025 { return fFirstDigit.GetDataType(); }
|
|
|
Definition at line 24 of file PulserNearDigit.h. 00024 { return fFirstDigit.GetErrorCode(); }
|
|
|
Definition at line 19 of file PulserNearDigit.h. 00019 {return fFirstTS;}
|
|
|
Definition at line 20 of file PulserNearDigit.h. 00020 {return fLastTS;}
|
|
|
Definition at line 22 of file PulserNearDigit.h. 00022 { return fFirstDigit.GetTDC(); }
|
|
|
Definition at line 32 of file PulserNearDigit.cxx. References fAdc, fFirstDigit, fFirstTS, fLastTS, RawDigit::GetADC(), and RawDigit::GetTDC(). 00032 {
00033 fFirstDigit=rdit;
00034 fAdc=rdit.GetADC();
00035 fFirstTS=rdit.GetTDC();
00036 fLastTS=rdit.GetTDC();
00037 }
|
|
|
Definition at line 32 of file PulserNearDigit.h. |
|
|
Definition at line 30 of file PulserNearDigit.h. |
|
|
Definition at line 33 of file PulserNearDigit.h. Referenced by New(). |
|
|
Definition at line 34 of file PulserNearDigit.h. |
1.3.9.1