#include <NtpSRSlice.h>
Public Member Functions | |
NtpSRSlice () | |
NtpSRSlice (Int_t nstripinit) | |
virtual | ~NtpSRSlice () |
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 |
index of this slice in slice array | |
Int_t | ndigit |
Int_t | nstpcnt |
number of strips in slice | |
Int_t | nstrip |
number of strips in strip array | |
Int_t * | stp |
NtpSRPulseHeight | ph |
summed digit pulse height | |
NtpSRPlane | plane |
range of planes |
Definition at line 21 of file NtpSRSlice.h.
NtpSRSlice::NtpSRSlice | ( | ) | [inline] |
NtpSRSlice::NtpSRSlice | ( | Int_t | nstripinit | ) |
Definition at line 21 of file NtpSRSlice.cxx.
virtual NtpSRSlice::~NtpSRSlice | ( | ) | [inline, virtual] |
void NtpSRSlice::AddStripAt | ( | Int_t | stripindex, | |
Int_t | ind | |||
) |
Definition at line 33 of file NtpSRSlice.cxx.
References Msg::kWarning, MSG, nstrip, and stp.
Referenced by NtpEMModule::FillNtpSlice(), and NtpSRModule::FillNtpSlice().
00033 { 00034 // 00035 // Purpose: Add stripindex to stp array at position ind. 00036 // 00037 // Arguments: stripindex: index of strip in assoc record strip TClonesArray. 00038 // ind: index in stp array, cannot exceed bounds 00039 // 0->nstrip-1. 00040 // 00041 // Return: none. 00042 // 00043 // Contact: S. Kasahara 00044 // 00045 00046 if ( ind < 0 || ind >= nstrip ) { 00047 MSG("NtpSR",Msg::kWarning) 00048 << "Attempt to add strip at index " << ind 00049 << "outside of array size " << nstrip << "ignored." << endl; 00050 return; 00051 } 00052 00053 stp[ind] = stripindex; 00054 return; 00055 00056 }
void NtpSRSlice::Clear | ( | Option_t * | = "" |
) | [inline] |
Definition at line 34 of file NtpSRSlice.h.
References ClearStrips().
Referenced by ~NtpSRSlice().
00034 { ClearStrips(); }
void NtpSRSlice::ClearStrips | ( | ) | [inline] |
void NtpSRSlice::Print | ( | Option_t * | option = "" |
) | const [virtual] |
Definition at line 72 of file NtpSRSlice.cxx.
References Print().
00072 { 00073 // 00074 // Purpose: Print slice in form supported by TObject::Print. 00075 // 00076 // Arguments: option (not used) 00077 // 00078 00079 Print(std::cout); 00080 return; 00081 00082 }
std::ostream & NtpSRSlice::Print | ( | std::ostream & | os | ) | const [virtual] |
Definition at line 58 of file NtpSRSlice.cxx.
References index, ndigit, nstpcnt, nstrip, ph, and plane.
Referenced by Print().
00058 { 00059 // 00060 // Purpose: Print slice data on ostream. 00061 // 00062 00063 os << "NtpSRSlice::Print" << endl; 00064 os << "index " << index << " ndigit " << ndigit << " nstpcnt " << nstpcnt 00065 << " nstrip " << nstrip << "\nplane" << plane 00066 << "ph" << ph; 00067 00068 return os; 00069 00070 }
UShort_t NtpSRSlice::index |
index of this slice in slice array
Definition at line 42 of file NtpSRSlice.h.
Referenced by MadAnalysis::CreatePAN(), NtpEMModule::FillNtpSlice(), NtpSRModule::FillNtpSlice(), MadEvDisplay::Log(), MadScanDisplay::Log(), and Print().
Int_t NtpSRSlice::ndigit |
number of digits in slice nstpcnt will represent the number of strips in track even in "slim" ntuple output file for which nstrip is set to 0 and the strip array stp has been deleted.
Definition at line 43 of file NtpSRSlice.h.
Referenced by MadScanDisplay::Display(), MadEvDisplay::Display(), NtpEMModule::FillNtpSlice(), NtpSRModule::FillNtpSlice(), and Print().
Int_t NtpSRSlice::nstpcnt |
Int_t NtpSRSlice::nstrip |
number of strips in strip array
Definition at line 48 of file NtpSRSlice.h.
Referenced by AddStripAt(), TimingVarsAna::Analyze(), VertexHelper::CalculateNTrkLike(), ClearStrips(), TridModelMaker::CreateSliceModels(), MadScanDisplay::Display(), MadEvDisplay::Display(), MeuCuts::ExtractPlInfo(), ANtpInfoObjectFillerNC::FillEventTimingAndActivityInformation(), MeuCuts::FillTimeHistos(), NuPlots::FillTrackResponseHistos(), NueDisplayModule::GenerateOverlayMultiGraphs(), NueDisplayModule::GetEvent(), VertexHelper::GetStripIndex(), SntpHelpers::GetStripIndex(), MadCBSQEAnalysis::MakeQEFile(), MadMKAnalysis::NPlanesInObj(), MadTVAnalysis::NPlanesInObj(), MadMKAnalysis::NStripsInObj(), MadTVAnalysis::NStripsInObj(), NtpSRSlice(), Print(), MeuAnalysis::Recalibrate(), MadScanDisplay::ROICalc(), MeuAnalysis::TestEventLoop(), and NuBase::TestEventLoop().
summed digit pulse height
Definition at line 50 of file NtpSRSlice.h.
Referenced by MadScanDisplay::Display(), MadEvDisplay::Display(), NtpEMModule::FillNtpSlice(), NtpSRModule::FillNtpSlice(), and Print().
range of planes
Definition at line 51 of file NtpSRSlice.h.
Referenced by MadAnalysis::CreatePAN(), NtpEMModule::FillNtpSlice(), NtpSRModule::FillNtpSlice(), and Print().
Int_t* NtpSRSlice::stp |
Definition at line 49 of file NtpSRSlice.h.
Referenced by AddStripAt(), TimingVarsAna::Analyze(), ClearStrips(), TridModelMaker::CreateSliceModels(), MadScanDisplay::Display(), MadEvDisplay::Display(), MeuCuts::ExtractPlInfo(), ANtpInfoObjectFillerNC::FillEventTimingAndActivityInformation(), MeuCuts::FillTimeHistos(), NuPlots::FillTrackResponseHistos(), NueDisplayModule::GetEvent(), ANtpSliceManipulator::GetStrip(), VertexHelper::GetStripIndex(), SntpHelpers::GetStripIndex(), MadMKAnalysis::NPlanesInObj(), MadTVAnalysis::NPlanesInObj(), MadMKAnalysis::NStripsInObj(), MadTVAnalysis::NStripsInObj(), NtpSRSlice(), MeuAnalysis::Recalibrate(), MadScanDisplay::ROICalc(), MeuAnalysis::TestEventLoop(), and NuBase::TestEventLoop().