CbmRoot
Loading...
Searching...
No Matches
CbmMvdSensorBuffer Class Reference

#include <CbmMvdSensorBuffer.h>

Inheritance diagram for CbmMvdSensorBuffer:
[legend]
Collaboration diagram for CbmMvdSensorBuffer:
[legend]

Public Member Functions

 CbmMvdSensorBuffer ()
 
virtual ~CbmMvdSensorBuffer ()
 
virtual void SendInputEvent (TClonesArray *)
 
virtual TClonesArray * GetOutputArray ()
 
virtual void ExecChain ()
 
virtual void InitBuffer (CbmMvdSensor *mySensor)
 
virtual void BuildTimeSlice (Double_t, Double_t)
 
virtual void Finish ()
 
virtual void Clear (Option_t *="")
 
virtual void ClearTimeSlice (Double_t, Double_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 SetInput (TObject *)
 
virtual void SetOutputArray (TClonesArray *)
 
virtual void SetNextPlugin (CbmMvdSensorPlugin *plugin)
 
virtual void SetPreviousPlugin (CbmMvdSensorPlugin *plugin)
 
virtual CbmMvdSensorPluginGetNextPlugin ()
 
virtual CbmMvdSensorPluginGetPrevousPlugin ()
 
bool PluginReady ()
 
void SetPluginReady (bool flag)
 
void ShowDebugHistos ()
 
virtual const char * GetName () const
 
Bool_t IsInit ()
 

Public Attributes

CbmMvdSensorPluginfNextPlugin
 
CbmMvdSensorPluginfPreviousPlugin
 

Protected Member Functions

virtual void BufferReady ()
 

Protected Attributes

TClonesArray * fBuffer
 
TClonesArray * fCurrentEvent
 
CbmMvdSensorfSensor
 
bool bFlag
 
Bool_t initialized
 
Bool_t fShowDebugHistos
 
const char * fName
 
Int_t fPluginIDNumber
 
TObjArray * fHistoArray
 

Private Member Functions

 CbmMvdSensorBuffer (const CbmMvdSensorBuffer &)
 
CbmMvdSensorBuffer operator= (const CbmMvdSensorBuffer &)
 
 ClassDef (CbmMvdSensorBuffer, 1)
 

Detailed Description

Definition at line 34 of file CbmMvdSensorBuffer.h.

Constructor & Destructor Documentation

◆ CbmMvdSensorBuffer() [1/2]

CbmMvdSensorBuffer::CbmMvdSensorBuffer ( )

Default constructor

Definition at line 14 of file CbmMvdSensorBuffer.cxx.

◆ ~CbmMvdSensorBuffer()

CbmMvdSensorBuffer::~CbmMvdSensorBuffer ( )
virtual

Destructor

Definition at line 24 of file CbmMvdSensorBuffer.cxx.

References fBuffer.

◆ CbmMvdSensorBuffer() [2/2]

CbmMvdSensorBuffer::CbmMvdSensorBuffer ( const CbmMvdSensorBuffer & )
private

Member Function Documentation

◆ BufferReady()

virtual void CbmMvdSensorBuffer::BufferReady ( )
inlineprotectedvirtual

Definition at line 92 of file CbmMvdSensorBuffer.h.

◆ BuildTimeSlice()

virtual void CbmMvdSensorBuffer::BuildTimeSlice ( Double_t ,
Double_t  )
inlinevirtual

Reimplemented in CbmMvdSensorFrameBuffer, and CbmMvdSensorTrackingBuffer.

Definition at line 61 of file CbmMvdSensorBuffer.h.

◆ ClassDef()

CbmMvdSensorBuffer::ClassDef ( CbmMvdSensorBuffer ,
1  )
private

◆ Clear()

void CbmMvdSensorBuffer::Clear ( Option_t * = "")
virtual

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 fBuffer, and fCurrentEvent.

◆ ClearTimeSlice()

virtual void CbmMvdSensorBuffer::ClearTimeSlice ( Double_t ,
Double_t  )
inlinevirtual

Clears the objects related to a time periode from the buffer. Use ClearTimeSlice(0,t) to clear all objects earlier than t Not implemented in base class as data type of objects in buffer is unknown

Reimplemented in CbmMvdSensorFrameBuffer, and CbmMvdSensorTrackingBuffer.

Definition at line 80 of file CbmMvdSensorBuffer.h.

◆ Exec()

◆ ExecChain()

virtual void CbmMvdSensorBuffer::ExecChain ( )
inlinevirtual

Data Processing

Reimplemented from CbmMvdSensorPlugin.

Reimplemented in CbmMvdSensorFrameBuffer, and CbmMvdSensorTrackingBuffer.

Definition at line 59 of file CbmMvdSensorBuffer.h.

◆ Finish()

virtual void CbmMvdSensorBuffer::Finish ( )
inlinevirtual

Reimplemented from CbmMvdSensorPlugin.

Reimplemented in CbmMvdSensorFrameBuffer, and CbmMvdSensorTrackingBuffer.

Definition at line 62 of file CbmMvdSensorBuffer.h.

◆ GetHistogram()

TH1 * CbmMvdSensorPlugin::GetHistogram ( UInt_t number)
virtualinherited

Definition at line 40 of file CbmMvdSensorPlugin.cxx.

References CbmMvdSensorPlugin::fHistoArray.

Referenced by CbmMvdSensor::GetHistogram().

◆ GetInputArray()

virtual TClonesArray * CbmMvdSensorPlugin::GetInputArray ( )
inlinevirtualinherited

Definition at line 56 of file CbmMvdSensorPlugin.h.

◆ GetMatchArray()

virtual TClonesArray * CbmMvdSensorPlugin::GetMatchArray ( )
inlinevirtualinherited

Reimplemented in CbmMvdSensorDigitizerTask, and CbmMvdSensorDigitizerTBTask.

Definition at line 58 of file CbmMvdSensorPlugin.h.

Referenced by CbmMvdSensor::GetMatchArray().

◆ GetMaxHistoNumber()

virtual UInt_t CbmMvdSensorPlugin::GetMaxHistoNumber ( )
inlinevirtualinherited

Definition at line 61 of file CbmMvdSensorPlugin.h.

References CbmMvdSensorPlugin::fHistoArray.

◆ GetName()

◆ GetNextPlugin()

virtual CbmMvdSensorPlugin * CbmMvdSensorPlugin::GetNextPlugin ( )
inlinevirtualinherited

Definition at line 75 of file CbmMvdSensorPlugin.h.

References CbmMvdSensorPlugin::fNextPlugin.

◆ GetOutputArray()

virtual TClonesArray * CbmMvdSensorBuffer::GetOutputArray ( )
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 CbmMvdSensorPlugin.

Reimplemented in CbmMvdSensorFrameBuffer, and CbmMvdSensorTrackingBuffer.

Definition at line 55 of file CbmMvdSensorBuffer.h.

References fCurrentEvent.

◆ GetPluginIDNumber()

virtual Int_t CbmMvdSensorPlugin::GetPluginIDNumber ( )
inlinevirtualinherited

Definition at line 50 of file CbmMvdSensorPlugin.h.

References CbmMvdSensorPlugin::fPluginIDNumber.

Referenced by CbmMvdDetector::DetectPlugin().

◆ GetPluginType()

MvdSensorPluginType CbmMvdSensorBuffer::GetPluginType ( )
inlinevirtual

Returns task type to a upper control unit

Implements CbmMvdSensorPlugin.

Definition at line 84 of file CbmMvdSensorBuffer.h.

References buffer.

◆ GetPrevousPlugin()

virtual CbmMvdSensorPlugin * CbmMvdSensorPlugin::GetPrevousPlugin ( )
inlinevirtualinherited

Definition at line 76 of file CbmMvdSensorPlugin.h.

References CbmMvdSensorPlugin::fPreviousPlugin.

◆ GetWriteArray()

virtual TClonesArray * CbmMvdSensorPlugin::GetWriteArray ( )
inlinevirtualinherited

Reimplemented in CbmMvdSensorDigitizerTask, and CbmMvdSensorDigitizerTBTask.

Definition at line 59 of file CbmMvdSensorPlugin.h.

◆ Init()

virtual void CbmMvdSensorPlugin::Init ( )
inlinevirtualinherited

Definition at line 51 of file CbmMvdSensorPlugin.h.

◆ InitBuffer()

virtual void CbmMvdSensorBuffer::InitBuffer ( CbmMvdSensor * mySensor)
inlinevirtual

Reimplemented in CbmMvdSensorFrameBuffer, and CbmMvdSensorTrackingBuffer.

Definition at line 60 of file CbmMvdSensorBuffer.h.

References fSensor.

Referenced by CbmMvdSensor::Init().

◆ IsInit()

Bool_t CbmMvdSensorPlugin::IsInit ( )
inlineinherited

Definition at line 82 of file CbmMvdSensorPlugin.h.

References CbmMvdSensorPlugin::initialized.

◆ operator=()

CbmMvdSensorBuffer CbmMvdSensorBuffer::operator= ( const CbmMvdSensorBuffer & )
private

◆ PluginReady()

bool CbmMvdSensorPlugin::PluginReady ( )
inlineinherited

◆ SendInputEvent()

virtual void CbmMvdSensorBuffer::SendInputEvent ( TClonesArray * )
inlinevirtual

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.

◆ SetInput()

virtual void CbmMvdSensorPlugin::SetInput ( TObject * )
inlinevirtualinherited

◆ SetInputArray()

virtual void CbmMvdSensorPlugin::SetInputArray ( TClonesArray * )
inlinevirtualinherited

◆ SetNextPlugin()

virtual void CbmMvdSensorPlugin::SetNextPlugin ( CbmMvdSensorPlugin * plugin)
inlinevirtualinherited

Definition at line 72 of file CbmMvdSensorPlugin.h.

References CbmMvdSensorPlugin::fNextPlugin.

Referenced by CbmMvdSensor::Init().

◆ SetOutputArray()

virtual void CbmMvdSensorPlugin::SetOutputArray ( TClonesArray * )
inlinevirtualinherited

Definition at line 70 of file CbmMvdSensorPlugin.h.

◆ SetPluginReady()

void CbmMvdSensorPlugin::SetPluginReady ( bool flag)
inlineinherited

◆ SetPreviousPlugin()

virtual void CbmMvdSensorPlugin::SetPreviousPlugin ( CbmMvdSensorPlugin * plugin)
inlinevirtualinherited

Definition at line 73 of file CbmMvdSensorPlugin.h.

References CbmMvdSensorPlugin::fPreviousPlugin.

Referenced by CbmMvdSensor::Init().

◆ ShowDebugHistos()

void CbmMvdSensorPlugin::ShowDebugHistos ( )
inlineinherited

Definition at line 80 of file CbmMvdSensorPlugin.h.

References CbmMvdSensorPlugin::fShowDebugHistos.

Referenced by CbmMvdSensor::ShowDebugHistos().

Member Data Documentation

◆ bFlag

◆ fBuffer

◆ fCurrentEvent

◆ fHistoArray

TObjArray* CbmMvdSensorPlugin::fHistoArray
protectedinherited

◆ fName

const char* CbmMvdSensorPlugin::fName
protectedinherited

Definition at line 92 of file CbmMvdSensorPlugin.h.

Referenced by CbmMvdSensorPlugin::GetName().

◆ fNextPlugin

CbmMvdSensorPlugin* CbmMvdSensorPlugin::fNextPlugin
inherited

data members

Definition at line 85 of file CbmMvdSensorPlugin.h.

Referenced by CbmMvdSensorPlugin::GetNextPlugin(), and CbmMvdSensorPlugin::SetNextPlugin().

◆ fPluginIDNumber

◆ fPreviousPlugin

◆ fSensor

◆ fShowDebugHistos

◆ initialized


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