CbmRoot
|
#include <CbmMvdSensorFrameBuffer.h>
Public Member Functions | |
CbmMvdSensorFrameBuffer () | |
virtual | ~CbmMvdSensorFrameBuffer () |
void | SendInputArray (TClonesArray *inputStream) |
void | SetInput (TObject *point) |
TClonesArray * | GetOutputArray () |
virtual void | ExecChain () |
virtual void | InitBuffer (CbmMvdSensor *mySensor) |
virtual void | BuildTimeSlice (Double_t, Double_t) |
virtual void | BuildMimosaFrame (Int_t frameNumber) |
virtual void | Finish () |
virtual void | ClearFrame (Int_t frameNumber) |
virtual void | ClearTimeSlice (Double_t tStart, Double_t tStop) |
virtual void | SendInputEvent (TClonesArray *) |
virtual void | Clear (Option_t *="") |
MvdSensorPluginType | GetPluginType () |
virtual Int_t | GetPluginIDNumber () |
virtual void | Init () |
virtual void | Exec () |
virtual TClonesArray * | GetInputArray () |
virtual TClonesArray * | GetMatchArray () |
virtual TClonesArray * | GetWriteArray () |
virtual TH1 * | GetHistogram (UInt_t number) |
virtual UInt_t | GetMaxHistoNumber () |
virtual void | SetInputArray (TClonesArray *) |
virtual void | SetOutputArray (TClonesArray *) |
virtual void | SetNextPlugin (CbmMvdSensorPlugin *plugin) |
virtual void | SetPreviousPlugin (CbmMvdSensorPlugin *plugin) |
virtual CbmMvdSensorPlugin * | GetNextPlugin () |
virtual CbmMvdSensorPlugin * | GetPrevousPlugin () |
bool | PluginReady () |
void | SetPluginReady (bool flag) |
void | ShowDebugHistos () |
virtual const char * | GetName () const |
Bool_t | IsInit () |
Public Attributes | |
CbmMvdSensorPlugin * | fNextPlugin |
CbmMvdSensorPlugin * | fPreviousPlugin |
Protected Member Functions | |
virtual void | BufferReady () |
Protected Attributes | |
TClonesArray * | fBuffer |
CbmMvdSensor * | fSensor |
bool | bFlag |
Bool_t | initialized |
Bool_t | fShowDebugHistos |
const char * | fName |
Int_t | fPluginIDNumber |
TObjArray * | fHistoArray |
Private Member Functions | |
CbmMvdSensorFrameBuffer (const CbmMvdSensorFrameBuffer &) | |
CbmMvdSensorFrameBuffer | operator= (const CbmMvdSensorFrameBuffer &) |
ClassDef (CbmMvdSensorFrameBuffer, 1) | |
Private Attributes | |
TClonesArray * | fCurrentEvent |
TClonesArray * | fOutputPoints |
Int_t | lastFrame |
Int_t | thisFrame |
CbmMvdSensorDataSheet * | fSensorData |
Bool_t | bOverflow |
Double_t | currentTime |
Definition at line 38 of file CbmMvdSensorFrameBuffer.h.
CbmMvdSensorFrameBuffer::CbmMvdSensorFrameBuffer | ( | ) |
Default constructor
Definition at line 21 of file CbmMvdSensorFrameBuffer.cxx.
References CbmMvdSensorPlugin::bFlag, and CbmMvdSensorBuffer::fBuffer.
|
virtual |
Destructor
Definition at line 37 of file CbmMvdSensorFrameBuffer.cxx.
References CbmMvdSensorBuffer::fBuffer.
|
private |
|
inlineprotectedvirtualinherited |
Definition at line 92 of file CbmMvdSensorBuffer.h.
|
virtual |
BuildMimosaFrame: Provides a TClonesArray containing all points related to a frame. Important notes:
Builds a new event in TClonesArray. Important notes:
Definition at line 118 of file CbmMvdSensorFrameBuffer.cxx.
References CbmMvdSensorBuffer::fBuffer, fCurrentEvent, CbmMvdSensorBuffer::fSensor, CbmMvdPoint::GetAbsTime(), CbmMvdSensor::GetFrameNumber(), CbmMvdPoint::SetFrameNr(), and CbmMvdSensor::TopToPixel().
Referenced by ExecChain().
|
inlinevirtual |
Reimplemented from CbmMvdSensorBuffer.
Definition at line 68 of file CbmMvdSensorFrameBuffer.h.
References CbmMvdSensorPlugin::GetName().
|
private |
|
virtualinherited |
Memory Management Clear()
Clears the buffer completely. Important: Clears also the output buffer delivered by GetCurrentEvent() Make sure you don't need it.
Definition at line 31 of file CbmMvdSensorBuffer.cxx.
References CbmMvdSensorBuffer::fBuffer, and CbmMvdSensorBuffer::fCurrentEvent.
|
virtual |
Memory Management ClearFrame() Clears the objects related to a dedicated MAPS-frame from the buffer
Builds a new event in TClonesArray.
Removes objects related to a frame from the internal buffer
Definition at line 177 of file CbmMvdSensorFrameBuffer.cxx.
References CbmMvdSensorBuffer::fBuffer, CbmMvdSensorBuffer::fSensor, CbmMvdPoint::GetAbsTime(), CbmMvdSensor::GetFrameNumber(), and CbmMvdSensor::TopToPixel().
Referenced by ExecChain().
|
virtual |
ClearTimeSlice() Clears the objects related to a time periode from the buffer. Use ClearTimeSlice(0,t) to clear all objects earlier than t
Reimplemented from CbmMvdSensorBuffer.
Definition at line 217 of file CbmMvdSensorFrameBuffer.cxx.
References CbmMvdSensorBuffer::fBuffer.
|
inlinevirtualinherited |
Reimplemented in CbmMvdSensorClusterfinderTask, CbmMvdSensorDigitizerTask, CbmMvdSensorDigitizerTBTask, CbmMvdSensorDigiToHitTask, CbmMvdSensorFindHitTask, CbmMvdSensorHitfinderTask, CbmMvdSensorReadoutTask, and CbmMvdSensorTask.
Definition at line 52 of file CbmMvdSensorPlugin.h.
Referenced by CbmMvdSensor::Exec().
|
virtual |
Data Processing
Reimplemented from CbmMvdSensorBuffer.
Definition at line 64 of file CbmMvdSensorFrameBuffer.cxx.
References BuildMimosaFrame(), ClearFrame(), currentTime, fCurrentEvent, fOutputPoints, CbmMvdSensorBuffer::fSensor, fSensorData, CbmMvdSensor::GetCurrentEventTime(), CbmMvdSensor::GetFrameNumber(), CbmMvdSensorDataSheet::GetNPixelsY(), lastFrame, CbmMvdSensorPlugin::SetPluginReady(), and thisFrame.
|
inlinevirtual |
Reimplemented from CbmMvdSensorBuffer.
Definition at line 91 of file CbmMvdSensorFrameBuffer.h.
|
virtualinherited |
Definition at line 40 of file CbmMvdSensorPlugin.cxx.
References CbmMvdSensorPlugin::fHistoArray.
Referenced by CbmMvdSensor::GetHistogram().
|
inlinevirtualinherited |
Definition at line 56 of file CbmMvdSensorPlugin.h.
|
inlinevirtualinherited |
Reimplemented in CbmMvdSensorDigitizerTask, and CbmMvdSensorDigitizerTBTask.
Definition at line 58 of file CbmMvdSensorPlugin.h.
Referenced by CbmMvdSensor::GetMatchArray().
|
inlinevirtualinherited |
Definition at line 61 of file CbmMvdSensorPlugin.h.
References CbmMvdSensorPlugin::fHistoArray.
|
inlinevirtualinherited |
Definition at line 81 of file CbmMvdSensorPlugin.h.
References CbmMvdSensorPlugin::fName.
Referenced by BuildTimeSlice(), CbmMvdSensorDigitizerTBTask::Exec(), CbmMvdSensorFindHitTask::Exec(), CbmMvdSensorClusterfinderTask::ExecFrame(), CbmMvdSensorClusterfinderTask::Finish(), CbmMvdSensorDigiToHitTask::Finish(), CbmMvdSensorDigitizerTask::GetEventInfo(), CbmMvdSensorDigitizerTBTask::GetEventInfo(), CbmMvdSensorDigitizerTask::InitTask(), CbmMvdSensorDigitizerTBTask::InitTask(), CbmMvdSensorDigitizerTask::ProduceIonisationPoints(), and CbmMvdSensorDigitizerTBTask::ProduceIonisationPoints().
|
inlinevirtualinherited |
Definition at line 75 of file CbmMvdSensorPlugin.h.
References CbmMvdSensorPlugin::fNextPlugin.
|
inlinevirtual |
Receives the current event from the buffer. The Event is defined by the functions BuildTimeSlice or BuildMimosaFrame. The memory is not emtied, use Clear*-methods to clear it explitly
Reimplemented from CbmMvdSensorBuffer.
Definition at line 57 of file CbmMvdSensorFrameBuffer.h.
References fOutputPoints, and CbmMvdSensorPlugin::SetPluginReady().
|
inlinevirtualinherited |
Definition at line 50 of file CbmMvdSensorPlugin.h.
References CbmMvdSensorPlugin::fPluginIDNumber.
Referenced by CbmMvdDetector::DetectPlugin().
|
inlinevirtualinherited |
Returns task type to a upper control unit
Implements CbmMvdSensorPlugin.
Definition at line 84 of file CbmMvdSensorBuffer.h.
References buffer.
|
inlinevirtualinherited |
Definition at line 76 of file CbmMvdSensorPlugin.h.
References CbmMvdSensorPlugin::fPreviousPlugin.
|
inlinevirtualinherited |
Reimplemented in CbmMvdSensorDigitizerTask, and CbmMvdSensorDigitizerTBTask.
Definition at line 59 of file CbmMvdSensorPlugin.h.
|
inlinevirtualinherited |
Definition at line 51 of file CbmMvdSensorPlugin.h.
|
virtual |
Reimplemented from CbmMvdSensorBuffer.
Definition at line 44 of file CbmMvdSensorFrameBuffer.cxx.
References CbmMvdSensorPlugin::bFlag, bOverflow, CbmMvdSensorBuffer::fBuffer, fCurrentEvent, fOutputPoints, CbmMvdSensorBuffer::fSensor, fSensorData, CbmMvdSensor::GetDataSheet(), and lastFrame.
|
inlineinherited |
Definition at line 82 of file CbmMvdSensorPlugin.h.
References CbmMvdSensorPlugin::initialized.
|
private |
|
inlineinherited |
Definition at line 78 of file CbmMvdSensorPlugin.h.
References CbmMvdSensorPlugin::bFlag.
Referenced by CbmMvdSensor::ExecChain(), CbmMvdSensor::ExecFrom(), and CbmMvdSensor::ExecTo().
void CbmMvdSensorFrameBuffer::SendInputArray | ( | TClonesArray * | inputStream | ) |
Input/Output
Definition at line 90 of file CbmMvdSensorFrameBuffer.cxx.
References CbmMvdSensorBuffer::fBuffer, CbmMvdSensorBuffer::fSensor, and CbmMvdSensor::GetDetectorID().
|
inlinevirtualinherited |
Input/Output Send a new event to the buffer. The event will be absorbed but not processed. The input - array will be emptied
Definition at line 49 of file CbmMvdSensorBuffer.h.
|
virtual |
Reimplemented from CbmMvdSensorPlugin.
Definition at line 111 of file CbmMvdSensorFrameBuffer.cxx.
References CbmMvdSensorBuffer::fBuffer.
|
inlinevirtualinherited |
Reimplemented in CbmMvdSensorDigitizerTask, CbmMvdSensorDigitizerTBTask, CbmMvdSensorReadoutTask, and CbmMvdSensorTrackingBuffer.
Definition at line 68 of file CbmMvdSensorPlugin.h.
Referenced by CbmMvdSensor::Init().
|
inlinevirtualinherited |
Definition at line 72 of file CbmMvdSensorPlugin.h.
References CbmMvdSensorPlugin::fNextPlugin.
Referenced by CbmMvdSensor::Init().
|
inlinevirtualinherited |
Definition at line 70 of file CbmMvdSensorPlugin.h.
|
inlineinherited |
Definition at line 79 of file CbmMvdSensorPlugin.h.
References CbmMvdSensorPlugin::bFlag.
Referenced by ExecChain(), CbmMvdSensorTrackingBuffer::ExecChain(), GetOutputArray(), and CbmMvdSensorTrackingBuffer::GetOutputArray().
|
inlinevirtualinherited |
Definition at line 73 of file CbmMvdSensorPlugin.h.
References CbmMvdSensorPlugin::fPreviousPlugin.
Referenced by CbmMvdSensor::Init().
|
inlineinherited |
Definition at line 80 of file CbmMvdSensorPlugin.h.
References CbmMvdSensorPlugin::fShowDebugHistos.
Referenced by CbmMvdSensor::ShowDebugHistos().
|
protectedinherited |
Definition at line 89 of file CbmMvdSensorPlugin.h.
Referenced by CbmMvdSensorFrameBuffer(), InitBuffer(), CbmMvdSensorTrackingBuffer::InitBuffer(), CbmMvdSensorPlugin::PluginReady(), and CbmMvdSensorPlugin::SetPluginReady().
|
private |
Definition at line 114 of file CbmMvdSensorFrameBuffer.h.
Referenced by InitBuffer().
|
private |
Definition at line 115 of file CbmMvdSensorFrameBuffer.h.
Referenced by ExecChain().
|
protectedinherited |
Definition at line 87 of file CbmMvdSensorBuffer.h.
Referenced by BuildMimosaFrame(), CbmMvdSensorTrackingBuffer::BuildTimeSlice(), CbmMvdSensorFrameBuffer(), CbmMvdSensorBuffer::Clear(), ClearFrame(), ClearTimeSlice(), CbmMvdSensorTrackingBuffer::ClearTimeSlice(), CbmMvdSensorTrackingBuffer::ExecChain(), InitBuffer(), CbmMvdSensorTrackingBuffer::InitBuffer(), SendInputArray(), SetInput(), CbmMvdSensorTrackingBuffer::SetInputArray(), CbmMvdSensorBuffer::~CbmMvdSensorBuffer(), ~CbmMvdSensorFrameBuffer(), and CbmMvdSensorTrackingBuffer::~CbmMvdSensorTrackingBuffer().
|
private |
Definition at line 109 of file CbmMvdSensorFrameBuffer.h.
Referenced by BuildMimosaFrame(), ExecChain(), and InitBuffer().
|
protectedinherited |
Definition at line 94 of file CbmMvdSensorPlugin.h.
Referenced by CbmMvdSensorPlugin::GetHistogram(), CbmMvdSensorPlugin::GetMaxHistoNumber(), CbmMvdSensorClusterfinderTask::InitTask(), and CbmMvdSensorDigitizerTask::InitTask().
|
protectedinherited |
Definition at line 92 of file CbmMvdSensorPlugin.h.
Referenced by CbmMvdSensorPlugin::GetName().
|
inherited |
data members
Definition at line 85 of file CbmMvdSensorPlugin.h.
Referenced by CbmMvdSensorPlugin::GetNextPlugin(), and CbmMvdSensorPlugin::SetNextPlugin().
|
private |
Definition at line 110 of file CbmMvdSensorFrameBuffer.h.
Referenced by ExecChain(), GetOutputArray(), and InitBuffer().
|
protectedinherited |
Definition at line 93 of file CbmMvdSensorPlugin.h.
Referenced by CbmMvdSensorClusterfinderTask::CbmMvdSensorClusterfinderTask(), CbmMvdSensorClusterfinderTask::CbmMvdSensorClusterfinderTask(), CbmMvdSensorDigitizerTask::CbmMvdSensorDigitizerTask(), CbmMvdSensorDigitizerTask::CbmMvdSensorDigitizerTask(), CbmMvdSensorDigitizerTBTask::CbmMvdSensorDigitizerTBTask(), CbmMvdSensorDigiToHitTask::CbmMvdSensorDigiToHitTask(), CbmMvdSensorDigiToHitTask::CbmMvdSensorDigiToHitTask(), CbmMvdSensorFindHitTask::CbmMvdSensorFindHitTask(), CbmMvdSensorFindHitTask::CbmMvdSensorFindHitTask(), CbmMvdSensorHitfinderTask::CbmMvdSensorHitfinderTask(), CbmMvdSensorHitfinderTask::CbmMvdSensorHitfinderTask(), CbmMvdSensorReadoutTask::CbmMvdSensorReadoutTask(), CbmMvdSensorReadoutTask::CbmMvdSensorReadoutTask(), CbmMvdSensorTask::CbmMvdSensorTask(), CbmMvdSensorTask::CbmMvdSensorTask(), and CbmMvdSensorPlugin::GetPluginIDNumber().
|
inherited |
Definition at line 86 of file CbmMvdSensorPlugin.h.
Referenced by CbmMvdSensorDigitizerTask::Exec(), CbmMvdSensorDigitizerTBTask::Exec(), CbmMvdSensorTrackingBuffer::ExecChain(), CbmMvdSensorPlugin::GetPrevousPlugin(), CbmMvdSensorDigitizerTask::InitTask(), CbmMvdSensorDigitizerTBTask::InitTask(), and CbmMvdSensorPlugin::SetPreviousPlugin().
|
protectedinherited |
Definition at line 89 of file CbmMvdSensorBuffer.h.
Referenced by BuildMimosaFrame(), CbmMvdSensorTrackingBuffer::BuildTimeSlice(), ClearFrame(), ExecChain(), CbmMvdSensorTrackingBuffer::ExecChain(), CbmMvdSensorBuffer::InitBuffer(), InitBuffer(), CbmMvdSensorTrackingBuffer::InitBuffer(), and SendInputArray().
|
private |
Definition at line 113 of file CbmMvdSensorFrameBuffer.h.
Referenced by ExecChain(), and InitBuffer().
|
protectedinherited |
Definition at line 91 of file CbmMvdSensorPlugin.h.
Referenced by CbmMvdSensorClusterfinderTask::ExecFrame(), CbmMvdSensorClusterfinderTask::Finish(), CbmMvdSensorDigitizerTask::Finish(), CbmMvdSensorDigiToHitTask::Finish(), CbmMvdSensorClusterfinderTask::InitTask(), CbmMvdSensorDigitizerTask::InitTask(), CbmMvdSensorDigitizerTask::ProduceIonisationPoints(), CbmMvdSensorDigitizerTBTask::ProduceIonisationPoints(), CbmMvdSensorDigitizerTask::ProducePixelCharge(), and CbmMvdSensorPlugin::ShowDebugHistos().
|
protectedinherited |
Definition at line 90 of file CbmMvdSensorPlugin.h.
Referenced by CbmMvdSensorClusterfinderTask::InitTask(), CbmMvdSensorDigitizerTask::InitTask(), CbmMvdSensorDigitizerTBTask::InitTask(), CbmMvdSensorDigiToHitTask::InitTask(), CbmMvdSensorFindHitTask::InitTask(), CbmMvdSensorHitfinderTask::InitTask(), CbmMvdSensorReadoutTask::InitTask(), and CbmMvdSensorPlugin::IsInit().
|
private |
Definition at line 112 of file CbmMvdSensorFrameBuffer.h.
Referenced by ExecChain(), and InitBuffer().
|
private |
Definition at line 112 of file CbmMvdSensorFrameBuffer.h.
Referenced by ExecChain().