#include <NtpSRShieldStrip.h>
Public Member Functions | |
| NtpSRShieldStrip () | |
| NtpSRShieldStrip (const NtpSRShieldStrip &other) | |
| virtual | ~NtpSRShieldStrip () |
| virtual std::ostream & | Print (std::ostream &os) const |
| virtual void | Print (Option_t *option="") const |
Public Attributes | |
| UShort_t | index |
| Int_t | ndigit |
| Int_t | pln |
| Int_t | plank |
| Float_t | x |
| Float_t | y |
| Float_t | z [2] |
| Int_t | adc [2] |
| Int_t | pmtindex [2] |
| Int_t | pmtpixel [2] |
| Float_t | wlspigtail [2] |
| Float_t | clearlen [2] |
| Double_t | time [2] |
| Double_t | timeraw [2] |
Private Member Functions | |
| void | UnpackVAChannelId (Int_t pmtindex, Int_t &crate, Int_t &varcId, Int_t &vmm, Int_t &vaADCSel, Int_t &vaChip) const |
|
|
Definition at line 20 of file NtpSRShieldStrip.cxx. References adc, clearlen, pmtindex, pmtpixel, time, timeraw, wlspigtail, and z. 00020 : index(0),ndigit(0),pln(0),plank(0), 00021 x(0),y(0) { 00022 // 00023 // Purpose: Default constructor 00024 // 00025 00026 for ( int i = 0; i < 2; i++ ) { 00027 z[i] = 0; 00028 adc[i] = 0; 00029 wlspigtail[i] = 0; 00030 clearlen[i] = 0; 00031 time[i] = -1; 00032 timeraw[i] = -1; 00033 pmtindex[i] = -1; 00034 pmtpixel[i] = -1; 00035 } 00036 00037 00038 }
|
|
|
Definition at line 40 of file NtpSRShieldStrip.cxx. References adc, clearlen, index, ndigit, plank, pln, pmtindex, pmtpixel, time, timeraw, wlspigtail, x, y, and z. 00040 : TObject() {
00041 //
00042 // Purpose: Copy constructor
00043 //
00044
00045 index = other.index;
00046 ndigit = other.ndigit;
00047 pln = other.pln;
00048 plank = other.plank;
00049 x = other.x;
00050 y = other.y;
00051 for ( int i = 0; i < 2; i++ ) {
00052 z[i] = other.z[i];
00053 adc[i] = other.adc[i];
00054 wlspigtail[i] = other.wlspigtail[i];
00055 clearlen[i] = other.clearlen[i];
00056 time[i] = other.time[i];
00057 timeraw[i] = other.timeraw[i];
00058 pmtindex[i] = other.pmtindex[i];
00059 pmtpixel[i] = other.pmtpixel[i];
00060 }
00061
00062
00063 }
|
|
|
Definition at line 23 of file NtpSRShieldStrip.h. 00023 {}
|
|
|
Definition at line 100 of file NtpSRShieldStrip.cxx. References Print(). 00100 {
00101 //
00102 // Purpose: Print shield strip data in form supported by TObject::Print.
00103 //
00104 // Arguments: option (not used)
00105 //
00106
00107 Print(std::cout);
00108 return;
00109
00110 }
|
|
|
Definition at line 65 of file NtpSRShieldStrip.cxx. References adc, clearlen, index, ndigit, plank, pln, pmtindex, pmtpixel, time, timeraw, UnpackVAChannelId(), wlspigtail, x, y, and z. Referenced by Print(). 00065 {
00066 //
00067 // Purpose: Print shield strip data on ostream.
00068 //
00069
00070 os << "NtpSRShieldStrip::Print" << endl;
00071 os << "index " << index << " ndigit " << ndigit << " pln " << pln
00072 << " plank " << plank
00073 << " (x0,y0)(m)(" << x << "," << y << ")"
00074 << " zend(S,N)(m)(" << z[0] << "," << z[1] << ")" << endl;
00075
00076 Int_t crate,varc,vmm,adcsel,chip;
00077 if ( pmtindex[0] >= 0 ) {
00078 UnpackVAChannelId(pmtindex[0],crate,varc,vmm,adcsel,chip);
00079 os << "S: crate/varc/vmm/adcsel/chip/pixel "
00080 << crate << "/" << varc << "/" << vmm << "/" << adcsel
00081 << "/" << chip << "/" << pmtpixel[0] << "\n adc " << adc[0]
00082 << " t(corr,raw)(nsec)(" << time[0]/Munits::nanosecond << ","
00083 << timeraw[0]/Munits::nanosecond << ")" << " wlspigtail "
00084 << wlspigtail[0] << " clearlen " << clearlen[0] << endl;
00085 }
00086 if ( pmtindex[1] >= 0 ) {
00087 UnpackVAChannelId(pmtindex[1],crate,varc,vmm,adcsel,chip);
00088 os << "N: crate/varc/vmm/adcsel/chip/pixel "
00089 << crate << "/" << varc << "/" << vmm << "/" << adcsel
00090 << "/" << chip << "/" << pmtpixel[1] << "\n adc " << adc[1]
00091 << " t(corrected,raw)(nsec)(" << time[1]/Munits::nanosecond
00092 << timeraw[1]/Munits::nanosecond << ")" << " wlspigtail "
00093 << wlspigtail[1] << " clearlen " << clearlen[1] << endl;
00094 }
00095
00096 return os;
00097
00098 }
|
|
||||||||||||||||||||||||||||
|
Definition at line 112 of file NtpSRShieldStrip.cxx. Referenced by Print(). 00113 {
00114
00115 crate = pmtindex/108;
00116 varcid = (pmtindex - crate*108)/36;
00117 vmm = (pmtindex-crate*108-varcid*36)/6;
00118 vaadcsel = (pmtindex-crate*108-varcid*36-vmm*6)/3;
00119 vachip = pmtindex-crate*108-varcid*36-vmm*6-vaadcsel*3;
00120
00121 return;
00122
00123 }
|
|
|
Definition at line 48 of file NtpSRShieldStrip.h. Referenced by NtpSRModule::FillNtpShieldStrip(), NtpSRShieldStrip(), and Print(). |
|
|
Definition at line 52 of file NtpSRShieldStrip.h. Referenced by NtpSRModule::FillNtpShieldStrip(), NtpSRShieldStrip(), and Print(). |
|
|
Definition at line 41 of file NtpSRShieldStrip.h. Referenced by NtpSRModule::FillNtpShieldStrip(), NtpSRShieldStrip(), and Print(). |
|
|
Definition at line 42 of file NtpSRShieldStrip.h. Referenced by NtpSRModule::FillNtpShieldStrip(), NtpSRShieldStrip(), and Print(). |
|
|
Definition at line 44 of file NtpSRShieldStrip.h. Referenced by ShieldRejVarAna::Analyze(), NtpSRModule::FillNtpShieldStrip(), NtpSRShieldStrip(), and Print(). |
|
|
Definition at line 43 of file NtpSRShieldStrip.h. Referenced by ShieldRejVarAna::Analyze(), NtpSRModule::FillNtpShieldStrip(), NtpSRShieldStrip(), and Print(). |
|
|
Definition at line 49 of file NtpSRShieldStrip.h. Referenced by NtpSRModule::FillNtpShieldStrip(), NtpSRShieldStrip(), and Print(). |
|
|
Definition at line 50 of file NtpSRShieldStrip.h. Referenced by NtpSRModule::FillNtpShieldStrip(), NtpSRShieldStrip(), and Print(). |
|
|
Definition at line 55 of file NtpSRShieldStrip.h. Referenced by ShieldRejVarAna::Analyze(), MadScanDisplay::Display(), MadEvDisplay::Display(), NtpSRModule::FillNtpShieldStrip(), NtpSRShieldStrip(), and Print(). |
|
|
Definition at line 56 of file NtpSRShieldStrip.h. Referenced by NtpSRModule::FillNtpShieldStrip(), NtpSRShieldStrip(), and Print(). |
|
|
Definition at line 51 of file NtpSRShieldStrip.h. Referenced by NtpSRModule::FillNtpShieldStrip(), NtpSRShieldStrip(), and Print(). |
|
|
Definition at line 45 of file NtpSRShieldStrip.h. Referenced by MadScanDisplay::Display(), MadEvDisplay::Display(), NtpSRShieldStrip(), and Print(). |
|
|
Definition at line 46 of file NtpSRShieldStrip.h. Referenced by MadScanDisplay::Display(), MadEvDisplay::Display(), NtpSRShieldStrip(), and Print(). |
|
|
Definition at line 47 of file NtpSRShieldStrip.h. Referenced by NtpSRModule::FillNtpShieldStrip(), NtpSRShieldStrip(), and Print(). |
1.3.9.1