CbmRoot
CbmMvdSensor Class Reference

#include <CbmMvdSensor.h>

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

Public Member Functions

 CbmMvdSensor ()
 
 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 SendInput (CbmMvdPoint *point)
 
void SendInputDigi (CbmMvdDigi *digi)
 
void SendInputDigiToHit (CbmMvdDigi *digi)
 
void SendInputCluster (CbmMvdCluster *cluster)
 
void SetStation (Int_t StationNumber)
 
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 (Int_t pixelNumberY, Double_t absoluteTime) const
 
Int_t GetDigiPlugin () const
 
Int_t GetHitPlugin () const
 
Int_t GetClusterPlugin () const
 
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
 
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 * GetOutputMatch () const
 
Int_t GetOutputArrayLen (Int_t nPlugin) const
 
void SetProduceNoise ()
 

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
 
TClonesArray * foutputDigis
 
TClonesArray * foutputCluster
 
TClonesArray * foutputDigiMatch
 
TClonesArray * foutputBuffer
 
TClonesArray * fcurrentPoints
 
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)
 
Int_t DetectorId (Int_t iStation) const
 
Int_t SystemId (Int_t detectorId) const
 
Int_t StationNr (Int_t detectorId) const
 
 ClassDef (CbmMvdDetectorId, 1)
 

Detailed Description

Definition at line 40 of file CbmMvdSensor.h.

Constructor & Destructor Documentation

◆ CbmMvdSensor() [1/3]

CbmMvdSensor::CbmMvdSensor ( )

Default constructor

Definition at line 42 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 89 of file CbmMvdSensor.cxx.

◆ ~CbmMvdSensor()

CbmMvdSensor::~CbmMvdSensor ( )
virtual

Destructor

Definition at line 130 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 125 of file CbmMvdSensor.h.

References fPluginArray.

Referenced by CbmMvdDetector::AddPlugin().

◆ ClassDef() [1/2]

CbmMvdDetectorId::ClassDef ( CbmMvdDetectorId  ,
 
)
inherited

◆ ClassDef() [2/2]

CbmMvdSensor::ClassDef ( CbmMvdSensor  ,
 
)
private

◆ ClearInputArray()

void CbmMvdSensor::ClearInputArray ( )
inline

Data control

Definition at line 152 of file CbmMvdSensor.h.

◆ DetectorId()

Int_t CbmMvdDetectorId::DetectorId ( Int_t  iStation) const
inlineinherited

Create unique detector ID from station number

Definition at line 44 of file CbmMvdDetectorId.h.

References kMvd, and ToIntegralType().

Referenced by CbmMvdHit::CbmMvdHit(), CbmMvdPoint::CbmMvdPoint(), and CbmMvdCluster::GetDetectorId().

◆ Exec()

void CbmMvdSensor::Exec ( UInt_t  nPlugin)

◆ ExecChain()

◆ ExecFrom()

void CbmMvdSensor::ExecFrom ( UInt_t  nPlugin)

◆ ExecTo()

◆ Finish()

void CbmMvdSensor::Finish ( )

Definition at line 703 of file CbmMvdSensor.cxx.

References CbmMvdSensorPlugin::Finish(), fPluginArray, and i.

Referenced by CbmMvdDetector::Finish().

◆ GetAlignmentCorr()

TGeoHMatrix* CbmMvdSensor::GetAlignmentCorr ( )
inline

Definition at line 112 of file CbmMvdSensor.h.

References fAlignmentCorr.

◆ GetClusterPlugin()

Int_t CbmMvdSensor::GetClusterPlugin ( ) const
inline

Definition at line 105 of file CbmMvdSensor.h.

References fClusterPlugin.

Referenced by CbmMvdDetector::GetOutputCluster().

◆ GetCurrentEventTime()

Double_t CbmMvdSensor::GetCurrentEventTime ( ) const
inline

◆ GetDataSheet()

◆ GetDetectorID()

◆ GetDigiPlugin()

Int_t CbmMvdSensor::GetDigiPlugin ( ) const
inline

Definition at line 103 of file CbmMvdSensor.h.

References fDigiPlugin.

Referenced by CbmMvdDetector::GetOutputDigiMatchs(), and CbmMvdDetector::GetOutputDigis().

◆ GetDX()

Double_t CbmMvdSensor::GetDX ( ) const
inline

Definition at line 66 of file CbmMvdSensor.h.

References fShape.

Referenced by LocalToPixel(), and PixelToLocal().

◆ GetDY()

Double_t CbmMvdSensor::GetDY ( ) const
inline

Definition at line 67 of file CbmMvdSensor.h.

References fShape.

Referenced by LocalToPixel(), and PixelToLocal().

◆ GetDZ()

Double_t CbmMvdSensor::GetDZ ( ) const
inline

Definition at line 68 of file CbmMvdSensor.h.

References fShape.

Referenced by CbmMvdSensorDigitizerTBTask::Exec(), and CbmMvdSensorDigitizerTask::Exec().

◆ GetFrameNumber()

Int_t CbmMvdSensor::GetFrameNumber ( Int_t  pixelNumberY,
Double_t  absoluteTime 
) const

◆ GetHitPlugin()

Int_t CbmMvdSensor::GetHitPlugin ( ) const
inline

Definition at line 104 of file CbmMvdSensor.h.

References fHitPlugin.

Referenced by CbmMvdDetector::GetOutputHits().

◆ GetIntegrationtime()

◆ GetNodeName()

TString CbmMvdSensor::GetNodeName ( )
inline

Definition at line 82 of file CbmMvdSensor.h.

References fNodeName.

◆ GetOutputArray()

◆ GetOutputArrayLen()

◆ GetOutputBuffer()

TClonesArray * CbmMvdSensor::GetOutputBuffer ( ) const

◆ GetOutputMatch()

TClonesArray * CbmMvdSensor::GetOutputMatch ( ) const

◆ GetPlugin()

CbmMvdSensorPlugin* CbmMvdSensor::GetPlugin ( UInt_t  nPlugin)
inline

Definition at line 129 of file CbmMvdSensor.h.

References fPluginArray.

◆ 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 62 of file CbmMvdSensor.h.

References fVolumeId.

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

◆ GetX()

Double_t CbmMvdSensor::GetX ( ) const
inline

Definition at line 69 of file CbmMvdSensor.h.

References fSensorPosition.

Referenced by CbmMvdSensorDigitizerTask::ProduceIonisationPoints().

◆ GetY()

Double_t CbmMvdSensor::GetY ( ) const
inline

Definition at line 72 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 566 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 688 of file CbmMvdSensor.cxx.

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

◆ ReadSensorGeometry()

void CbmMvdSensor::ReadSensorGeometry ( TString  nodeName)

◆ SendInput()

void CbmMvdSensor::SendInput ( CbmMvdPoint point)

◆ SendInputCluster()

void CbmMvdSensor::SendInputCluster ( CbmMvdCluster cluster)

◆ SendInputDigi()

void CbmMvdSensor::SendInputDigi ( CbmMvdDigi digi)

◆ SendInputDigiToHit()

void CbmMvdSensor::SendInputDigiToHit ( CbmMvdDigi digi)

◆ SetAlignment()

void CbmMvdSensor::SetAlignment ( TGeoHMatrix *  alignmentMatrix)

Definition at line 133 of file CbmMvdSensor.cxx.

References fAlignmentCorr, and fNodeName.

◆ SetClusterPlugin()

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

Definition at line 109 of file CbmMvdSensor.h.

References fClusterPlugin.

Referenced by CbmMvdDetector::AddPlugin().

◆ SetDataSheet()

void CbmMvdSensor::SetDataSheet ( CbmMvdSensorDataSheet sheet)
inline

Definition at line 84 of file CbmMvdSensor.h.

References fSensorData.

Referenced by CbmMvdDetector::AddSensor().

◆ SetDigiPlugin()

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

Definition at line 107 of file CbmMvdSensor.h.

References fDigiPlugin.

Referenced by CbmMvdDetector::AddPlugin().

◆ SetHitPlugin()

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

Definition at line 108 of file CbmMvdSensor.h.

References fHitPlugin.

Referenced by CbmMvdDetector::AddPlugin().

◆ SetMap()

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

Definition at line 85 of file CbmMvdSensor.h.

References fSensorMap.

◆ SetMisalignment()

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

Definition at line 133 of file CbmMvdSensor.h.

References epsilon, and i.

Referenced by CbmMvdDetector::AddSensor().

◆ SetPluginList()

void CbmMvdSensor::SetPluginList ( TObjArray *  pluginArray)
inline

Plugin Controll

Definition at line 123 of file CbmMvdSensor.h.

References fPluginArray.

◆ SetProduceNoise()

void CbmMvdSensor::SetProduceNoise ( )

◆ SetStation()

void CbmMvdSensor::SetStation ( Int_t  StationNumber)
inline

Definition at line 92 of file CbmMvdSensor.h.

References fStationNr.

Referenced by CbmMvdDetector::AddSensor().

◆ ShowDebugHistos()

void CbmMvdSensor::ShowDebugHistos ( )

◆ StationNr()

Int_t CbmMvdDetectorId::StationNr ( Int_t  detectorId) const
inlineinherited

Get station number from detector ID

Definition at line 61 of file CbmMvdDetectorId.h.

Referenced by CbmMvdDigi::GetStationNr(), CbmMvdHit::GetStationNr(), and CbmMvdPoint::GetStationNr().

◆ SystemId()

Int_t CbmMvdDetectorId::SystemId ( Int_t  detectorId) const
inlineinherited

Get System identifier from detector ID

Definition at line 50 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 
)

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 189 of file CbmMvdSensor.h.

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

◆ fClusterPlugin

Int_t CbmMvdSensor::fClusterPlugin
protected

◆ fcurrentEventTime

Double_t CbmMvdSensor::fcurrentEventTime
protected

Definition at line 179 of file CbmMvdSensor.h.

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

◆ fcurrentPoints

TClonesArray* CbmMvdSensor::fcurrentPoints
protected

Definition at line 178 of file CbmMvdSensor.h.

◆ fDetectorID

Int_t CbmMvdSensor::fDetectorID
protected

Definition at line 167 of file CbmMvdSensor.h.

Referenced by GetDetectorID().

◆ fDigiLen

Int_t CbmMvdSensor::fDigiLen
protected

Definition at line 170 of file CbmMvdSensor.h.

◆ fDigiPlugin

Int_t CbmMvdSensor::fDigiPlugin
protected

Definition at line 168 of file CbmMvdSensor.h.

Referenced by GetDigiPlugin(), GetOutputArray(), GetOutputArrayLen(), and SetDigiPlugin().

◆ fHitPlugin

Int_t CbmMvdSensor::fHitPlugin
protected

◆ fMCMatrix

TGeoHMatrix* CbmMvdSensor::fMCMatrix
protected

Definition at line 186 of file CbmMvdSensor.h.

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

◆ fNodeName

TString CbmMvdSensor::fNodeName
protected

Definition at line 173 of file CbmMvdSensor.h.

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

◆ foutputBuffer

TClonesArray* CbmMvdSensor::foutputBuffer
protected

Definition at line 177 of file CbmMvdSensor.h.

Referenced by Exec(), ExecChain(), ExecTo(), GetOutputArrayLen(), GetOutputBuffer(), and Init().

◆ foutputCluster

TClonesArray* CbmMvdSensor::foutputCluster
protected

Definition at line 175 of file CbmMvdSensor.h.

Referenced by Exec(), ExecChain(), ExecTo(), GetOutputArray(), GetOutputArrayLen(), and Init().

◆ foutputDigiMatch

TClonesArray* CbmMvdSensor::foutputDigiMatch
protected

Definition at line 176 of file CbmMvdSensor.h.

Referenced by Exec(), ExecChain(), ExecTo(), GetOutputArray(), GetOutputMatch(), and Init().

◆ foutputDigis

TClonesArray* CbmMvdSensor::foutputDigis
protected

Definition at line 174 of file CbmMvdSensor.h.

Referenced by Exec(), ExecChain(), ExecTo(), GetOutputArray(), GetOutputArrayLen(), and Init().

◆ fPluginArray

◆ fRecoMatrix

TGeoHMatrix* CbmMvdSensor::fRecoMatrix
protected

Definition at line 187 of file CbmMvdSensor.h.

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

◆ fSensorData

CbmMvdSensorDataSheet* CbmMvdSensor::fSensorData
protected

◆ fSensorMap

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

Definition at line 196 of file CbmMvdSensor.h.

Referenced by SetMap().

◆ fSensorNr

Int_t CbmMvdSensor::fSensorNr
protected

Definition at line 165 of file CbmMvdSensor.h.

Referenced by GetSensorNr().

◆ fSensorPosition

Double_t CbmMvdSensor::fSensorPosition[3]
protected

Definition at line 192 of file CbmMvdSensor.h.

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

◆ fSensorStartTime

Double_t CbmMvdSensor::fSensorStartTime
protected

Status of the sensor

Definition at line 203 of file CbmMvdSensor.h.

Referenced by GetFrameNumber(), 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 164 of file CbmMvdSensor.h.

Referenced by GetStationNr(), and SetStation().

◆ fTempCoordinate

Double_t CbmMvdSensor::fTempCoordinate[3]
protected

Definition at line 191 of file CbmMvdSensor.h.

Referenced by PixelToTop(), and TopToPixel().

◆ fVolName

TString CbmMvdSensor::fVolName
protected

Definition at line 172 of file CbmMvdSensor.h.

Referenced by Print().

◆ fVolumeId

Int_t CbmMvdSensor::fVolumeId
protected

Definition at line 166 of file CbmMvdSensor.h.

Referenced by GetVolumeId(), and Print().

◆ initialized

Bool_t CbmMvdSensor::initialized
protected

Definition at line 207 of file CbmMvdSensor.h.

Referenced by Init().


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