#include <RawDigit.h>
Inheritance diagram for rawdata::RawDigit:

Public Member Functions | |
| RawDigit () | |
| RawDigit (unsigned int channel, std::vector< short > adclist, std::vector< short > tdclist) | |
| ~RawDigit () | |
| unsigned int | NADC () const |
| unsigned int | NTDC () const |
| short | ADC (unsigned int i) const |
| short | TDC (unsigned int i) const |
| unsigned int | Channel () const |
| void | SetADC (unsigned int i, short iADC) |
| void | SetTDC (unsigned int i, short iTDC) |
| void | SetChannel (unsigned int iChan) |
| void | Set (unsigned int iChan, unsigned int i, short iADC, short iTDC) |
| short | TrackID () const |
| void | SetTrackID (short id) |
Public Attributes | |
| unsigned int | fChannel |
| channel ID | |
| std::vector< short > | fADC |
| list of ADC(-like) charge values | |
| std::vector< short > | fTDC |
| list of TDC(-like) charge values | |
Private Member Functions | |
| ClassDef (RawDigit, 3) | |
Private Attributes | |
| int | fMCBits |
|
|
Definition at line 21 of file RawDigit.cxx.
|
|
||||||||||||||||
|
Definition at line 27 of file RawDigit.cxx. 00029 : TObject(), 00030 fChannel(channel), 00031 fADC(adclist), 00032 fTDC(tdclist) 00033 { 00034 }
|
|
|
Definition at line 38 of file RawDigit.cxx. 00039 {
00040 }
|
|
|
Definition at line 43 of file RawDigit.cxx. References assert_jobc, and fADC. Referenced by mcchk::DetAna::Ana(), evd::Display3D::DrawRawData(), clusterss::MakeClusterSS::FindAllTransverseWindows(), calib::Calibrator::GetPE(), calib::Calibrator::GetTNS(), clusterss::MakeClusterSS::MakePlaneClusters(), clusterss::CompareClusters::MatchCells(), clusterss::MakeClusterSS::PruneCellList(), cellhitmerge::CellHitMerge::Reco(), and clusterss::MakeClusterSS::SplitIntoViews(). 00044 {
00045 char msg[256];
00046 sprintf(msg,"RawDigit::ADC(%d) out of range!",i);
00047 assert_jobc(i<fADC.size(),msg);
00048 return fADC[i];
00049 }
|
|
|
Definition at line 35 of file RawDigit.h. Referenced by cmap::CMap::GetCell(), and cmap::CMap::GetPlane(). 00035 { return fChannel;}
|
|
||||||||||||
|
|
|
|
Definition at line 31 of file RawDigit.h. Referenced by mcchk::DetAna::Ana(), rsim::SimpleReadout::CreateRawDigits(), evd::Display3D::DrawRawData(), and calib::Calibrator::GetTNS(). 00031 { return fADC.size(); }
|
|
|
Definition at line 32 of file RawDigit.h. 00032 { return fTDC.size(); }
|
|
||||||||||||||||||||
|
Definition at line 79 of file RawDigit.cxx. References fADC, fChannel, and fTDC. 00081 {
00082 fChannel = channel;
00083 if (fTDC.size()<i+1) fTDC.resize(i+1);
00084 fTDC[i] = tdc;
00085 if (fADC.size()<i+1) fADC.resize(i+1);
00086 fADC[i] = adc;
00087 }
|
|
||||||||||||
|
Definition at line 63 of file RawDigit.cxx. References fADC. Referenced by rsim::SimpleReadout::FPGA_DualCorrelatedSampling(), and rsim::SimpleReadout::FPGA_MatchedFiltering().
|
|
|
Definition at line 40 of file RawDigit.h. Referenced by rsim::SimpleReadout::CreateRawDigits(). 00040 { fChannel = iChan; }
|
|
||||||||||||
|
Definition at line 71 of file RawDigit.cxx. References fTDC. Referenced by rsim::SimpleReadout::FPGA_DualCorrelatedSampling(), and rsim::SimpleReadout::FPGA_MatchedFiltering().
|
|
|
Definition at line 59 of file RawDigit.h. Referenced by rsim::SimpleReadout::CreateRawDigits(). 00059 { fMCBits = id; }
|
|
|
Definition at line 53 of file RawDigit.cxx. References assert_jobc, and fTDC. Referenced by rsim::SimpleReadout::CreateRawDigits(), calib::Calibrator::GetTNS(), raw_digit_sort(), and cellhitmerge::CellHitMerge::Reco(). 00054 {
00055 char msg[256];
00056 sprintf(msg,"RawDigit::TDC(%d) out of range!",i);
00057 assert_jobc(i<fTDC.size(),msg);
00058 return fTDC[i];
00059 }
|
|
|
Definition at line 58 of file RawDigit.h. 00058 { return (short)fMCBits; }
|
|
|
list of ADC(-like) charge values
Definition at line 51 of file RawDigit.h. |
|
|
channel ID
Definition at line 50 of file RawDigit.h. Referenced by Set(). |
|
|
Definition at line 62 of file RawDigit.h. |
|
|
list of TDC(-like) charge values
Definition at line 52 of file RawDigit.h. |
1.3.9.1