#include <NtpSRCluster.h>
Public Member Functions | |
| NtpSRCluster () | |
| NtpSRCluster (Int_t nstripinit) | |
| virtual | ~NtpSRCluster () |
| 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 *="") |
| void | ClearStrips () |
Public Attributes | |
| UShort_t | index |
| UShort_t | planeview |
| UShort_t | nplane |
| UShort_t | begplane |
| UShort_t | endplane |
| UShort_t | id |
| Short_t | slc |
| Int_t | ndigit |
| Int_t | nstpcnt |
| Int_t | nstrip |
| Int_t * | stp |
| Float_t | probem |
| Float_t | zvtx |
| Float_t | tposvtx |
| Float_t | slope |
| Float_t | avgdev |
| NtpSRStripPulseHeight | ph |
|
|
Definition at line 22 of file NtpSRCluster.h. References avgdev, begplane, endplane, id, index, ndigit, nplane, nstpcnt, nstrip, planeview, probem, slc, slope, stp, tposvtx, and zvtx. 00022 : index(0),planeview(0),nplane(0),begplane(0),endplane(0), 00023 id(0),slc(0),ndigit(0),nstpcnt(0),nstrip(0),stp(0),probem(0), 00024 zvtx(0),tposvtx(0),slope(0),avgdev(0) {} // def const'r
|
|
|
Definition at line 45 of file NtpSRCluster.cxx. 00045 : index(0),planeview(0),nplane(0), 00046 begplane(0),endplane(0),id(0),slc(0),ndigit(0),nstpcnt(nstripinit), 00047 nstrip(nstripinit),stp(0),probem(0),zvtx(0),tposvtx(0),slope(0), 00048 avgdev(0) { 00049 // Normal constructor 00050 00051 if ( nstrip ) { 00052 stp = new Int_t[nstrip]; 00053 for ( Int_t i = 0; i < nstrip; i++ ) stp[i] = -1; 00054 } 00055 else { 00056 MSG("NtpSR",Msg::kWarning) << "NtpSRCluster called with nstrip = 0" << endl; 00057 } 00058 00059 }
|
|
|
Definition at line 26 of file NtpSRCluster.h. References Clear(). 00026 { this -> Clear(); }
|
|
||||||||||||
|
Definition at line 20 of file NtpSRCluster.cxx. References MSG, nstrip, and stp. Referenced by NtpSRModule::FillNtpCluster(). 00020 {
00021 //
00022 // Purpose: Add stripindex to fStripInd array at position ind.
00023 //
00024 // Arguments: stripindex: index of strip in assoc fStrips TClonesArray.
00025 // ind: index in fStripInd array, cannot exceed bounds
00026 // 0->fNStrip-1.
00027 //
00028 // Return: none.
00029 //
00030 // Contact: S. Kasahara
00031 //
00032
00033 if ( ind < 0 || ind >= nstrip ) {
00034 MSG("NtpSR",Msg::kWarning)
00035 << "Attempt to add strip at index " << ind
00036 << " outside of array size " << nstrip << " ignored." << endl;
00037 return;
00038 }
00039
00040 stp[ind] = stripindex;
00041 return;
00042
00043 }
|
|
|
Definition at line 34 of file NtpSRCluster.h. References ClearStrips(). Referenced by ~NtpSRCluster(). 00034 { ClearStrips(); }
|
|
|
Definition at line 35 of file NtpSRCluster.h. Referenced by Clear(), and NtpSRRecord::ClearStrips().
|
|
|
Definition at line 79 of file NtpSRCluster.cxx. References Print(). 00079 {
00080 //
00081 // Purpose: Print strip in form supported by TObject::Print.
00082 //
00083 // Arguments: option (not used)
00084 //
00085
00086 Print(std::cout);
00087 return;
00088
00089 }
|
|
|
Definition at line 61 of file NtpSRCluster.cxx. References avgdev, begplane, endplane, index, ndigit, nplane, nstpcnt, nstrip, planeview, slc, slope, tposvtx, and zvtx. Referenced by Print(). 00061 {
00062 //
00063 // Purpose: Print strip data on ostream.
00064 //
00065
00066 os << "NtpSRCluster::Print" << endl;
00067 os << "index " << index << " slc " << slc << " ndigit " << ndigit
00068 << " nstpcnt " << nstpcnt << " nstrip " << nstrip << " planeview "
00069 << planeview << " id " << id << endl;
00070 os << "plane(n,beg,end)(" << nplane << "," << begplane << ","
00071 << endplane << ")" << " vtx(z,tpos)(" << zvtx << ","
00072 << tposvtx << ") slope " << slope
00073 << " avgdev " << avgdev << endl;
00074 os << ph;
00075 return os;
00076
00077 }
|
|
|
Definition at line 63 of file NtpSRCluster.h. Referenced by NtpSRModule::FillNtpCluster(), NtpSRCluster(), MadCluAnalysis::PID(), MadCluAnalysis::PIDPlot(), and Print(). |
|
|
Definition at line 45 of file NtpSRCluster.h. Referenced by NtpSRModule::FillNtpCluster(), NtpSRCluster(), and Print(). |
|
|
Definition at line 46 of file NtpSRCluster.h. Referenced by NtpSRModule::FillNtpCluster(), NtpSRCluster(), and Print(). |
|
|
|
Definition at line 42 of file NtpSRCluster.h. Referenced by NtpSRModule::FillNtpCluster(), NtpSRCluster(), and Print(). |
|
|
Definition at line 51 of file NtpSRCluster.h. Referenced by NtpSRModule::FillNtpCluster(), NtpSRCluster(), and Print(). |
|
|
Definition at line 44 of file NtpSRCluster.h. Referenced by NtpSRModule::FillNtpCluster(), NtpSRCluster(), and Print(). |
|
|
Definition at line 55 of file NtpSRCluster.h. Referenced by NtpSRCluster(), and Print(). |
|
|
Definition at line 56 of file NtpSRCluster.h. Referenced by AddStripAt(), ClearStrips(), MadEvDisplay::Display(), NtpSRCluster(), MadCluAnalysis::PIDPlot(), and Print(). |
|
|
Definition at line 65 of file NtpSRCluster.h. Referenced by MadMKAnalysis::CreatePAN(), MadCluAnalysis::DataDistributions(), NtpSRModule::FillNtpCluster(), MadCluAnalysis::PID(), MadCluAnalysis::PIDPlot(), MadCluAnalysis::Plot(), MadQuantities::RecoEMFrac(), and MadCluAnalysis::RecoEMFrac(). |
|
|
|
Definition at line 59 of file NtpSRCluster.h. Referenced by MadCluAnalysis::DataDistributions(), MadEvDisplay::Display(), NtpSRModule::FillNtpCluster(), NtpSRCluster(), MadCluAnalysis::PID(), MadCluAnalysis::Plot(), MadQuantities::RecoEMFrac(), and MadCluAnalysis::RecoEMFrac(). |
|
|
Definition at line 49 of file NtpSRCluster.h. Referenced by NtpSRModule::FillNtpCluster(), NtpSRCluster(), and Print(). |
|
|
Definition at line 62 of file NtpSRCluster.h. Referenced by MadMKAnalysis::CreatePAN(), NtpSRModule::FillNtpCluster(), NtpSRCluster(), and Print(). |
|
|
Definition at line 57 of file NtpSRCluster.h. Referenced by AddStripAt(), ClearStrips(), MadEvDisplay::Display(), and NtpSRCluster(). |
|
|
Definition at line 61 of file NtpSRCluster.h. Referenced by MadMKAnalysis::CreatePAN(), NtpSRModule::FillNtpCluster(), NtpSRCluster(), MadCluAnalysis::PIDPlot(), and Print(). |
|
|
Definition at line 60 of file NtpSRCluster.h. Referenced by NtpSRModule::FillNtpCluster(), NtpSRCluster(), MadCluAnalysis::PIDPlot(), and Print(). |
1.3.9.1