CbmRoot
CbmMvdSensorReadoutTask Class Reference

#include <CbmMvdSensorReadoutTask.h>

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

Public Member Functions

 CbmMvdSensorReadoutTask ()
 
 CbmMvdSensorReadoutTask (const char *name)
 
virtual ~CbmMvdSensorReadoutTask ()
 
void SetInputArray (TClonesArray *inputStream)
 
void SetInputDigi (CbmMvdDigi *digi)
 
virtual TClonesArray * GetOutputArray ()
 
void InitTask (CbmMvdSensor *mySensor)
 
void Exec ()
 
void Finish ()
 
void ExecChain ()
 
void Reset ()
 
virtual void SendInputBuffer (TClonesArray *inputBuffer)
 
virtual void SetInput (CbmMvdPoint *)
 
virtual void CallBufferForInputData ()
 
virtual bool PluginReady ()
 
MvdSensorPluginType GetPluginType ()
 
virtual void Init ()
 
virtual TClonesArray * GetInputArray ()
 
virtual TClonesArray * GetMatchArray ()
 
virtual TClonesArray * GetWriteArray ()
 
virtual void SetOutputArray (TClonesArray *)
 
virtual void SetNextPlugin (CbmMvdSensorPlugin *plugin)
 
virtual void SetPreviousPlugin (CbmMvdSensorPlugin *plugin)
 
virtual CbmMvdSensorPluginGetNextPlugin ()
 
virtual CbmMvdSensorPluginGetPrevousPlugin ()
 
void SetPluginReady (bool flag)
 
void ShowDebugHistos ()
 
virtual const char * GetName () const
 
Bool_t IsInit ()
 

Public Attributes

CbmMvdSensorPluginfNextPlugin
 
CbmMvdSensorPluginfPreviousPlugin
 

Protected Attributes

bool bFlag
 
Bool_t initialized
 
Bool_t fShowDebugHistos
 
const char * fName
 

Private Member Functions

Int_t GetBankNumber (const Int_t &yPixelNr) const
 
 CbmMvdSensorReadoutTask (const CbmMvdSensorReadoutTask &)
 
CbmMvdSensorReadoutTask operator= (const CbmMvdSensorReadoutTask &)
 
 ClassDef (CbmMvdSensorReadoutTask, 1)
 

Private Attributes

TClonesArray * fInputBuffer
 
TClonesArray * fOutputBuffer
 
CbmMvdSensorfSensor
 
Int_t fSensorBanks [maxBanks]
 
const Int_t fPixelsPerBank = 22
 

Static Private Attributes

static const Int_t maxBanks = 64
 

Detailed Description

Definition at line 25 of file CbmMvdSensorReadoutTask.h.

Constructor & Destructor Documentation

◆ CbmMvdSensorReadoutTask() [1/3]

CbmMvdSensorReadoutTask::CbmMvdSensorReadoutTask ( )

Default constructor

Definition at line 17 of file CbmMvdSensorReadoutTask.cxx.

◆ CbmMvdSensorReadoutTask() [2/3]

CbmMvdSensorReadoutTask::CbmMvdSensorReadoutTask ( const char *  name)

Definition at line 27 of file CbmMvdSensorReadoutTask.cxx.

◆ ~CbmMvdSensorReadoutTask()

CbmMvdSensorReadoutTask::~CbmMvdSensorReadoutTask ( )
virtual

Destructor

Definition at line 38 of file CbmMvdSensorReadoutTask.cxx.

References fInputBuffer, and fOutputBuffer.

◆ CbmMvdSensorReadoutTask() [3/3]

CbmMvdSensorReadoutTask::CbmMvdSensorReadoutTask ( const CbmMvdSensorReadoutTask )
private

Member Function Documentation

◆ CallBufferForInputData()

virtual void CbmMvdSensorTask::CallBufferForInputData ( )
inlinevirtualinherited

Definition at line 42 of file CbmMvdSensorTask.h.

◆ ClassDef()

CbmMvdSensorReadoutTask::ClassDef ( CbmMvdSensorReadoutTask  ,
 
)
private

◆ Exec()

void CbmMvdSensorReadoutTask::Exec ( )
virtual

Reimplemented from CbmMvdSensorTask.

Definition at line 82 of file CbmMvdSensorReadoutTask.cxx.

References fInputBuffer, fSensorBanks, GetBankNumber(), CbmMvdDigi::GetPixelX(), and i.

Referenced by ExecChain().

◆ ExecChain()

void CbmMvdSensorReadoutTask::ExecChain ( )
virtual

Reimplemented from CbmMvdSensorTask.

Definition at line 78 of file CbmMvdSensorReadoutTask.cxx.

References Exec().

◆ Finish()

void CbmMvdSensorReadoutTask::Finish ( )
virtual

Reimplemented from CbmMvdSensorTask.

Definition at line 109 of file CbmMvdSensorReadoutTask.cxx.

References fOutputBuffer, fSensorBanks, and maxBanks.

◆ GetBankNumber()

Int_t CbmMvdSensorReadoutTask::GetBankNumber ( const Int_t &  yPixelNr) const
private

Definition at line 93 of file CbmMvdSensorReadoutTask.cxx.

References fPixelsPerBank, and maxBanks.

Referenced by Exec().

◆ GetInputArray()

virtual TClonesArray* CbmMvdSensorPlugin::GetInputArray ( )
inlinevirtualinherited

Definition at line 40 of file CbmMvdSensorPlugin.h.

◆ GetMatchArray()

virtual TClonesArray* CbmMvdSensorPlugin::GetMatchArray ( )
inlinevirtualinherited

Reimplemented in CbmMvdSensorDigitizerTask, and CbmMvdSensorDigitizerTBTask.

Definition at line 42 of file CbmMvdSensorPlugin.h.

◆ GetName()

◆ GetNextPlugin()

virtual CbmMvdSensorPlugin* CbmMvdSensorPlugin::GetNextPlugin ( )
inlinevirtualinherited

Definition at line 56 of file CbmMvdSensorPlugin.h.

References CbmMvdSensorPlugin::fNextPlugin.

◆ GetOutputArray()

virtual TClonesArray* CbmMvdSensorReadoutTask::GetOutputArray ( )
inlinevirtual

Reimplemented from CbmMvdSensorTask.

Definition at line 39 of file CbmMvdSensorReadoutTask.h.

References fOutputBuffer.

◆ GetPluginType()

MvdSensorPluginType CbmMvdSensorTask::GetPluginType ( )
inlinevirtualinherited

Returns task type to a upper control unit

Implements CbmMvdSensorPlugin.

Definition at line 53 of file CbmMvdSensorTask.h.

References task.

◆ GetPrevousPlugin()

virtual CbmMvdSensorPlugin* CbmMvdSensorPlugin::GetPrevousPlugin ( )
inlinevirtualinherited

Definition at line 57 of file CbmMvdSensorPlugin.h.

References CbmMvdSensorPlugin::fPreviousPlugin.

◆ GetWriteArray()

virtual TClonesArray* CbmMvdSensorPlugin::GetWriteArray ( )
inlinevirtualinherited

Reimplemented in CbmMvdSensorDigitizerTask, and CbmMvdSensorDigitizerTBTask.

Definition at line 43 of file CbmMvdSensorPlugin.h.

◆ Init()

virtual void CbmMvdSensorPlugin::Init ( )
inlinevirtualinherited

Definition at line 35 of file CbmMvdSensorPlugin.h.

◆ InitTask()

void CbmMvdSensorReadoutTask::InitTask ( CbmMvdSensor mySensor)
virtual

Reimplemented from CbmMvdSensorTask.

Definition at line 45 of file CbmMvdSensorReadoutTask.cxx.

References fInputBuffer, fOutputBuffer, fSensor, and CbmMvdSensorPlugin::initialized.

◆ IsInit()

Bool_t CbmMvdSensorPlugin::IsInit ( )
inlineinherited

Definition at line 63 of file CbmMvdSensorPlugin.h.

References CbmMvdSensorPlugin::initialized.

◆ operator=()

CbmMvdSensorReadoutTask CbmMvdSensorReadoutTask::operator= ( const CbmMvdSensorReadoutTask )
private

◆ PluginReady()

virtual bool CbmMvdSensorTask::PluginReady ( )
inlinevirtualinherited

Definition at line 51 of file CbmMvdSensorTask.h.

◆ Reset()

void CbmMvdSensorReadoutTask::Reset ( )

Definition at line 105 of file CbmMvdSensorReadoutTask.cxx.

◆ SendInputBuffer()

virtual void CbmMvdSensorTask::SendInputBuffer ( TClonesArray *  inputBuffer)
inlinevirtualinherited

Definition at line 37 of file CbmMvdSensorTask.h.

References CbmMvdSensorTask::fInputBuffer.

◆ SetInput()

virtual void CbmMvdSensorTask::SetInput ( CbmMvdPoint )
inlinevirtualinherited

Reimplemented from CbmMvdSensorPlugin.

Reimplemented in CbmMvdSensorDigitizerTask, and CbmMvdSensorDigitizerTBTask.

Definition at line 40 of file CbmMvdSensorTask.h.

Referenced by CbmMvdSensor::SendInput().

◆ SetInputArray()

void CbmMvdSensorReadoutTask::SetInputArray ( TClonesArray *  inputStream)
virtual

fill buffer

Reimplemented from CbmMvdSensorPlugin.

Definition at line 57 of file CbmMvdSensorReadoutTask.cxx.

References fInputBuffer, and i.

◆ SetInputDigi()

void CbmMvdSensorReadoutTask::SetInputDigi ( CbmMvdDigi digi)
virtual

Reimplemented from CbmMvdSensorTask.

Definition at line 70 of file CbmMvdSensorReadoutTask.cxx.

References fInputBuffer.

◆ SetNextPlugin()

virtual void CbmMvdSensorPlugin::SetNextPlugin ( CbmMvdSensorPlugin plugin)
inlinevirtualinherited

Definition at line 49 of file CbmMvdSensorPlugin.h.

References CbmMvdSensorPlugin::fNextPlugin.

Referenced by CbmMvdSensor::Init().

◆ SetOutputArray()

virtual void CbmMvdSensorPlugin::SetOutputArray ( TClonesArray *  )
inlinevirtualinherited

Definition at line 47 of file CbmMvdSensorPlugin.h.

◆ SetPluginReady()

void CbmMvdSensorPlugin::SetPluginReady ( bool  flag)
inlineinherited

◆ SetPreviousPlugin()

virtual void CbmMvdSensorPlugin::SetPreviousPlugin ( CbmMvdSensorPlugin plugin)
inlinevirtualinherited

Definition at line 52 of file CbmMvdSensorPlugin.h.

References CbmMvdSensorPlugin::fPreviousPlugin.

Referenced by CbmMvdSensor::Init().

◆ ShowDebugHistos()

void CbmMvdSensorPlugin::ShowDebugHistos ( )
inlineinherited

Definition at line 61 of file CbmMvdSensorPlugin.h.

References CbmMvdSensorPlugin::fShowDebugHistos.

Referenced by CbmMvdSensor::ShowDebugHistos().

Member Data Documentation

◆ bFlag

◆ fInputBuffer

TClonesArray* CbmMvdSensorReadoutTask::fInputBuffer
private

◆ fName

const char* CbmMvdSensorPlugin::fName
protectedinherited

Definition at line 73 of file CbmMvdSensorPlugin.h.

Referenced by CbmMvdSensorPlugin::GetName().

◆ fNextPlugin

CbmMvdSensorPlugin* CbmMvdSensorPlugin::fNextPlugin
inherited

data members

Definition at line 66 of file CbmMvdSensorPlugin.h.

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

◆ fOutputBuffer

TClonesArray* CbmMvdSensorReadoutTask::fOutputBuffer
private

◆ fPixelsPerBank

const Int_t CbmMvdSensorReadoutTask::fPixelsPerBank = 22
private

Definition at line 57 of file CbmMvdSensorReadoutTask.h.

Referenced by GetBankNumber().

◆ fPreviousPlugin

◆ fSensor

CbmMvdSensor* CbmMvdSensorReadoutTask::fSensor
private

Definition at line 54 of file CbmMvdSensorReadoutTask.h.

Referenced by InitTask().

◆ fSensorBanks

Int_t CbmMvdSensorReadoutTask::fSensorBanks[maxBanks]
private

Definition at line 56 of file CbmMvdSensorReadoutTask.h.

Referenced by Exec(), and Finish().

◆ fShowDebugHistos

◆ initialized

◆ maxBanks

const Int_t CbmMvdSensorReadoutTask::maxBanks = 64
staticprivate

Definition at line 50 of file CbmMvdSensorReadoutTask.h.

Referenced by Finish(), and GetBankNumber().


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