CbmRoot
Loading...
Searching...
No Matches
CbmMvdSensor Class Reference

#include <CbmMvdSensor.h>

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

Public Member Functions

 CbmMvdSensor ()
 includes from C
 
 CbmMvdSensor (const char *name, CbmMvdSensorDataSheet *dataSheet, TString volName, TString nodeName, Int_t stationNr, Int_t volume, Double_t sensorStartTime)
 
virtual ~CbmMvdSensor ()
 
Int_t GetStationNr () const
 
Int_t GetVolumeId () const
 
Int_t GetDetectorID () const
 
Int_t GetSensorNr () const
 
Double_t GetDX () const
 
Double_t GetDY () const
 
Double_t GetDZ () const
 
Double_t GetX () const
 
Double_t GetY () const
 
Double_t GetZ () const
 
Double_t GetIntegrationtime () const
 
Double_t GetCurrentEventTime () const
 
Double_t GetReadoutTime (Double_t absoluteTime) const
 
TString GetNodeName ()
 
CbmMvdSensorDataSheetGetDataSheet ()
 
void SetDataSheet (CbmMvdSensorDataSheet *sheet)
 
void SetMap (std::map< Int_t, Int_t > SensorMap)
 
void SetStation (Int_t StationNumber)
 
void SendInputToPlugin (Int_t nPlugin, TObject *input)
 
void LocalToTop (Double_t *local, Double_t *lab)
 
void TopToLocal (Double_t *lab, Double_t *local)
 
void LocalToPixel (Double_t *local, Int_t &pixelNumberX, Int_t &pixelNumberY)
 
void PixelToLocal (Int_t pixelNumberX, Int_t pixelNumberY, Double_t *local)
 
void PixelToTop (Int_t pixelNumberX, Int_t pixelNumberY, Double_t *lab)
 
void TopToPixel (Double_t *lab, Int_t &pixelNumberX, Int_t &pixelNumberY)
 
Int_t GetFrameNumber (Double_t absoluteTime, Int_t pixelNumberY=0) const
 
Double_t GetFrameStartTime (Int_t frameNumber)
 
Double_t GetFrameEndTime (Int_t frameNumber)
 
Int_t GetDigiPlugin () const
 
Int_t GetHitPlugin () const
 
Int_t GetClusterPlugin () const
 
TObjArray * GetPluginArray ()
 
UInt_t GetPluginArraySize ()
 
Double_t ComputeIndecatedAnalogTime (Double_t hitMCTime, Float_t diodeCharge)
 
Double_t ComputeEndOfBusyTime (Double_t hitMCTime, Float_t diodeCharge, Int_t pixelNumberY)
 
void SetDigiPlugin (const Int_t &nPlugin)
 
void SetHitPlugin (const Int_t &nPlugin)
 
void SetClusterPlugin (const Int_t &nPlugin)
 
void SetAlignment (TGeoHMatrix *alignmentMatrix)
 
TGeoHMatrix * GetAlignmentCorr ()
 
TGeoHMatrix * GetRecoMatrix ()
 
void ReadSensorGeometry (TString nodeName)
 
void Init ()
 
void ShowDebugHistos ()
 
void SetPluginList (TObjArray *pluginArray)
 
void AddPlugin (CbmMvdSensorPlugin *plugin)
 
CbmMvdSensorPluginGetPlugin (UInt_t nPlugin)
 
void SetMisalignment (Float_t misalignment[3])
 
virtual void Print (Option_t *opt="") const
 
std::string ToString () const
 
void ExecChain ()
 
void Exec (UInt_t nPlugin)
 
void ExecTo (UInt_t nPlugin)
 
void ExecFrom (UInt_t nPlugin)
 
void Finish ()
 
void ClearInputArray ()
 
TClonesArray * GetOutputBuffer () const
 
TClonesArray * GetOutputArray (Int_t nPlugin) const
 
TClonesArray * GetMatchArray (Int_t nPlugin) const
 
Int_t GetOutputArrayLen (Int_t nPlugin) const
 
TH1 * GetHistogram (UInt_t nPlugin, UInt_t nHisto)
 
UInt_t GetNumberOfHistograms (UInt_t nPlugin)
 

Protected Attributes

Int_t fStationNr
 
Int_t fSensorNr
 
Int_t fVolumeId
 
Int_t fDetectorID
 
Int_t fDigiPlugin
 
Int_t fHitPlugin
 
Int_t fDigiLen
 
Int_t fClusterPlugin
 
TString fVolName
 
TString fNodeName
 
Double_t fcurrentEventTime
 
Float_t epsilon [3]
 
TGeoBBox * fShape
 
TGeoHMatrix * fMCMatrix
 
TGeoHMatrix * fRecoMatrix
 
TGeoHMatrix * fAlignmentCorr
 
Double_t fTempCoordinate [3]
 
Double_t fSensorPosition [3]
 
CbmMvdSensorDataSheetfSensorData
 
std::map< Int_t, Int_t > fSensorMap
 
TObjArray * fPluginArray
 
Double_t fSensorStartTime
 
Bool_t initialized
 

Private Member Functions

 CbmMvdSensor (const CbmMvdSensor &)
 
CbmMvdSensor operator= (const CbmMvdSensor &)
 
 ClassDef (CbmMvdSensor, 1)
 
int32_t DetectorId (int32_t iStation) const
 
int32_t SystemId (int32_t detectorId) const
 
int32_t StationNr (int32_t detectorId) const
 
 ClassDef (CbmMvdDetectorId, 1)
 

Detailed Description

Definition at line 44 of file CbmMvdSensor.h.

Constructor & Destructor Documentation

◆ CbmMvdSensor() [1/3]

CbmMvdSensor::CbmMvdSensor ( )

includes from C

Default constructor

Definition at line 33 of file CbmMvdSensor.cxx.

◆ CbmMvdSensor() [2/3]

CbmMvdSensor::CbmMvdSensor ( const char * name,
CbmMvdSensorDataSheet * dataSheet,
TString volName,
TString nodeName,
Int_t stationNr,
Int_t volume,
Double_t sensorStartTime )

Definition at line 69 of file CbmMvdSensor.cxx.

◆ ~CbmMvdSensor()

CbmMvdSensor::~CbmMvdSensor ( )
virtual

Destructor

Definition at line 101 of file CbmMvdSensor.cxx.

References fSensorData.

◆ CbmMvdSensor() [3/3]

CbmMvdSensor::CbmMvdSensor ( const CbmMvdSensor & )
private

Member Function Documentation

◆ AddPlugin()

void CbmMvdSensor::AddPlugin ( CbmMvdSensorPlugin * plugin)
inline

Definition at line 135 of file CbmMvdSensor.h.

References fPluginArray.

◆ ClassDef() [1/2]

CbmMvdDetectorId::ClassDef ( CbmMvdDetectorId ,
1  )
inherited

◆ ClassDef() [2/2]

CbmMvdSensor::ClassDef ( CbmMvdSensor ,
1  )
private

◆ ClearInputArray()

void CbmMvdSensor::ClearInputArray ( )
inline

Data control

Definition at line 159 of file CbmMvdSensor.h.

◆ ComputeEndOfBusyTime()

Double_t CbmMvdSensor::ComputeEndOfBusyTime ( Double_t hitMCTime,
Float_t diodeCharge,
Int_t pixelNumberY )

◆ ComputeIndecatedAnalogTime()

Double_t CbmMvdSensor::ComputeIndecatedAnalogTime ( Double_t hitMCTime,
Float_t diodeCharge )

◆ DetectorId()

int32_t CbmMvdDetectorId::DetectorId ( int32_t iStation) const
inlineinherited

Create unique detector ID from station number

Definition at line 49 of file CbmMvdDetectorId.h.

References kMvd, and ToIntegralType().

Referenced by CbmMvdDetector::AddSensor(), CbmMvdHit::CbmMvdHit(), CbmMvdPoint::CbmMvdPoint(), CbmMvdCluster::GetDetectorId(), and CbmMvdHitfinder::ProcessData().

◆ Exec()

void CbmMvdSensor::Exec ( UInt_t nPlugin)

Definition at line 280 of file CbmMvdSensor.cxx.

References CbmMvdSensorPlugin::Exec(), and fPluginArray.

Referenced by CbmMvdDetector::Exec().

◆ ExecChain()

void CbmMvdSensor::ExecChain ( )

◆ ExecFrom()

void CbmMvdSensor::ExecFrom ( UInt_t nPlugin)

◆ ExecTo()

void CbmMvdSensor::ExecTo ( UInt_t nPlugin)

◆ Finish()

void CbmMvdSensor::Finish ( )

Definition at line 569 of file CbmMvdSensor.cxx.

References CbmMvdSensorPlugin::Finish(), and fPluginArray.

Referenced by CbmMvdDetector::Finish().

◆ GetAlignmentCorr()

TGeoHMatrix * CbmMvdSensor::GetAlignmentCorr ( )
inline

Definition at line 122 of file CbmMvdSensor.h.

References fAlignmentCorr.

◆ GetClusterPlugin()

Int_t CbmMvdSensor::GetClusterPlugin ( ) const
inline

Definition at line 104 of file CbmMvdSensor.h.

References fClusterPlugin.

◆ GetCurrentEventTime()

Double_t CbmMvdSensor::GetCurrentEventTime ( ) const
inline

◆ GetDataSheet()

◆ GetDetectorID()

Int_t CbmMvdSensor::GetDetectorID ( ) const
inline

Definition at line 62 of file CbmMvdSensor.h.

References fDetectorID.

Referenced by CbmMvdQa::ExecDigiQa(), and CbmMvdSensorFrameBuffer::SendInputArray().

◆ GetDigiPlugin()

Int_t CbmMvdSensor::GetDigiPlugin ( ) const
inline

Definition at line 102 of file CbmMvdSensor.h.

References fDigiPlugin.

◆ GetDX()

Double_t CbmMvdSensor::GetDX ( ) const
inline

Definition at line 65 of file CbmMvdSensor.h.

References fShape.

Referenced by LocalToPixel(), and PixelToLocal().

◆ GetDY()

Double_t CbmMvdSensor::GetDY ( ) const
inline

Definition at line 66 of file CbmMvdSensor.h.

References fShape.

Referenced by LocalToPixel(), and PixelToLocal().

◆ GetDZ()

Double_t CbmMvdSensor::GetDZ ( ) const
inline

Definition at line 67 of file CbmMvdSensor.h.

References fShape.

◆ GetFrameEndTime()

Double_t CbmMvdSensor::GetFrameEndTime ( Int_t frameNumber)
inline

◆ GetFrameNumber()

◆ GetFrameStartTime()

Double_t CbmMvdSensor::GetFrameStartTime ( Int_t frameNumber)

◆ GetHistogram()

TH1 * CbmMvdSensor::GetHistogram ( UInt_t nPlugin,
UInt_t nHisto )

Definition at line 388 of file CbmMvdSensor.cxx.

References fPluginArray, and CbmMvdSensorPlugin::GetHistogram().

Referenced by CbmMvdDetector::GetHistogram().

◆ GetHitPlugin()

Int_t CbmMvdSensor::GetHitPlugin ( ) const
inline

Definition at line 103 of file CbmMvdSensor.h.

References fHitPlugin.

◆ GetIntegrationtime()

◆ GetMatchArray()

TClonesArray * CbmMvdSensor::GetMatchArray ( Int_t nPlugin) const

Definition at line 358 of file CbmMvdSensor.cxx.

References fPluginArray, and CbmMvdSensorPlugin::GetMatchArray().

Referenced by CbmMvdDetector::GetMatchArray().

◆ GetNodeName()

TString CbmMvdSensor::GetNodeName ( )
inline

Definition at line 75 of file CbmMvdSensor.h.

References fNodeName.

◆ GetNumberOfHistograms()

UInt_t CbmMvdSensor::GetNumberOfHistograms ( UInt_t nPlugin)

Definition at line 396 of file CbmMvdSensor.cxx.

References fPluginArray.

Referenced by CbmMvdDetector::GetHistogram(), and CbmMvdDetector::GetMaxHistoNumber().

◆ GetOutputArray()

TClonesArray * CbmMvdSensor::GetOutputArray ( Int_t nPlugin) const

◆ GetOutputArrayLen()

Int_t CbmMvdSensor::GetOutputArrayLen ( Int_t nPlugin) const

Definition at line 365 of file CbmMvdSensor.cxx.

References GetOutputArray().

◆ GetOutputBuffer()

TClonesArray * CbmMvdSensor::GetOutputBuffer ( ) const

Definition at line 378 of file CbmMvdSensor.cxx.

References fPluginArray, and CbmMvdSensorPlugin::GetOutputArray().

◆ GetPlugin()

CbmMvdSensorPlugin * CbmMvdSensor::GetPlugin ( UInt_t nPlugin)
inline

Definition at line 137 of file CbmMvdSensor.h.

References fPluginArray.

◆ GetPluginArray()

TObjArray * CbmMvdSensor::GetPluginArray ( )
inline

Definition at line 105 of file CbmMvdSensor.h.

References fPluginArray.

Referenced by CbmMvdDetector::DetectPlugin().

◆ GetPluginArraySize()

UInt_t CbmMvdSensor::GetPluginArraySize ( )
inline

Definition at line 106 of file CbmMvdSensor.h.

References fPluginArray.

Referenced by CbmMvdDetector::GetHistogram(), and CbmMvdDetector::GetMaxHistoNumber().

◆ GetReadoutTime()

Double_t CbmMvdSensor::GetReadoutTime ( Double_t absoluteTime) const

◆ GetRecoMatrix()

TGeoHMatrix * CbmMvdSensor::GetRecoMatrix ( )
inline

◆ GetSensorNr()

◆ GetStationNr()

◆ GetVolumeId()

Int_t CbmMvdSensor::GetVolumeId ( ) const
inline

Definition at line 61 of file CbmMvdSensor.h.

References fVolumeId.

Referenced by CbmMvdSensorFindHitTask::Exec(), and CbmMvdSensorClusterfinderTask::ExecFrame().

◆ GetX()

Double_t CbmMvdSensor::GetX ( ) const
inline

Definition at line 68 of file CbmMvdSensor.h.

References fSensorPosition.

Referenced by CbmMvdSensorDigitizerTask::ProduceIonisationPoints().

◆ GetY()

Double_t CbmMvdSensor::GetY ( ) const
inline

Definition at line 69 of file CbmMvdSensor.h.

References fSensorPosition.

Referenced by CbmMvdSensorDigitizerTask::ProduceIonisationPoints().

◆ GetZ()

◆ Init()

◆ LocalToPixel()

◆ LocalToTop()

void CbmMvdSensor::LocalToTop ( Double_t * local,
Double_t * lab )

Coordinate transformations

Definition at line 406 of file CbmMvdSensor.cxx.

References fMCMatrix, and lab.

Referenced by PixelToTop(), and ReadSensorGeometry().

◆ operator=()

CbmMvdSensor CbmMvdSensor::operator= ( const CbmMvdSensor & )
private

◆ PixelToLocal()

◆ PixelToTop()

void CbmMvdSensor::PixelToTop ( Int_t pixelNumberX,
Int_t pixelNumberY,
Double_t * lab )

◆ Print()

void CbmMvdSensor::Print ( Option_t * opt = "") const
virtual

Output to screen

Definition at line 548 of file CbmMvdSensor.cxx.

References ToString().

◆ ReadSensorGeometry()

void CbmMvdSensor::ReadSensorGeometry ( TString nodeName)

◆ SendInputToPlugin()

void CbmMvdSensor::SendInputToPlugin ( Int_t nPlugin,
TObject * input )

◆ SetAlignment()

void CbmMvdSensor::SetAlignment ( TGeoHMatrix * alignmentMatrix)

Definition at line 104 of file CbmMvdSensor.cxx.

References fAlignmentCorr, and fNodeName.

◆ SetClusterPlugin()

void CbmMvdSensor::SetClusterPlugin ( const Int_t & nPlugin)
inline

Definition at line 119 of file CbmMvdSensor.h.

References fClusterPlugin.

◆ SetDataSheet()

void CbmMvdSensor::SetDataSheet ( CbmMvdSensorDataSheet * sheet)
inline

Definition at line 77 of file CbmMvdSensor.h.

References fSensorData.

Referenced by CbmMvdDetector::AddSensor().

◆ SetDigiPlugin()

void CbmMvdSensor::SetDigiPlugin ( const Int_t & nPlugin)
inline

Definition at line 117 of file CbmMvdSensor.h.

References fDigiPlugin.

◆ SetHitPlugin()

void CbmMvdSensor::SetHitPlugin ( const Int_t & nPlugin)
inline

Definition at line 118 of file CbmMvdSensor.h.

References fHitPlugin.

◆ SetMap()

void CbmMvdSensor::SetMap ( std::map< Int_t, Int_t > SensorMap)
inline

Definition at line 78 of file CbmMvdSensor.h.

References fSensorMap.

◆ SetMisalignment()

void CbmMvdSensor::SetMisalignment ( Float_t misalignment[3])
inline

Definition at line 139 of file CbmMvdSensor.h.

References epsilon.

Referenced by CbmMvdDetector::AddSensor().

◆ SetPluginList()

void CbmMvdSensor::SetPluginList ( TObjArray * pluginArray)
inline

Plugin Controll

Definition at line 133 of file CbmMvdSensor.h.

References fPluginArray.

◆ SetStation()

void CbmMvdSensor::SetStation ( Int_t StationNumber)
inline

Definition at line 85 of file CbmMvdSensor.h.

References fStationNr.

Referenced by CbmMvdDetector::AddSensor().

◆ ShowDebugHistos()

void CbmMvdSensor::ShowDebugHistos ( )

◆ StationNr()

int32_t CbmMvdDetectorId::StationNr ( int32_t detectorId) const
inlineinherited

◆ SystemId()

int32_t CbmMvdDetectorId::SystemId ( int32_t detectorId) const
inlineinherited

Get System identifier from detector ID

Definition at line 53 of file CbmMvdDetectorId.h.

References kMvd, and ToIntegralType().

Referenced by CbmMvdHit::GetSystemId(), and CbmMvdPoint::GetSystemId().

◆ TopToLocal()

void CbmMvdSensor::TopToLocal ( Double_t * lab,
Double_t * local )

◆ TopToPixel()

void CbmMvdSensor::TopToPixel ( Double_t * lab,
Int_t & pixelNumberX,
Int_t & pixelNumberY )

◆ ToString()

std::string CbmMvdSensor::ToString ( ) const

Definition at line 551 of file CbmMvdSensor.cxx.

References fRecoMatrix, fSensorData, fVolName, fVolumeId, and CbmMvdSensorDataSheet::ToString().

Referenced by Print().

Member Data Documentation

◆ epsilon

Float_t CbmMvdSensor::epsilon[3]
protected

Definition at line 180 of file CbmMvdSensor.h.

Referenced by ReadSensorGeometry(), and SetMisalignment().

◆ fAlignmentCorr

TGeoHMatrix* CbmMvdSensor::fAlignmentCorr
protected

Definition at line 187 of file CbmMvdSensor.h.

Referenced by GetAlignmentCorr(), ReadSensorGeometry(), and SetAlignment().

◆ fClusterPlugin

Int_t CbmMvdSensor::fClusterPlugin
protected

Definition at line 176 of file CbmMvdSensor.h.

Referenced by GetClusterPlugin(), and SetClusterPlugin().

◆ fcurrentEventTime

Double_t CbmMvdSensor::fcurrentEventTime
protected

Definition at line 179 of file CbmMvdSensor.h.

Referenced by ExecChain(), ExecFrom(), ExecTo(), and GetCurrentEventTime().

◆ fDetectorID

Int_t CbmMvdSensor::fDetectorID
protected

Definition at line 172 of file CbmMvdSensor.h.

Referenced by GetDetectorID().

◆ fDigiLen

Int_t CbmMvdSensor::fDigiLen
protected

Definition at line 175 of file CbmMvdSensor.h.

◆ fDigiPlugin

Int_t CbmMvdSensor::fDigiPlugin
protected

Definition at line 173 of file CbmMvdSensor.h.

Referenced by GetDigiPlugin(), and SetDigiPlugin().

◆ fHitPlugin

Int_t CbmMvdSensor::fHitPlugin
protected

Definition at line 174 of file CbmMvdSensor.h.

Referenced by GetHitPlugin(), and SetHitPlugin().

◆ fMCMatrix

TGeoHMatrix* CbmMvdSensor::fMCMatrix
protected

Definition at line 185 of file CbmMvdSensor.h.

Referenced by LocalToTop(), ReadSensorGeometry(), and TopToLocal().

◆ fNodeName

TString CbmMvdSensor::fNodeName
protected

Definition at line 178 of file CbmMvdSensor.h.

Referenced by GetNodeName(), Init(), and SetAlignment().

◆ fPluginArray

◆ fRecoMatrix

TGeoHMatrix* CbmMvdSensor::fRecoMatrix
protected

Definition at line 186 of file CbmMvdSensor.h.

Referenced by GetRecoMatrix(), ReadSensorGeometry(), and ToString().

◆ fSensorData

◆ fSensorMap

std::map<Int_t, Int_t> CbmMvdSensor::fSensorMap
protected

Definition at line 193 of file CbmMvdSensor.h.

Referenced by SetMap().

◆ fSensorNr

Int_t CbmMvdSensor::fSensorNr
protected

Definition at line 170 of file CbmMvdSensor.h.

Referenced by GetSensorNr().

◆ fSensorPosition

Double_t CbmMvdSensor::fSensorPosition[3]
protected

Definition at line 189 of file CbmMvdSensor.h.

Referenced by GetX(), GetY(), GetZ(), and ReadSensorGeometry().

◆ fSensorStartTime

Double_t CbmMvdSensor::fSensorStartTime
protected

Status of the sensor

Definition at line 200 of file CbmMvdSensor.h.

Referenced by GetFrameNumber(), GetFrameStartTime(), and GetReadoutTime().

◆ fShape

TGeoBBox* CbmMvdSensor::fShape
protected

Position of the sensor

Definition at line 184 of file CbmMvdSensor.h.

Referenced by GetDX(), GetDY(), GetDZ(), and ReadSensorGeometry().

◆ fStationNr

Int_t CbmMvdSensor::fStationNr
protected

Definition at line 169 of file CbmMvdSensor.h.

Referenced by GetStationNr(), and SetStation().

◆ fTempCoordinate

Double_t CbmMvdSensor::fTempCoordinate[3]
protected

Definition at line 188 of file CbmMvdSensor.h.

Referenced by PixelToTop(), and TopToPixel().

◆ fVolName

TString CbmMvdSensor::fVolName
protected

Definition at line 177 of file CbmMvdSensor.h.

Referenced by ToString().

◆ fVolumeId

Int_t CbmMvdSensor::fVolumeId
protected

Definition at line 171 of file CbmMvdSensor.h.

Referenced by GetVolumeId(), and ToString().

◆ initialized

Bool_t CbmMvdSensor::initialized
protected

Definition at line 204 of file CbmMvdSensor.h.

Referenced by Init().


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