FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairRingSorter Class Reference

#include <FairRingSorter.h>

Inheritance diagram for FairRingSorter:
FairTestDetectorDigiRingSorter MyRingSorter

Public Member Functions

 FairRingSorter (int size=100, double width=10)
 
virtual ~FairRingSorter ()
 
virtual FairTimeStampCreateElement (FairTimeStamp *data)
 
virtual void AddElement (FairTimeStamp *digi, double timestamp)
 
virtual void WriteOutElements (int index)
 writes out the entries from LowerBoundPointer up to index More...
 
virtual void WriteOutElement (int index)
 writes out the entry at the index and clears it More...
 
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)
 

Detailed Description

Definition at line 27 of file FairRingSorter.h.

Constructor & Destructor Documentation

FairRingSorter::FairRingSorter ( int  size = 100,
double  width = 10 
)
inline

Definition at line 30 of file FairRingSorter.h.

virtual FairRingSorter::~FairRingSorter ( )
inlinevirtual

Definition at line 39 of file FairRingSorter.h.

Member Function Documentation

void FairRingSorter::AddElement ( FairTimeStamp digi,
double  timestamp 
)
virtual

Definition at line 20 of file FairRingSorter.cxx.

FairTimeStamp * FairRingSorter::CreateElement ( FairTimeStamp data)
virtual

Reimplemented in FairTestDetectorDigiRingSorter, and MyRingSorter.

Definition at line 18 of file FairRingSorter.cxx.

virtual void FairRingSorter::DeleteOutputData ( )
inlinevirtual

Definition at line 50 of file FairRingSorter.h.

virtual double FairRingSorter::GetBufferSize ( )
inlinevirtual

Definition at line 47 of file FairRingSorter.h.

virtual std::vector<FairTimeStamp*> FairRingSorter::GetOutputData ( )
inlinevirtual

Definition at line 48 of file FairRingSorter.h.

virtual void FairRingSorter::print ( std::ostream &  out = std::cout)
inlinevirtual

Definition at line 53 of file FairRingSorter.h.

void FairRingSorter::SetLowerBound ( double  timestampOfHitToWrite)
virtual

Definition at line 50 of file FairRingSorter.cxx.

virtual void FairRingSorter::WriteOutAll ( )
inlinevirtual

Definition at line 46 of file FairRingSorter.h.

void FairRingSorter::WriteOutElement ( int  index)
virtual

writes out the entry at the index and clears it

Definition at line 87 of file FairRingSorter.cxx.

void FairRingSorter::WriteOutElements ( int  index)
virtual

writes out the entries from LowerBoundPointer up to index

Definition at line 63 of file FairRingSorter.cxx.


The documentation for this class was generated from the following files: