#include <NtpCluster3D.h>
Public Member Functions | |
| NtpCluster3D () | |
| NtpCluster3D (Int_t nstripinit) | |
| virtual | ~NtpCluster3D () |
| virtual std::ostream & | Print (std::ostream &os) const |
| virtual void | Print (Option_t *option="") const |
| void | AddStripAt (Int_t stripindex, Int_t ind) |
| void | Clear (Option_t *="") |
Public Attributes | |
| UShort_t | index |
| Int_t | nstrip |
| Int_t * | stp |
| NtpCluster3DPulseHeight | ph |
|
|
Definition at line 24 of file NtpCluster3D.h. References index, nstrip, and stp.
|
|
|
Definition at line 44 of file NtpCluster3D.cxx. References stp. 00044 : index(0), 00045 nstrip(nstripinit),stp(0) { 00046 // Normal constructor 00047 00048 if ( nstrip ) { 00049 stp = new Int_t[nstrip]; 00050 for ( Int_t i = 0; i < nstrip; i++ ) stp[i] = -1; 00051 } 00052 00053 }
|
|
|
Definition at line 26 of file NtpCluster3D.h. References Clear(). 00026 { this -> Clear(); }
|
|
||||||||||||
|
Definition at line 22 of file NtpCluster3D.cxx. References MSG, nstrip, and stp. Referenced by NtpCluster3DModule::FillNtpCluster(). 00022 {
00023 //
00024 // Purpose: Add stripindex to fStripInd array at position ind.
00025 //
00026 // Arguments: stripindex: index of strip in assoc fStrips TClonesArray.
00027 // ind: index in fStripInd array, cannot exceed bounds
00028 // 0->fNStrip-1.
00029 //
00030
00031
00032 if ( ind < 0 || ind >= nstrip ) {
00033 MSG("NtpSR",Msg::kWarning)
00034 << "Attempt to add strip at index " << ind
00035 << " outside of array size " << nstrip << " ignored." << endl;
00036 return;
00037 }
00038
00039 stp[ind] = stripindex;
00040 return;
00041
00042 }
|
|
|
Definition at line 34 of file NtpCluster3D.h. References stp. Referenced by ~NtpCluster3D(). 00034 { if ( stp ) delete [] stp; stp = 0; }
|
|
|
Definition at line 65 of file NtpCluster3D.cxx. References Print(). 00065 {
00066 //
00067 // Purpose: Print strip in form supported by TObject::Print.
00068 //
00069 // Arguments: option (not used)
00070 //
00071
00072 Print(std::cout);
00073 return;
00074
00075 }
|
|
|
Definition at line 55 of file NtpCluster3D.cxx. Referenced by Print(). 00055 {
00056 //
00057 // Purpose: Print strip data on ostream.
00058 //
00059
00060 os << "NtpCluster3D::Print" << endl;
00061 return os;
00062
00063 }
|
|
|
Definition at line 41 of file NtpCluster3D.h. Referenced by NtpCluster3DModule::FillNtpCluster(), and NtpCluster3D(). |
|
|
Definition at line 43 of file NtpCluster3D.h. Referenced by AddStripAt(), and NtpCluster3D(). |
|
|
Definition at line 45 of file NtpCluster3D.h. Referenced by NtpCluster3DModule::FillNtpCluster(). |
|
|
Definition at line 44 of file NtpCluster3D.h. Referenced by AddStripAt(), Clear(), and NtpCluster3D(). |
1.3.9.1