CbmRoot
Loading...
Searching...
No Matches
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 CallBufferForInputData ()
 
virtual TClonesArray * GetOutputArray ()
 
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 SetInputArray (TClonesArray *)
 
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

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
 
Int_t fPluginIDNumber
 
TObjArray * fHistoArray
 

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 = 5
 

Detailed Description

Definition at line 35 of file CbmMvdSensorDigiToHitTask.h.

Constructor & Destructor Documentation

◆ CbmMvdSensorDigiToHitTask() [1/3]

CbmMvdSensorDigiToHitTask::CbmMvdSensorDigiToHitTask ( )

Default constructor

Definition at line 73 of file CbmMvdSensorDigiToHitTask.cxx.

References CbmMvdSensorPlugin::fPluginIDNumber.

◆ 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 87 of file CbmMvdSensorDigiToHitTask.cxx.

References CbmMvdSensorPlugin::fPluginIDNumber.

◆ ~CbmMvdSensorDigiToHitTask()

CbmMvdSensorDigiToHitTask::~CbmMvdSensorDigiToHitTask ( )
virtual

Destructor

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

◆ ClassDef()

CbmMvdSensorDigiToHitTask::ClassDef ( CbmMvdSensorDigiToHitTask ,
1  )
private

◆ Exec()

◆ ExecChain()

void CbmMvdSensorDigiToHitTask::ExecChain ( )
virtual

Task execution

Reimplemented from CbmMvdSensorTask.

Definition at line 139 of file CbmMvdSensorDigiToHitTask.cxx.

References Exec().

◆ Finish()

void CbmMvdSensorDigiToHitTask::Finish ( )
privatevirtual

◆ GetAdcCharge()

float CbmMvdSensorDigiToHitTask::GetAdcCharge ( Float_t charge)

Definition at line 446 of file CbmMvdSensorDigiToHitTask.cxx.

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

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.

◆ GetMvdGeometry()

Int_t CbmMvdSensorDigiToHitTask::GetMvdGeometry ( )
inlineprivate

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

Definition at line 140 of file CbmMvdSensorDigiToHitTask.h.

◆ GetName()

◆ GetNextPlugin()

virtual CbmMvdSensorPlugin * CbmMvdSensorPlugin::GetNextPlugin ( )
inlinevirtualinherited

Definition at line 75 of file CbmMvdSensorPlugin.h.

References CbmMvdSensorPlugin::fNextPlugin.

◆ GetOutputArray()

virtual TClonesArray * CbmMvdSensorTask::GetOutputArray ( )
inlinevirtualinherited

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

◆ IsInit()

Bool_t CbmMvdSensorPlugin::IsInit ( )
inlineinherited

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

◆ Reset()

void CbmMvdSensorDigiToHitTask::Reset ( )
inlineprivate

Clear the arrays

Definition at line 128 of file CbmMvdSensorDigiToHitTask.h.

◆ SendInputBuffer()

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

Definition at line 42 of file CbmMvdSensorTask.h.

References CbmMvdSensorTask::fInputBuffer.

◆ SetAdcBits()

void CbmMvdSensorDigiToHitTask::SetAdcBits ( Int_t adcBits)
inline

Definition at line 78 of file CbmMvdSensorDigiToHitTask.h.

References fAdcBits.

◆ SetAdcDynamic()

void CbmMvdSensorDigiToHitTask::SetAdcDynamic ( Int_t adcDynamic)
inline

Definition at line 76 of file CbmMvdSensorDigiToHitTask.h.

References fAdcDynamic.

◆ SetAdcOffset()

void CbmMvdSensorDigiToHitTask::SetAdcOffset ( Int_t adcOffset)
inline

Definition at line 77 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 83 of file CbmMvdSensorDigiToHitTask.h.

References fHitPosErrX.

◆ SetHitPosErrY()

void CbmMvdSensorDigiToHitTask::SetHitPosErrY ( Double_t errorY)
inline

Definition at line 84 of file CbmMvdSensorDigiToHitTask.h.

References fHitPosErrY.

◆ SetHitPosErrZ()

void CbmMvdSensorDigiToHitTask::SetHitPosErrZ ( Double_t errorZ)
inline

Definition at line 85 of file CbmMvdSensorDigiToHitTask.h.

References fHitPosErrZ.

◆ SetInput()

virtual void CbmMvdSensorPlugin::SetInput ( TObject * )
inlinevirtualinherited

◆ SetInputArray()

virtual void CbmMvdSensorPlugin::SetInputArray ( TClonesArray * )
inlinevirtualinherited

◆ SetInputDigi()

virtual void CbmMvdSensorDigiToHitTask::SetInputDigi ( CbmMvdDigi * digi)
inlinevirtual

Reimplemented from CbmMvdSensorTask.

Definition at line 59 of file CbmMvdSensorDigiToHitTask.h.

References CbmMvdSensorTask::fInputBuffer, and inputSet.

◆ SetNeighbourThreshold()

void CbmMvdSensorDigiToHitTask::SetNeighbourThreshold ( Double_t neighCharge)
inline

Definition at line 73 of file CbmMvdSensorDigiToHitTask.h.

References fNeighThreshold.

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

◆ SetSeedThreshold()

void CbmMvdSensorDigiToHitTask::SetSeedThreshold ( Double_t seedCharge)
inline

Definition at line 72 of file CbmMvdSensorDigiToHitTask.h.

References fSeedThreshold.

◆ SetSigmaNoise()

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

Modifiers

Definition at line 67 of file CbmMvdSensorDigiToHitTask.h.

References fAddNoise, and fSigmaNoise.

◆ ShowDebugHistos()

void CbmMvdSensorPlugin::ShowDebugHistos ( )
inlineinherited

Definition at line 80 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 95 of file CbmMvdSensorDigiToHitTask.h.

◆ fAdcBits

Int_t CbmMvdSensorDigiToHitTask::fAdcBits
protected

Definition at line 94 of file CbmMvdSensorDigiToHitTask.h.

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

◆ fAdcDynamic

Int_t CbmMvdSensorDigiToHitTask::fAdcDynamic
protected

Definition at line 92 of file CbmMvdSensorDigiToHitTask.h.

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

◆ fAdcOffset

Int_t CbmMvdSensorDigiToHitTask::fAdcOffset
protected

Definition at line 93 of file CbmMvdSensorDigiToHitTask.h.

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

◆ fAddNoise

Bool_t CbmMvdSensorDigiToHitTask::fAddNoise
private

Definition at line 122 of file CbmMvdSensorDigiToHitTask.h.

Referenced by Finish(), and SetSigmaNoise().

◆ fChargeArraySize

const Short_t CbmMvdSensorDigiToHitTask::fChargeArraySize = 5
staticprivate

Definition at line 120 of file CbmMvdSensorDigiToHitTask.h.

Referenced by Finish().

◆ fDigiMap

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

Definition at line 98 of file CbmMvdSensorDigiToHitTask.h.

◆ fDigiMapIt

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

Definition at line 99 of file CbmMvdSensorDigiToHitTask.h.

◆ fHistoArray

TObjArray* CbmMvdSensorPlugin::fHistoArray
protectedinherited

◆ fHitPosErrX

Double_t CbmMvdSensorDigiToHitTask::fHitPosErrX
private

Definition at line 115 of file CbmMvdSensorDigiToHitTask.h.

Referenced by SetHitPosErrX().

◆ fHitPosErrY

Double_t CbmMvdSensorDigiToHitTask::fHitPosErrY
private

Definition at line 116 of file CbmMvdSensorDigiToHitTask.h.

Referenced by SetHitPosErrY().

◆ fHitPosErrZ

Double_t CbmMvdSensorDigiToHitTask::fHitPosErrZ
private

Definition at line 117 of file CbmMvdSensorDigiToHitTask.h.

Referenced by SetHitPosErrZ().

◆ fHitPosX

Double_t CbmMvdSensorDigiToHitTask::fHitPosX
private

Definition at line 112 of file CbmMvdSensorDigiToHitTask.h.

Referenced by Exec().

◆ fHitPosY

Double_t CbmMvdSensorDigiToHitTask::fHitPosY
private

Definition at line 113 of file CbmMvdSensorDigiToHitTask.h.

Referenced by Exec().

◆ fHitPosZ

Double_t CbmMvdSensorDigiToHitTask::fHitPosZ
private

Definition at line 114 of file CbmMvdSensorDigiToHitTask.h.

Referenced by Exec().

◆ fInputBuffer

◆ fLayerPosZ

Double_t CbmMvdSensorDigiToHitTask::fLayerPosZ
private

Definition at line 111 of file CbmMvdSensorDigiToHitTask.h.

◆ fLayerRadius

Double_t CbmMvdSensorDigiToHitTask::fLayerRadius
private

Definition at line 109 of file CbmMvdSensorDigiToHitTask.h.

◆ fLayerRadiusInner

Double_t CbmMvdSensorDigiToHitTask::fLayerRadiusInner
private

Definition at line 110 of file CbmMvdSensorDigiToHitTask.h.

◆ fName

const char* CbmMvdSensorPlugin::fName
protectedinherited

Definition at line 92 of file CbmMvdSensorPlugin.h.

Referenced by CbmMvdSensorPlugin::GetName().

◆ fNeighThreshold

Double_t CbmMvdSensorDigiToHitTask::fNeighThreshold
private

Definition at line 105 of file CbmMvdSensorDigiToHitTask.h.

Referenced by SetNeighbourThreshold().

◆ fNextPlugin

CbmMvdSensorPlugin* CbmMvdSensorPlugin::fNextPlugin
inherited

data members

Definition at line 85 of file CbmMvdSensorPlugin.h.

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

◆ fOutputBuffer

◆ fPluginIDNumber

◆ fPreviousPlugin

◆ fSeedThreshold

Double_t CbmMvdSensorDigiToHitTask::fSeedThreshold
private

Definition at line 104 of file CbmMvdSensorDigiToHitTask.h.

Referenced by SetSeedThreshold().

◆ fSensor

◆ fShowDebugHistos

◆ fSigmaNoise

Double_t CbmMvdSensorDigiToHitTask::fSigmaNoise
private

Definition at line 103 of file CbmMvdSensorDigiToHitTask.h.

Referenced by Finish(), and SetSigmaNoise().

◆ fVerbose

Int_t CbmMvdSensorDigiToHitTask::fVerbose
private

Definition at line 102 of file CbmMvdSensorDigiToHitTask.h.

◆ initialized

◆ inputSet

Bool_t CbmMvdSensorDigiToHitTask::inputSet
private

Definition at line 107 of file CbmMvdSensorDigiToHitTask.h.

Referenced by Exec(), and SetInputDigi().


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