CbmRoot
|
#include <CbmMvdSensorDigiToHitTask.h>
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 CbmMvdSensorPlugin * | GetNextPlugin () |
virtual CbmMvdSensorPlugin * | GetPrevousPlugin () |
void | SetPluginReady (bool flag) |
void | ShowDebugHistos () |
virtual const char * | GetName () const |
Bool_t | IsInit () |
Public Attributes | |
CbmMvdSensorPlugin * | fNextPlugin |
CbmMvdSensorPlugin * | fPreviousPlugin |
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 |
CbmMvdSensor * | fSensor |
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 |
Definition at line 40 of file CbmMvdSensorDigiToHitTask.h.
CbmMvdSensorDigiToHitTask::CbmMvdSensorDigiToHitTask | ( | ) |
Default constructor
Definition at line 77 of file CbmMvdSensorDigiToHitTask.cxx.
CbmMvdSensorDigiToHitTask::CbmMvdSensorDigiToHitTask | ( | Int_t | mode, |
Int_t | iVerbose | ||
) |
Standard constructor
name | Task name |
mode | 0 = no fake digis generation, 1 = generate fake digis |
Definition at line 91 of file CbmMvdSensorDigiToHitTask.cxx.
|
virtual |
Destructor
Definition at line 82 of file CbmMvdSensorDigiToHitTask.cxx.
References CbmMvdSensorTask::fOutputBuffer.
|
private |
|
inlinevirtualinherited |
Definition at line 42 of file CbmMvdSensorTask.h.
|
private |
|
virtual |
Reimplemented from CbmMvdSensorTask.
Definition at line 145 of file CbmMvdSensorDigiToHitTask.cxx.
References counter, denominator, dpos, dth_clusterArray, dth_coordArray, dth_fNeighThreshold, dth_fSeedThreshold, dth_grid, dth_refIDArray, fHitPosX, fHitPosY, fHitPosZ, CbmMvdSensorTask::fInputBuffer, CbmMvdSensorTask::fOutputBuffer, CbmMvdSensorTask::fSensor, GetAdcCharge(), CbmMvdDigi::GetCharge(), CbmMvdSensor::GetCurrentEventTime(), CbmMvdSensor::GetIntegrationtime(), CbmMvdDigi::GetPixelX(), CbmMvdDigi::GetPixelY(), CbmMvdSensor::GetRecoMatrix(), CbmMvdDigi::GetRefId(), CbmMvdSensor::GetStationNr(), CbmMvdSensor::GetZ(), i, ID, inputSet, lab, numeratorX, numeratorY, CbmMvdSensor::PixelToTop(), pos, CbmHit::SetRefId(), CbmHit::SetTime(), CbmHit::SetTimeError(), shape, CbmMvdSensor::TopToPixel(), xIndex0, and yIndex0.
Referenced by ExecChain().
|
virtual |
Task execution
Reimplemented from CbmMvdSensorTask.
Definition at line 141 of file CbmMvdSensorDigiToHitTask.cxx.
References Exec().
|
privatevirtual |
Virtual method Finish
Reimplemented from CbmMvdSensorTask.
Definition at line 473 of file CbmMvdSensorDigiToHitTask.cxx.
References dth_fNeighThreshold, dth_fPixelChargeHistos, dth_fSeedThreshold, fAdcBits, fAdcDynamic, fAdcOffset, fAddNoise, fChargeArraySize, fCounter(), CbmMvdSensorPlugin::fShowDebugHistos, fSigmaNoise, CbmMvdSensorPlugin::GetName(), and i.
float CbmMvdSensorDigiToHitTask::GetAdcCharge | ( | Float_t | charge | ) |
Definition at line 457 of file CbmMvdSensorDigiToHitTask.cxx.
References dth_fAdcSteps(), dth_fAdcStepSize(), and fAdcOffset.
Referenced by Exec().
|
inlinevirtualinherited |
Definition at line 40 of file CbmMvdSensorPlugin.h.
|
inlinevirtualinherited |
Reimplemented in CbmMvdSensorDigitizerTask, and CbmMvdSensorDigitizerTBTask.
Definition at line 42 of file CbmMvdSensorPlugin.h.
|
inlineprivate |
Get MVD geometry parameters from database @value Number of MVD stations
Definition at line 147 of file CbmMvdSensorDigiToHitTask.h.
|
inlinevirtualinherited |
Definition at line 62 of file CbmMvdSensorPlugin.h.
References CbmMvdSensorPlugin::fName.
Referenced by CbmMvdSensorFrameBuffer::BuildTimeSlice(), CbmMvdSensorClusterfinderTask::Exec(), CbmMvdSensorFindHitTask::Exec(), CbmMvdSensorDigitizerTBTask::Exec(), CbmMvdSensorDigitizerTask::Exec(), Finish(), CbmMvdSensorClusterfinderTask::Finish(), CbmMvdSensorFindHitTask::Finish(), CbmMvdSensorDigitizerTBTask::GetEventInfo(), CbmMvdSensorDigitizerTask::GetEventInfo(), CbmMvdSensorFrameBuffer::InitBuffer(), CbmMvdSensorDigitizerTBTask::InitTask(), CbmMvdSensorDigitizerTask::InitTask(), CbmMvdSensorDigitizerTBTask::ProduceIonisationPoints(), and CbmMvdSensorDigitizerTask::ProduceIonisationPoints().
|
inlinevirtualinherited |
Definition at line 56 of file CbmMvdSensorPlugin.h.
References CbmMvdSensorPlugin::fNextPlugin.
|
inlinevirtualinherited |
Reimplemented from CbmMvdSensorPlugin.
Reimplemented in CbmMvdSensorDigitizerTask, CbmMvdSensorDigitizerTBTask, and CbmMvdSensorReadoutTask.
Definition at line 45 of file CbmMvdSensorTask.h.
References CbmMvdSensorTask::fOutputBuffer.
Referenced by CbmMvdSensor::GetOutputArray().
|
inlinevirtualinherited |
Returns task type to a upper control unit
Implements CbmMvdSensorPlugin.
Definition at line 53 of file CbmMvdSensorTask.h.
References task.
|
inlinevirtualinherited |
Definition at line 57 of file CbmMvdSensorPlugin.h.
References CbmMvdSensorPlugin::fPreviousPlugin.
|
inlinevirtualinherited |
Reimplemented in CbmMvdSensorDigitizerTask, and CbmMvdSensorDigitizerTBTask.
Definition at line 43 of file CbmMvdSensorPlugin.h.
|
inlinevirtualinherited |
Definition at line 35 of file CbmMvdSensorPlugin.h.
|
virtual |
Intialisation
Reimplemented from CbmMvdSensorTask.
Definition at line 115 of file CbmMvdSensorDigiToHitTask.cxx.
References dth_fAdcSteps(), dth_fAdcStepSize(), dth_fAddress(), dth_grid, fAdcBits, fAdcDynamic, CbmMvdSensorTask::fInputBuffer, CbmMvdSensorTask::fOutputBuffer, CbmMvdSensorTask::fSensor, CbmMvdSensor::GetSensorNr(), CbmMvdSensor::GetStationNr(), CbmMvdSensorPlugin::initialized, and memset().
|
inlineinherited |
Definition at line 63 of file CbmMvdSensorPlugin.h.
References CbmMvdSensorPlugin::initialized.
|
private |
|
inlinevirtualinherited |
Definition at line 51 of file CbmMvdSensorTask.h.
|
private |
Reinitialisation
Definition at line 133 of file CbmMvdSensorDigiToHitTask.cxx.
|
inlineprivate |
Clear the arrays
Definition at line 135 of file CbmMvdSensorDigiToHitTask.h.
|
inlinevirtualinherited |
Definition at line 37 of file CbmMvdSensorTask.h.
References CbmMvdSensorTask::fInputBuffer.
|
inline |
Definition at line 84 of file CbmMvdSensorDigiToHitTask.h.
References fAdcBits.
|
inline |
Definition at line 82 of file CbmMvdSensorDigiToHitTask.h.
References fAdcDynamic.
|
inline |
Definition at line 83 of file CbmMvdSensorDigiToHitTask.h.
References fAdcOffset.
|
inline |
Detector Spatial resolution. Correlated with number of adc bits
Definition at line 89 of file CbmMvdSensorDigiToHitTask.h.
References fHitPosErrX.
|
inline |
Definition at line 90 of file CbmMvdSensorDigiToHitTask.h.
References fHitPosErrY.
|
inline |
Definition at line 91 of file CbmMvdSensorDigiToHitTask.h.
References fHitPosErrZ.
|
inlinevirtualinherited |
Reimplemented from CbmMvdSensorPlugin.
Reimplemented in CbmMvdSensorDigitizerTask, and CbmMvdSensorDigitizerTBTask.
Definition at line 40 of file CbmMvdSensorTask.h.
Referenced by CbmMvdSensor::SendInput().
|
inlinevirtualinherited |
Reimplemented in CbmMvdSensorDigitizerTask, CbmMvdSensorDigitizerTBTask, CbmMvdSensorTrackingBuffer, and CbmMvdSensorReadoutTask.
Definition at line 45 of file CbmMvdSensorPlugin.h.
Referenced by CbmMvdSensor::Init().
|
inlinevirtual |
Reimplemented from CbmMvdSensorTask.
Definition at line 64 of file CbmMvdSensorDigiToHitTask.h.
References CbmMvdSensorTask::fInputBuffer, and inputSet.
Referenced by CbmMvdSensor::SendInputDigiToHit().
|
inline |
Definition at line 77 of file CbmMvdSensorDigiToHitTask.h.
References fNeighThreshold.
|
inlinevirtualinherited |
Definition at line 49 of file CbmMvdSensorPlugin.h.
References CbmMvdSensorPlugin::fNextPlugin.
Referenced by CbmMvdSensor::Init().
|
inlinevirtualinherited |
Definition at line 47 of file CbmMvdSensorPlugin.h.
|
inlineinherited |
Definition at line 60 of file CbmMvdSensorPlugin.h.
References CbmMvdSensorPlugin::bFlag.
Referenced by CbmMvdSensorTrackingBuffer::ExecChain(), CbmMvdSensorFrameBuffer::ExecChain(), CbmMvdSensorTrackingBuffer::GetOutputArray(), and CbmMvdSensorFrameBuffer::GetOutputArray().
|
inlinevirtualinherited |
Definition at line 52 of file CbmMvdSensorPlugin.h.
References CbmMvdSensorPlugin::fPreviousPlugin.
Referenced by CbmMvdSensor::Init().
|
inline |
Definition at line 76 of file CbmMvdSensorDigiToHitTask.h.
References fSeedThreshold.
|
inline |
Modifiers
Definition at line 72 of file CbmMvdSensorDigiToHitTask.h.
References fAddNoise, and fSigmaNoise.
|
inlineinherited |
Definition at line 61 of file CbmMvdSensorPlugin.h.
References CbmMvdSensorPlugin::fShowDebugHistos.
Referenced by CbmMvdSensor::ShowDebugHistos().
void CbmMvdSensorDigiToHitTask::UpdateDebugHistos | ( | CbmMvdCluster * | cluster | ) |
|
protectedinherited |
Definition at line 70 of file CbmMvdSensorPlugin.h.
Referenced by CbmMvdSensorFrameBuffer::CbmMvdSensorFrameBuffer(), CbmMvdSensorTrackingBuffer::InitBuffer(), CbmMvdSensorFrameBuffer::InitBuffer(), CbmMvdSensorPlugin::PluginReady(), and CbmMvdSensorPlugin::SetPluginReady().
|
protected |
Definition at line 101 of file CbmMvdSensorDigiToHitTask.h.
|
protected |
Definition at line 100 of file CbmMvdSensorDigiToHitTask.h.
Referenced by Finish(), InitTask(), and SetAdcBits().
|
protected |
Definition at line 98 of file CbmMvdSensorDigiToHitTask.h.
Referenced by Finish(), InitTask(), and SetAdcDynamic().
|
protected |
Definition at line 99 of file CbmMvdSensorDigiToHitTask.h.
Referenced by Finish(), GetAdcCharge(), and SetAdcOffset().
|
private |
Definition at line 129 of file CbmMvdSensorDigiToHitTask.h.
Referenced by Finish(), and SetSigmaNoise().
|
staticprivate |
Definition at line 126 of file CbmMvdSensorDigiToHitTask.h.
Referenced by Finish().
|
protected |
Definition at line 104 of file CbmMvdSensorDigiToHitTask.h.
|
protected |
Definition at line 105 of file CbmMvdSensorDigiToHitTask.h.
|
private |
Definition at line 121 of file CbmMvdSensorDigiToHitTask.h.
Referenced by SetHitPosErrX().
|
private |
Definition at line 122 of file CbmMvdSensorDigiToHitTask.h.
Referenced by SetHitPosErrY().
|
private |
Definition at line 123 of file CbmMvdSensorDigiToHitTask.h.
Referenced by SetHitPosErrZ().
|
private |
Definition at line 118 of file CbmMvdSensorDigiToHitTask.h.
Referenced by Exec().
|
private |
Definition at line 119 of file CbmMvdSensorDigiToHitTask.h.
Referenced by Exec().
|
private |
Definition at line 120 of file CbmMvdSensorDigiToHitTask.h.
Referenced by Exec().
|
protectedinherited |
Definition at line 57 of file CbmMvdSensorTask.h.
Referenced by CbmMvdSensorClusterfinderTask::CheckForNeighbours(), CbmMvdSensorFindHitTask::CheckForNeighbours(), CbmMvdSensorFindHitTask::ComputeCenterOfGravity(), CbmMvdSensorFindHitTask::CreateHit(), CbmMvdSensorClusterfinderTask::Exec(), CbmMvdSensorFindHitTask::Exec(), Exec(), CbmMvdSensorHitfinderTask::Exec(), CbmMvdSensorClusterfinderTask::InitTask(), CbmMvdSensorFindHitTask::InitTask(), InitTask(), CbmMvdSensorHitfinderTask::InitTask(), CbmMvdSensorTask::SendInputBuffer(), CbmMvdSensorHitfinderTask::SetInputCluster(), CbmMvdSensorClusterfinderTask::SetInputDigi(), CbmMvdSensorFindHitTask::SetInputDigi(), SetInputDigi(), CbmMvdSensorFindHitTask::UpdateDebugHistos(), CbmMvdSensorFindHitTask::~CbmMvdSensorFindHitTask(), CbmMvdSensorHitfinderTask::~CbmMvdSensorHitfinderTask(), and CbmMvdSensorTask::~CbmMvdSensorTask().
|
private |
Definition at line 117 of file CbmMvdSensorDigiToHitTask.h.
|
private |
Definition at line 115 of file CbmMvdSensorDigiToHitTask.h.
|
private |
Definition at line 116 of file CbmMvdSensorDigiToHitTask.h.
|
protectedinherited |
Definition at line 73 of file CbmMvdSensorPlugin.h.
Referenced by CbmMvdSensorPlugin::GetName().
|
private |
Definition at line 111 of file CbmMvdSensorDigiToHitTask.h.
Referenced by SetNeighbourThreshold().
|
inherited |
data members
Definition at line 66 of file CbmMvdSensorPlugin.h.
Referenced by CbmMvdSensorPlugin::GetNextPlugin(), and CbmMvdSensorPlugin::SetNextPlugin().
|
protectedinherited |
Definition at line 58 of file CbmMvdSensorTask.h.
Referenced by CbmMvdSensorHitfinderTask::CreateHit(), CbmMvdSensorFindHitTask::CreateHit(), CbmMvdSensorClusterfinderTask::Exec(), CbmMvdSensorFindHitTask::Exec(), Exec(), CbmMvdSensorHitfinderTask::Exec(), CbmMvdSensorDigitizerTBTask::Exec(), CbmMvdSensorDigitizerTask::Exec(), CbmMvdSensorTask::GetOutputArray(), CbmMvdSensorDigitizerTBTask::GetOutputArray(), CbmMvdSensorDigitizerTask::GetOutputArray(), CbmMvdSensorDigitizerTBTask::InitTask(), CbmMvdSensorDigitizerTask::InitTask(), CbmMvdSensorClusterfinderTask::InitTask(), CbmMvdSensorFindHitTask::InitTask(), InitTask(), CbmMvdSensorHitfinderTask::InitTask(), CbmMvdSensorDigitizerTBTask::ReInit(), CbmMvdSensorDigitizerTask::ReInit(), CbmMvdSensorDigitizerTask::~CbmMvdSensorDigitizerTask(), CbmMvdSensorDigitizerTBTask::~CbmMvdSensorDigitizerTBTask(), ~CbmMvdSensorDigiToHitTask(), CbmMvdSensorHitfinderTask::~CbmMvdSensorHitfinderTask(), and CbmMvdSensorTask::~CbmMvdSensorTask().
|
inherited |
Definition at line 67 of file CbmMvdSensorPlugin.h.
Referenced by CbmMvdSensorDigitizerTBTask::Exec(), CbmMvdSensorDigitizerTask::Exec(), CbmMvdSensorTrackingBuffer::ExecChain(), CbmMvdSensorPlugin::GetPrevousPlugin(), CbmMvdSensorDigitizerTBTask::InitTask(), CbmMvdSensorDigitizerTask::InitTask(), and CbmMvdSensorPlugin::SetPreviousPlugin().
|
private |
Definition at line 110 of file CbmMvdSensorDigiToHitTask.h.
Referenced by SetSeedThreshold().
|
protectedinherited |
Definition at line 59 of file CbmMvdSensorTask.h.
Referenced by CbmMvdSensorHitfinderTask::ComputeCenterOfGravity(), CbmMvdSensorFindHitTask::ComputeCenterOfGravity(), CbmMvdSensorHitfinderTask::CreateHit(), CbmMvdSensorFindHitTask::CreateHit(), CbmMvdSensorClusterfinderTask::Exec(), CbmMvdSensorFindHitTask::Exec(), Exec(), CbmMvdSensorDigitizerTBTask::Exec(), CbmMvdSensorDigitizerTask::Exec(), CbmMvdSensorTask::InitTask(), CbmMvdSensorDigitizerTBTask::InitTask(), CbmMvdSensorDigitizerTask::InitTask(), CbmMvdSensorClusterfinderTask::InitTask(), InitTask(), CbmMvdSensorFindHitTask::InitTask(), CbmMvdSensorHitfinderTask::InitTask(), CbmMvdSensorDigitizerTBTask::ProduceIonisationPoints(), CbmMvdSensorDigitizerTask::ProduceIonisationPoints(), CbmMvdSensorDigitizerTask::ProduceNoise(), CbmMvdSensorDigitizerTBTask::ProducePixelCharge(), CbmMvdSensorDigitizerTask::ProducePixelCharge(), CbmMvdSensorDigitizerTBTask::ReadSensorInformation(), and CbmMvdSensorDigitizerTask::ReadSensorInformation().
|
protectedinherited |
Definition at line 72 of file CbmMvdSensorPlugin.h.
Referenced by CbmMvdSensorClusterfinderTask::Exec(), Finish(), CbmMvdSensorClusterfinderTask::Finish(), CbmMvdSensorDigitizerTask::Finish(), CbmMvdSensorDigitizerTask::InitTask(), CbmMvdSensorClusterfinderTask::InitTask(), CbmMvdSensorDigitizerTBTask::ProduceIonisationPoints(), CbmMvdSensorDigitizerTask::ProduceIonisationPoints(), CbmMvdSensorDigitizerTask::ProducePixelCharge(), and CbmMvdSensorPlugin::ShowDebugHistos().
|
private |
Definition at line 109 of file CbmMvdSensorDigiToHitTask.h.
Referenced by Finish(), and SetSigmaNoise().
|
private |
Definition at line 108 of file CbmMvdSensorDigiToHitTask.h.
|
protectedinherited |
Definition at line 71 of file CbmMvdSensorPlugin.h.
Referenced by CbmMvdSensorReadoutTask::InitTask(), CbmMvdSensorDigitizerTBTask::InitTask(), CbmMvdSensorDigitizerTask::InitTask(), CbmMvdSensorClusterfinderTask::InitTask(), CbmMvdSensorFindHitTask::InitTask(), InitTask(), CbmMvdSensorHitfinderTask::InitTask(), and CbmMvdSensorPlugin::IsInit().
|
private |
Definition at line 113 of file CbmMvdSensorDigiToHitTask.h.
Referenced by Exec(), and SetInputDigi().