EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/base/FairRingSorter.h>
Public Member Functions | |
FairRingSorter (int size=100, double width=10) | |
virtual | ~FairRingSorter () |
virtual FairTimeStamp * | CreateElement (FairTimeStamp *data)=0 |
virtual void | AddElement (FairTimeStamp *digi, double timestamp) |
virtual void | WriteOutElements (int index) |
writes out the entries from LowerBoundPointer up to index | |
virtual void | WriteOutElement (int index) |
writes out the entry at the index and clears it | |
virtual void | WriteOutAll () |
virtual double | GetBufferSize () |
virtual std::vector < FairTimeStamp * > | GetOutputData () |
virtual void | DeleteOutputData () |
virtual void | SetLowerBound (double timestampOfHitToWrite) |
virtual void | Print (std::ostream &out=std::cout) |
Private Member Functions | |
int | CalcIndex (double val) |
Private Attributes | |
std::vector< std::multimap < double, FairTimeStamp * > > | fRingBuffer |
std::vector< FairTimeStamp * > | fOutputData |
std::pair< int, double > | fLowerBoundPointer |
double | fCellWidth |
int | fVerbose |
Definition at line 20 of file FairRingSorter.h.
View newest version in sPHENIX GitHub at line 20 of file FairRingSorter.h
|
inline |
Definition at line 23 of file FairRingSorter.h.
View newest version in sPHENIX GitHub at line 23 of file FairRingSorter.h
|
inlinevirtual |
Definition at line 28 of file FairRingSorter.h.
View newest version in sPHENIX GitHub at line 28 of file FairRingSorter.h
|
virtual |
Definition at line 11 of file FairRingSorter.cxx.
View newest version in sPHENIX GitHub at line 11 of file FairRingSorter.cxx
References CalcIndex(), CreateElement(), fLowerBoundPointer, fRingBuffer, fVerbose, GetBufferSize(), FairTimeStamp::Print(), SetLowerBound(), WriteOutAll(), and WriteOutElements().
Referenced by FairRingSorterTask::Exec(), and FairRingSorterTask::FinishTask().
|
private |
Definition at line 91 of file FairRingSorter.cxx.
View newest version in sPHENIX GitHub at line 91 of file FairRingSorter.cxx
References fCellWidth, and fRingBuffer.
Referenced by AddElement(), and SetLowerBound().
|
pure virtual |
|
inlinevirtual |
Definition at line 43 of file FairRingSorter.h.
View newest version in sPHENIX GitHub at line 43 of file FairRingSorter.h
References fOutputData.
Referenced by FairRingSorterTask::Exec(), and FairRingSorterTask::FinishTask().
|
inlinevirtual |
Definition at line 38 of file FairRingSorter.h.
View newest version in sPHENIX GitHub at line 38 of file FairRingSorter.h
References fCellWidth, and fRingBuffer.
Referenced by AddElement(), and SetLowerBound().
|
inlinevirtual |
Definition at line 39 of file FairRingSorter.h.
View newest version in sPHENIX GitHub at line 39 of file FairRingSorter.h
References fOutputData.
Referenced by FairRingSorterTask::Exec(), and FairRingSorterTask::FinishTask().
|
inlinevirtual |
Definition at line 46 of file FairRingSorter.h.
View newest version in sPHENIX GitHub at line 46 of file FairRingSorter.h
References fCellWidth, fLowerBoundPointer, and fRingBuffer.
Referenced by FairRingSorterTask::Exec(), and FairRingSorterTask::FinishTask().
|
virtual |
Definition at line 40 of file FairRingSorter.cxx.
View newest version in sPHENIX GitHub at line 40 of file FairRingSorter.cxx
References CalcIndex(), fCellWidth, fLowerBoundPointer, fVerbose, and GetBufferSize().
Referenced by AddElement().
|
inlinevirtual |
Definition at line 35 of file FairRingSorter.h.
View newest version in sPHENIX GitHub at line 35 of file FairRingSorter.h
References fLowerBoundPointer, and WriteOutElements().
Referenced by AddElement(), and FairRingSorterTask::FinishTask().
|
virtual |
writes out the entry at the index and clears it
Definition at line 75 of file FairRingSorter.cxx.
View newest version in sPHENIX GitHub at line 75 of file FairRingSorter.cxx
References fOutputData, fRingBuffer, fVerbose, and it.
Referenced by WriteOutElements().
|
virtual |
writes out the entries from LowerBoundPointer up to index
Definition at line 51 of file FairRingSorter.cxx.
View newest version in sPHENIX GitHub at line 51 of file FairRingSorter.cxx
References fLowerBoundPointer, fOutputData, fRingBuffer, fVerbose, and WriteOutElement().
Referenced by AddElement(), and WriteOutAll().
|
private |
Definition at line 62 of file FairRingSorter.h.
View newest version in sPHENIX GitHub at line 62 of file FairRingSorter.h
Referenced by CalcIndex(), GetBufferSize(), Print(), and SetLowerBound().
|
private |
Definition at line 61 of file FairRingSorter.h.
View newest version in sPHENIX GitHub at line 61 of file FairRingSorter.h
Referenced by AddElement(), Print(), SetLowerBound(), WriteOutAll(), and WriteOutElements().
|
private |
Definition at line 60 of file FairRingSorter.h.
View newest version in sPHENIX GitHub at line 60 of file FairRingSorter.h
Referenced by DeleteOutputData(), GetOutputData(), WriteOutElement(), and WriteOutElements().
|
private |
Definition at line 59 of file FairRingSorter.h.
View newest version in sPHENIX GitHub at line 59 of file FairRingSorter.h
Referenced by AddElement(), CalcIndex(), GetBufferSize(), Print(), WriteOutElement(), and WriteOutElements().
|
private |
Definition at line 63 of file FairRingSorter.h.
View newest version in sPHENIX GitHub at line 63 of file FairRingSorter.h
Referenced by AddElement(), SetLowerBound(), WriteOutElement(), and WriteOutElements().