CbmRoot
Loading...
Searching...
No Matches
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 CallBufferForInputData ()
 
virtual bool PluginReady ()
 
MvdSensorPluginType GetPluginType ()
 
virtual Int_t GetPluginIDNumber ()
 
virtual void Init ()
 
virtual TClonesArray * GetInputArray ()
 
virtual TClonesArray * GetMatchArray ()
 
virtual TClonesArray * GetWriteArray ()
 
virtual TH1 * GetHistogram (UInt_t number)
 
virtual UInt_t GetMaxHistoNumber ()
 
virtual void SetInput (TObject *)
 
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
 
Int_t fPluginIDNumber
 
TObjArray * fHistoArray
 

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 32 of file CbmMvdSensorReadoutTask.h.

Constructor & Destructor Documentation

◆ CbmMvdSensorReadoutTask() [1/3]

CbmMvdSensorReadoutTask::CbmMvdSensorReadoutTask ( )

Default constructor

Definition at line 19 of file CbmMvdSensorReadoutTask.cxx.

References CbmMvdSensorPlugin::fPluginIDNumber.

◆ CbmMvdSensorReadoutTask() [2/3]

CbmMvdSensorReadoutTask::CbmMvdSensorReadoutTask ( const char * name)

Definition at line 31 of file CbmMvdSensorReadoutTask.cxx.

References CbmMvdSensorPlugin::fPluginIDNumber.

◆ ~CbmMvdSensorReadoutTask()

CbmMvdSensorReadoutTask::~CbmMvdSensorReadoutTask ( )
virtual

Destructor

Definition at line 44 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 44 of file CbmMvdSensorTask.h.

◆ ClassDef()

CbmMvdSensorReadoutTask::ClassDef ( CbmMvdSensorReadoutTask ,
1  )
private

◆ Exec()

void CbmMvdSensorReadoutTask::Exec ( )
virtual

Reimplemented from CbmMvdSensorTask.

Definition at line 90 of file CbmMvdSensorReadoutTask.cxx.

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

Referenced by ExecChain().

◆ ExecChain()

void CbmMvdSensorReadoutTask::ExecChain ( )
virtual

Reimplemented from CbmMvdSensorTask.

Definition at line 86 of file CbmMvdSensorReadoutTask.cxx.

References Exec().

◆ Finish()

void CbmMvdSensorReadoutTask::Finish ( )
virtual

Reimplemented from CbmMvdSensorTask.

Definition at line 119 of file CbmMvdSensorReadoutTask.cxx.

References fOutputBuffer, fSensorBanks, and maxBanks.

◆ GetBankNumber()

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

Definition at line 102 of file CbmMvdSensorReadoutTask.cxx.

References fPixelsPerBank, and maxBanks.

Referenced by Exec().

◆ 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 * CbmMvdSensorReadoutTask::GetOutputArray ( )
inlinevirtual

Reimplemented from CbmMvdSensorTask.

Definition at line 46 of file CbmMvdSensorReadoutTask.h.

References fOutputBuffer.

◆ GetPluginIDNumber()

virtual Int_t CbmMvdSensorPlugin::GetPluginIDNumber ( )
inlinevirtualinherited

Definition at line 50 of file CbmMvdSensorPlugin.h.

References CbmMvdSensorPlugin::fPluginIDNumber.

Referenced by CbmMvdDetector::DetectPlugin().

◆ 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 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.

◆ InitTask()

void CbmMvdSensorReadoutTask::InitTask ( CbmMvdSensor * mySensor)
virtual

Reimplemented from CbmMvdSensorTask.

Definition at line 52 of file CbmMvdSensorReadoutTask.cxx.

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

◆ IsInit()

Bool_t CbmMvdSensorPlugin::IsInit ( )
inlineinherited

Definition at line 82 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 115 of file CbmMvdSensorReadoutTask.cxx.

◆ SendInputBuffer()

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

Definition at line 42 of file CbmMvdSensorTask.h.

References CbmMvdSensorTask::fInputBuffer.

◆ SetInput()

virtual void CbmMvdSensorPlugin::SetInput ( TObject * )
inlinevirtualinherited

◆ SetInputArray()

void CbmMvdSensorReadoutTask::SetInputArray ( TClonesArray * inputStream)
virtual

fill buffer

Reimplemented from CbmMvdSensorPlugin.

Definition at line 65 of file CbmMvdSensorReadoutTask.cxx.

References fInputBuffer.

◆ SetInputDigi()

void CbmMvdSensorReadoutTask::SetInputDigi ( CbmMvdDigi * digi)
virtual

Reimplemented from CbmMvdSensorTask.

Definition at line 78 of file CbmMvdSensorReadoutTask.cxx.

References fInputBuffer.

◆ 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

◆ fHistoArray

TObjArray* CbmMvdSensorPlugin::fHistoArray
protectedinherited

◆ fInputBuffer

TClonesArray* CbmMvdSensorReadoutTask::fInputBuffer
private

◆ 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().

◆ fOutputBuffer

TClonesArray* CbmMvdSensorReadoutTask::fOutputBuffer
private

◆ fPixelsPerBank

const Int_t CbmMvdSensorReadoutTask::fPixelsPerBank = 22
private

Definition at line 64 of file CbmMvdSensorReadoutTask.h.

Referenced by GetBankNumber().

◆ fPluginIDNumber

◆ fPreviousPlugin

◆ fSensor

CbmMvdSensor* CbmMvdSensorReadoutTask::fSensor
private

Definition at line 61 of file CbmMvdSensorReadoutTask.h.

Referenced by InitTask().

◆ fSensorBanks

Int_t CbmMvdSensorReadoutTask::fSensorBanks[maxBanks]
private

Definition at line 63 of file CbmMvdSensorReadoutTask.h.

Referenced by Exec(), and Finish().

◆ fShowDebugHistos

◆ initialized

◆ maxBanks

const Int_t CbmMvdSensorReadoutTask::maxBanks = 64
staticprivate

Definition at line 57 of file CbmMvdSensorReadoutTask.h.

Referenced by Finish(), and GetBankNumber().


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