CbmRoot
CbmMvdSensorDigiToHitTask Class Reference

#include <CbmMvdSensorDigiToHitTask.h>

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

Public Member Functions

 CbmMvdSensorDigiToHitTask ()
 
 CbmMvdSensorDigiToHitTask (Int_t mode, Int_t iVerbose)
 
virtual ~CbmMvdSensorDigiToHitTask ()
 
void ExecChain ()
 
void Exec ()
 
void InitTask (CbmMvdSensor *mySensor)
 
virtual void SetInputDigi (CbmMvdDigi *digi)
 
void SetSigmaNoise (Double_t sigmaNoise, Bool_t addNoise)
 
void SetSeedThreshold (Double_t seedCharge)
 
void SetNeighbourThreshold (Double_t neighCharge)
 
void SetAdcDynamic (Int_t adcDynamic)
 
void SetAdcOffset (Int_t adcOffset)
 
void SetAdcBits (Int_t adcBits)
 
float GetAdcCharge (Float_t charge)
 
void SetHitPosErrX (Double_t errorX)
 
void SetHitPosErrY (Double_t errorY)
 
void SetHitPosErrZ (Double_t errorZ)
 
void UpdateDebugHistos (CbmMvdCluster *cluster)
 
virtual void SendInputBuffer (TClonesArray *inputBuffer)
 
virtual void SetInput (CbmMvdPoint *)
 
virtual void CallBufferForInputData ()
 
virtual TClonesArray * GetOutputArray ()
 
virtual bool PluginReady ()
 
MvdSensorPluginType GetPluginType ()
 
virtual void Init ()
 
virtual TClonesArray * GetInputArray ()
 
virtual TClonesArray * GetMatchArray ()
 
virtual TClonesArray * GetWriteArray ()
 
virtual void SetInputArray (TClonesArray *)
 
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

Int_t fAdcDynamic
 
Int_t fAdcOffset
 
Int_t fAdcBits
 
TCanvas * c1
 
std::map< std::pair< Int_t, Int_t >, Int_t > fDigiMap
 
std::map< std::pair< Int_t, Int_t >, Int_t >::iterator fDigiMapIt
 
TClonesArray * fInputBuffer
 
TClonesArray * fOutputBuffer
 
CbmMvdSensorfSensor
 
bool bFlag
 
Bool_t initialized
 
Bool_t fShowDebugHistos
 
const char * fName
 

Private Member Functions

void Reset ()
 
void Finish ()
 
Bool_t ReInit ()
 
Int_t GetMvdGeometry ()
 
 CbmMvdSensorDigiToHitTask (const CbmMvdSensorDigiToHitTask &)
 
CbmMvdSensorDigiToHitTask operator= (const CbmMvdSensorDigiToHitTask &)
 
 ClassDef (CbmMvdSensorDigiToHitTask, 1)
 

Private Attributes

Int_t fVerbose
 
Double_t fSigmaNoise
 
Double_t fSeedThreshold
 
Double_t fNeighThreshold
 
Bool_t inputSet
 
Double_t fLayerRadius
 
Double_t fLayerRadiusInner
 
Double_t fLayerPosZ
 
Double_t fHitPosX
 
Double_t fHitPosY
 
Double_t fHitPosZ
 
Double_t fHitPosErrX
 
Double_t fHitPosErrY
 
Double_t fHitPosErrZ
 
Bool_t fAddNoise
 

Static Private Attributes

static const Short_t fChargeArraySize
 

Detailed Description

Definition at line 40 of file CbmMvdSensorDigiToHitTask.h.

Constructor & Destructor Documentation

◆ CbmMvdSensorDigiToHitTask() [1/3]

CbmMvdSensorDigiToHitTask::CbmMvdSensorDigiToHitTask ( )

Default constructor

Definition at line 77 of file CbmMvdSensorDigiToHitTask.cxx.

◆ CbmMvdSensorDigiToHitTask() [2/3]

CbmMvdSensorDigiToHitTask::CbmMvdSensorDigiToHitTask ( Int_t  mode,
Int_t  iVerbose 
)

Standard constructor

Parameters
nameTask name
mode0 = no fake digis generation, 1 = generate fake digis

Definition at line 91 of file CbmMvdSensorDigiToHitTask.cxx.

◆ ~CbmMvdSensorDigiToHitTask()

CbmMvdSensorDigiToHitTask::~CbmMvdSensorDigiToHitTask ( )
virtual

Destructor

Definition at line 82 of file CbmMvdSensorDigiToHitTask.cxx.

References CbmMvdSensorTask::fOutputBuffer.

◆ CbmMvdSensorDigiToHitTask() [3/3]

CbmMvdSensorDigiToHitTask::CbmMvdSensorDigiToHitTask ( const CbmMvdSensorDigiToHitTask )
private

Member Function Documentation

◆ CallBufferForInputData()

virtual void CbmMvdSensorTask::CallBufferForInputData ( )
inlinevirtualinherited

Definition at line 42 of file CbmMvdSensorTask.h.

◆ ClassDef()

CbmMvdSensorDigiToHitTask::ClassDef ( CbmMvdSensorDigiToHitTask  ,
 
)
private

◆ Exec()

◆ ExecChain()

void CbmMvdSensorDigiToHitTask::ExecChain ( )
virtual

Task execution

Reimplemented from CbmMvdSensorTask.

Definition at line 141 of file CbmMvdSensorDigiToHitTask.cxx.

References Exec().

◆ Finish()

void CbmMvdSensorDigiToHitTask::Finish ( )
privatevirtual

◆ GetAdcCharge()

float CbmMvdSensorDigiToHitTask::GetAdcCharge ( Float_t  charge)

Definition at line 457 of file CbmMvdSensorDigiToHitTask.cxx.

References dth_fAdcSteps(), dth_fAdcStepSize(), and fAdcOffset.

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.

◆ GetMvdGeometry()

Int_t CbmMvdSensorDigiToHitTask::GetMvdGeometry ( )
inlineprivate

Get MVD geometry parameters from database @value Number of MVD stations

Definition at line 147 of file CbmMvdSensorDigiToHitTask.h.

◆ GetName()

◆ GetNextPlugin()

virtual CbmMvdSensorPlugin* CbmMvdSensorPlugin::GetNextPlugin ( )
inlinevirtualinherited

Definition at line 56 of file CbmMvdSensorPlugin.h.

References CbmMvdSensorPlugin::fNextPlugin.

◆ GetOutputArray()

virtual TClonesArray* CbmMvdSensorTask::GetOutputArray ( )
inlinevirtualinherited

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

◆ IsInit()

Bool_t CbmMvdSensorPlugin::IsInit ( )
inlineinherited

Definition at line 63 of file CbmMvdSensorPlugin.h.

References CbmMvdSensorPlugin::initialized.

◆ operator=()

CbmMvdSensorDigiToHitTask CbmMvdSensorDigiToHitTask::operator= ( const CbmMvdSensorDigiToHitTask )
private

◆ PluginReady()

virtual bool CbmMvdSensorTask::PluginReady ( )
inlinevirtualinherited

Definition at line 51 of file CbmMvdSensorTask.h.

◆ ReInit()

Bool_t CbmMvdSensorDigiToHitTask::ReInit ( )
private

Reinitialisation

Definition at line 133 of file CbmMvdSensorDigiToHitTask.cxx.

◆ Reset()

void CbmMvdSensorDigiToHitTask::Reset ( )
inlineprivate

Clear the arrays

Definition at line 135 of file CbmMvdSensorDigiToHitTask.h.

◆ SendInputBuffer()

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

Definition at line 37 of file CbmMvdSensorTask.h.

References CbmMvdSensorTask::fInputBuffer.

◆ SetAdcBits()

void CbmMvdSensorDigiToHitTask::SetAdcBits ( Int_t  adcBits)
inline

Definition at line 84 of file CbmMvdSensorDigiToHitTask.h.

References fAdcBits.

◆ SetAdcDynamic()

void CbmMvdSensorDigiToHitTask::SetAdcDynamic ( Int_t  adcDynamic)
inline

Definition at line 82 of file CbmMvdSensorDigiToHitTask.h.

References fAdcDynamic.

◆ SetAdcOffset()

void CbmMvdSensorDigiToHitTask::SetAdcOffset ( Int_t  adcOffset)
inline

Definition at line 83 of file CbmMvdSensorDigiToHitTask.h.

References fAdcOffset.

◆ SetHitPosErrX()

void CbmMvdSensorDigiToHitTask::SetHitPosErrX ( Double_t  errorX)
inline

Detector Spatial resolution. Correlated with number of adc bits

Definition at line 89 of file CbmMvdSensorDigiToHitTask.h.

References fHitPosErrX.

◆ SetHitPosErrY()

void CbmMvdSensorDigiToHitTask::SetHitPosErrY ( Double_t  errorY)
inline

Definition at line 90 of file CbmMvdSensorDigiToHitTask.h.

References fHitPosErrY.

◆ SetHitPosErrZ()

void CbmMvdSensorDigiToHitTask::SetHitPosErrZ ( Double_t  errorZ)
inline

Definition at line 91 of file CbmMvdSensorDigiToHitTask.h.

References fHitPosErrZ.

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

virtual void CbmMvdSensorPlugin::SetInputArray ( TClonesArray *  )
inlinevirtualinherited

◆ SetInputDigi()

virtual void CbmMvdSensorDigiToHitTask::SetInputDigi ( CbmMvdDigi digi)
inlinevirtual

Reimplemented from CbmMvdSensorTask.

Definition at line 64 of file CbmMvdSensorDigiToHitTask.h.

References CbmMvdSensorTask::fInputBuffer, and inputSet.

Referenced by CbmMvdSensor::SendInputDigiToHit().

◆ SetNeighbourThreshold()

void CbmMvdSensorDigiToHitTask::SetNeighbourThreshold ( Double_t  neighCharge)
inline

Definition at line 77 of file CbmMvdSensorDigiToHitTask.h.

References fNeighThreshold.

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

◆ SetSeedThreshold()

void CbmMvdSensorDigiToHitTask::SetSeedThreshold ( Double_t  seedCharge)
inline

Definition at line 76 of file CbmMvdSensorDigiToHitTask.h.

References fSeedThreshold.

◆ SetSigmaNoise()

void CbmMvdSensorDigiToHitTask::SetSigmaNoise ( Double_t  sigmaNoise,
Bool_t  addNoise 
)
inline

Modifiers

Definition at line 72 of file CbmMvdSensorDigiToHitTask.h.

References fAddNoise, and fSigmaNoise.

◆ ShowDebugHistos()

void CbmMvdSensorPlugin::ShowDebugHistos ( )
inlineinherited

Definition at line 61 of file CbmMvdSensorPlugin.h.

References CbmMvdSensorPlugin::fShowDebugHistos.

Referenced by CbmMvdSensor::ShowDebugHistos().

◆ UpdateDebugHistos()

void CbmMvdSensorDigiToHitTask::UpdateDebugHistos ( CbmMvdCluster cluster)

Member Data Documentation

◆ bFlag

◆ c1

TCanvas* CbmMvdSensorDigiToHitTask::c1
protected

Definition at line 101 of file CbmMvdSensorDigiToHitTask.h.

◆ fAdcBits

Int_t CbmMvdSensorDigiToHitTask::fAdcBits
protected

Definition at line 100 of file CbmMvdSensorDigiToHitTask.h.

Referenced by Finish(), InitTask(), and SetAdcBits().

◆ fAdcDynamic

Int_t CbmMvdSensorDigiToHitTask::fAdcDynamic
protected

Definition at line 98 of file CbmMvdSensorDigiToHitTask.h.

Referenced by Finish(), InitTask(), and SetAdcDynamic().

◆ fAdcOffset

Int_t CbmMvdSensorDigiToHitTask::fAdcOffset
protected

Definition at line 99 of file CbmMvdSensorDigiToHitTask.h.

Referenced by Finish(), GetAdcCharge(), and SetAdcOffset().

◆ fAddNoise

Bool_t CbmMvdSensorDigiToHitTask::fAddNoise
private

Definition at line 129 of file CbmMvdSensorDigiToHitTask.h.

Referenced by Finish(), and SetSigmaNoise().

◆ fChargeArraySize

const Short_t CbmMvdSensorDigiToHitTask::fChargeArraySize
staticprivate
Initial value:
=
5

Definition at line 126 of file CbmMvdSensorDigiToHitTask.h.

Referenced by Finish().

◆ fDigiMap

std::map<std::pair<Int_t, Int_t>, Int_t> CbmMvdSensorDigiToHitTask::fDigiMap
protected

Definition at line 104 of file CbmMvdSensorDigiToHitTask.h.

◆ fDigiMapIt

std::map<std::pair<Int_t, Int_t>, Int_t>::iterator CbmMvdSensorDigiToHitTask::fDigiMapIt
protected

Definition at line 105 of file CbmMvdSensorDigiToHitTask.h.

◆ fHitPosErrX

Double_t CbmMvdSensorDigiToHitTask::fHitPosErrX
private

Definition at line 121 of file CbmMvdSensorDigiToHitTask.h.

Referenced by SetHitPosErrX().

◆ fHitPosErrY

Double_t CbmMvdSensorDigiToHitTask::fHitPosErrY
private

Definition at line 122 of file CbmMvdSensorDigiToHitTask.h.

Referenced by SetHitPosErrY().

◆ fHitPosErrZ

Double_t CbmMvdSensorDigiToHitTask::fHitPosErrZ
private

Definition at line 123 of file CbmMvdSensorDigiToHitTask.h.

Referenced by SetHitPosErrZ().

◆ fHitPosX

Double_t CbmMvdSensorDigiToHitTask::fHitPosX
private

Definition at line 118 of file CbmMvdSensorDigiToHitTask.h.

Referenced by Exec().

◆ fHitPosY

Double_t CbmMvdSensorDigiToHitTask::fHitPosY
private

Definition at line 119 of file CbmMvdSensorDigiToHitTask.h.

Referenced by Exec().

◆ fHitPosZ

Double_t CbmMvdSensorDigiToHitTask::fHitPosZ
private

Definition at line 120 of file CbmMvdSensorDigiToHitTask.h.

Referenced by Exec().

◆ fInputBuffer

◆ fLayerPosZ

Double_t CbmMvdSensorDigiToHitTask::fLayerPosZ
private

Definition at line 117 of file CbmMvdSensorDigiToHitTask.h.

◆ fLayerRadius

Double_t CbmMvdSensorDigiToHitTask::fLayerRadius
private

Definition at line 115 of file CbmMvdSensorDigiToHitTask.h.

◆ fLayerRadiusInner

Double_t CbmMvdSensorDigiToHitTask::fLayerRadiusInner
private

Definition at line 116 of file CbmMvdSensorDigiToHitTask.h.

◆ fName

const char* CbmMvdSensorPlugin::fName
protectedinherited

Definition at line 73 of file CbmMvdSensorPlugin.h.

Referenced by CbmMvdSensorPlugin::GetName().

◆ fNeighThreshold

Double_t CbmMvdSensorDigiToHitTask::fNeighThreshold
private

Definition at line 111 of file CbmMvdSensorDigiToHitTask.h.

Referenced by SetNeighbourThreshold().

◆ fNextPlugin

CbmMvdSensorPlugin* CbmMvdSensorPlugin::fNextPlugin
inherited

data members

Definition at line 66 of file CbmMvdSensorPlugin.h.

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

◆ fOutputBuffer

◆ fPreviousPlugin

◆ fSeedThreshold

Double_t CbmMvdSensorDigiToHitTask::fSeedThreshold
private

Definition at line 110 of file CbmMvdSensorDigiToHitTask.h.

Referenced by SetSeedThreshold().

◆ fSensor

◆ fShowDebugHistos

◆ fSigmaNoise

Double_t CbmMvdSensorDigiToHitTask::fSigmaNoise
private

Definition at line 109 of file CbmMvdSensorDigiToHitTask.h.

Referenced by Finish(), and SetSigmaNoise().

◆ fVerbose

Int_t CbmMvdSensorDigiToHitTask::fVerbose
private

Definition at line 108 of file CbmMvdSensorDigiToHitTask.h.

◆ initialized

◆ inputSet

Bool_t CbmMvdSensorDigiToHitTask::inputSet
private

Definition at line 113 of file CbmMvdSensorDigiToHitTask.h.

Referenced by Exec(), and SetInputDigi().


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