|
CbmRoot
|
#include <CbmMvdSensor.h>
Public Member Functions | |
| CbmMvdSensor () | |
| includes from C | |
| CbmMvdSensor (const char *name, CbmMvdSensorDataSheet *dataSheet, TString volName, TString nodeName, Int_t sensorNr, Int_t volume, Double_t sensorStartTime) | |
| virtual | ~CbmMvdSensor () |
| uint32_t | GetAddress () const |
| 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 () |
| CbmMvdSensorDataSheet * | GetDataSheet () |
| void | SetAddress (uint32_t address) |
| Sets a hardware address of the sensor. | |
| 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) |
| CbmMvdSensorPlugin * | GetPlugin (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 | fDigiPlugin |
| Int_t | fHitPlugin |
| Int_t | fDigiLen |
| Int_t | fClusterPlugin |
| uint32_t | fAddress |
| 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] |
| CbmMvdSensorDataSheet * | fSensorData |
| 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, 2) | |
Definition at line 43 of file CbmMvdSensor.h.
| CbmMvdSensor::CbmMvdSensor | ( | ) |
includes from C
Default constructor
Definition at line 34 of file CbmMvdSensor.cxx.
References epsilon, fAddress, fAlignmentCorr, fClusterPlugin, fcurrentEventTime, fDigiLen, fDigiPlugin, fHitPlugin, fMCMatrix, fNodeName, fPluginArray, fRecoMatrix, fSensorData, fSensorMap, fSensorNr, fSensorPosition, fSensorStartTime, fShape, fStationNr, fTempCoordinate, fVolName, fVolumeId, and initialized.
Referenced by CbmMvdSensor(), ClassDef(), and operator=().
| CbmMvdSensor::CbmMvdSensor | ( | const char * | name, |
| CbmMvdSensorDataSheet * | dataSheet, | ||
| TString | volName, | ||
| TString | nodeName, | ||
| Int_t | sensorNr, | ||
| Int_t | volume, | ||
| Double_t | sensorStartTime ) |
Definition at line 70 of file CbmMvdSensor.cxx.
References epsilon, fAddress, fAlignmentCorr, fClusterPlugin, fcurrentEventTime, fDigiLen, fDigiPlugin, fHitPlugin, fMCMatrix, fNodeName, fPluginArray, fRecoMatrix, fSensorData, fSensorMap, fSensorNr, fSensorPosition, fSensorStartTime, fShape, fStationNr, fTempCoordinate, fVolName, fVolumeId, and initialized.
|
virtual |
|
private |
References CbmMvdSensor().
|
inline |
Definition at line 139 of file CbmMvdSensor.h.
References fPluginArray.
|
private |
References CbmMvdSensor().
|
inline |
Data control
Definition at line 163 of file CbmMvdSensor.h.
| Double_t CbmMvdSensor::ComputeEndOfBusyTime | ( | Double_t | hitMCTime, |
| Float_t | diodeCharge, | ||
| Int_t | pixelNumberY ) |
Definition at line 511 of file CbmMvdSensor.cxx.
References fSensorData, GetFrameEndTime(), and GetFrameNumber().
| Double_t CbmMvdSensor::ComputeIndecatedAnalogTime | ( | Double_t | hitMCTime, |
| Float_t | diodeCharge ) |
Definition at line 502 of file CbmMvdSensor.cxx.
References fSensorData.
| void CbmMvdSensor::Exec | ( | UInt_t | nPlugin | ) |
Definition at line 281 of file CbmMvdSensor.cxx.
References CbmMvdSensorPlugin::Exec(), and fPluginArray.
Referenced by CbmMvdDetector::Exec().
| void CbmMvdSensor::ExecChain | ( | ) |
Run control
Definition at line 248 of file CbmMvdSensor.cxx.
References CbmMvdSensorPlugin::ExecChain(), fcurrentEventTime, fPluginArray, and CbmMvdSensorPlugin::PluginReady().
Referenced by CbmMvdDetector::ExecChain().
| void CbmMvdSensor::ExecFrom | ( | UInt_t | nPlugin | ) |
Definition at line 319 of file CbmMvdSensor.cxx.
References CbmMvdSensorPlugin::ExecChain(), fcurrentEventTime, fPluginArray, and CbmMvdSensorPlugin::PluginReady().
Referenced by CbmMvdDetector::ExecFrom().
| void CbmMvdSensor::ExecTo | ( | UInt_t | nPlugin | ) |
Definition at line 289 of file CbmMvdSensor.cxx.
References CbmMvdSensorPlugin::ExecChain(), fcurrentEventTime, fPluginArray, and CbmMvdSensorPlugin::PluginReady().
| void CbmMvdSensor::Finish | ( | ) |
Definition at line 570 of file CbmMvdSensor.cxx.
References CbmMvdSensorPlugin::Finish(), and fPluginArray.
Referenced by CbmMvdDetector::Finish().
|
inline |
|
inline |
Definition at line 126 of file CbmMvdSensor.h.
References fAlignmentCorr.
|
inline |
Definition at line 108 of file CbmMvdSensor.h.
References fClusterPlugin.
|
inline |
Definition at line 72 of file CbmMvdSensor.h.
References fcurrentEventTime.
|
inline |
Definition at line 76 of file CbmMvdSensor.h.
References fSensorData.
|
inline |
Definition at line 62 of file CbmMvdSensor.h.
References fAddress.
Referenced by CbmMvdQa::ExecDigiQa().
|
inline |
Definition at line 106 of file CbmMvdSensor.h.
References fDigiPlugin.
|
inline |
Definition at line 65 of file CbmMvdSensor.h.
References fShape.
Referenced by LocalToPixel(), and PixelToLocal().
|
inline |
Definition at line 66 of file CbmMvdSensor.h.
References fShape.
Referenced by LocalToPixel(), and PixelToLocal().
|
inline |
Definition at line 67 of file CbmMvdSensor.h.
References fShape.
|
inline |
Definition at line 104 of file CbmMvdSensor.h.
References GetFrameStartTime().
Referenced by ComputeEndOfBusyTime().
Definition at line 479 of file CbmMvdSensor.cxx.
References fSensorData, and fSensorStartTime.
Referenced by ComputeEndOfBusyTime().
| Double_t CbmMvdSensor::GetFrameStartTime | ( | Int_t | frameNumber | ) |
Definition at line 525 of file CbmMvdSensor.cxx.
References fSensorData, and fSensorStartTime.
Referenced by GetFrameEndTime().
| TH1 * CbmMvdSensor::GetHistogram | ( | UInt_t | nPlugin, |
| UInt_t | nHisto ) |
Definition at line 389 of file CbmMvdSensor.cxx.
References fPluginArray, and CbmMvdSensorPlugin::GetHistogram().
Referenced by CbmMvdDetector::GetHistogram().
|
inline |
Definition at line 107 of file CbmMvdSensor.h.
References fHitPlugin.
|
inline |
Definition at line 71 of file CbmMvdSensor.h.
References fSensorData.
| TClonesArray * CbmMvdSensor::GetMatchArray | ( | Int_t | nPlugin | ) | const |
Definition at line 359 of file CbmMvdSensor.cxx.
References fPluginArray, and CbmMvdSensorPlugin::GetMatchArray().
Referenced by CbmMvdDetector::GetMatchArray().
|
inline |
Definition at line 75 of file CbmMvdSensor.h.
References fNodeName.
| UInt_t CbmMvdSensor::GetNumberOfHistograms | ( | UInt_t | nPlugin | ) |
Definition at line 397 of file CbmMvdSensor.cxx.
References fPluginArray.
Referenced by CbmMvdDetector::GetHistogram(), and CbmMvdDetector::GetMaxHistoNumber().
| TClonesArray * CbmMvdSensor::GetOutputArray | ( | Int_t | nPlugin | ) | const |
Definition at line 350 of file CbmMvdSensor.cxx.
References fPluginArray, and CbmMvdSensorPlugin::GetOutputArray().
Referenced by CbmMvdDetector::GetOutputArray(), and GetOutputArrayLen().
Definition at line 366 of file CbmMvdSensor.cxx.
References GetOutputArray().
| TClonesArray * CbmMvdSensor::GetOutputBuffer | ( | ) | const |
Definition at line 379 of file CbmMvdSensor.cxx.
References fPluginArray, and CbmMvdSensorPlugin::GetOutputArray().
|
inline |
Definition at line 141 of file CbmMvdSensor.h.
References fPluginArray.
|
inline |
Definition at line 109 of file CbmMvdSensor.h.
References fPluginArray.
Referenced by CbmMvdDetector::DetectPlugin().
|
inline |
Definition at line 110 of file CbmMvdSensor.h.
References fPluginArray.
Referenced by CbmMvdDetector::GetHistogram(), and CbmMvdDetector::GetMaxHistoNumber().
| Double_t CbmMvdSensor::GetReadoutTime | ( | Double_t | absoluteTime | ) | const |
Definition at line 532 of file CbmMvdSensor.cxx.
References fSensorData, and fSensorStartTime.
|
inline |
Definition at line 127 of file CbmMvdSensor.h.
References fRecoMatrix.
|
inline |
Definition at line 63 of file CbmMvdSensor.h.
References fSensorNr.
|
inline |
Definition at line 60 of file CbmMvdSensor.h.
References fStationNr.
|
inline |
Definition at line 61 of file CbmMvdSensor.h.
References fVolumeId.
|
inline |
Definition at line 68 of file CbmMvdSensor.h.
References fSensorPosition.
|
inline |
Definition at line 69 of file CbmMvdSensor.h.
References fSensorPosition.
|
inline |
Definition at line 70 of file CbmMvdSensor.h.
References fSensorPosition.
Referenced by CbmMvdQa::ExecDigiQa().
| void CbmMvdSensor::Init | ( | ) |
Definition at line 171 of file CbmMvdSensor.cxx.
References buffer, fNodeName, fPluginArray, CbmMvdSensorPlugin::GetOutputArray(), CbmMvdSensorPlugin::GetPluginType(), CbmMvdSensorBuffer::InitBuffer(), initialized, CbmMvdSensorTask::InitTask(), ReadSensorGeometry(), CbmMvdSensorPlugin::SetInputArray(), CbmMvdSensorPlugin::SetNextPlugin(), CbmMvdSensorPlugin::SetPreviousPlugin(), and task.
Referenced by CbmMvdDetector::Init().
Definition at line 422 of file CbmMvdSensor.cxx.
References fSensorData, GetDX(), GetDY(), x, and y.
Referenced by TopToPixel().
| void CbmMvdSensor::LocalToTop | ( | Double_t * | local, |
| Double_t * | lab ) |
Coordinate transformations
Definition at line 407 of file CbmMvdSensor.cxx.
References fMCMatrix, and lab.
Referenced by PixelToTop(), and ReadSensorGeometry().
|
private |
References CbmMvdSensor().
Definition at line 442 of file CbmMvdSensor.cxx.
References fSensorData, GetDX(), GetDY(), x, and y.
Referenced by PixelToTop(), and ReadSensorGeometry().
Definition at line 462 of file CbmMvdSensor.cxx.
References fTempCoordinate, lab, LocalToTop(), and PixelToLocal().
Referenced by CbmMvdQa::ExecDigiQa(), and ReadSensorGeometry().
|
virtual |
| void CbmMvdSensor::ReadSensorGeometry | ( | TString | nodeName | ) |
Initialization tools
Definition at line 114 of file CbmMvdSensor.cxx.
References epsilon, fAlignmentCorr, first, fMCMatrix, fRecoMatrix, fSensorData, fSensorPosition, fShape, LocalToTop(), PixelToLocal(), and PixelToTop().
Referenced by Init().
| void CbmMvdSensor::SendInputToPlugin | ( | Int_t | nPlugin, |
| TObject * | input ) |
Definition at line 239 of file CbmMvdSensor.cxx.
References fPluginArray, and CbmMvdSensorPlugin::SetInput().
|
inline |
Sets a hardware address of the sensor.
| address | Unique 32-bit address of the sensor |
Definition at line 80 of file CbmMvdSensor.h.
References fAddress.
Referenced by CbmMvdDetector::AddSensor().
| void CbmMvdSensor::SetAlignment | ( | TGeoHMatrix * | alignmentMatrix | ) |
Definition at line 105 of file CbmMvdSensor.cxx.
References fAlignmentCorr, and fNodeName.
|
inline |
Definition at line 123 of file CbmMvdSensor.h.
References fClusterPlugin.
|
inline |
Definition at line 81 of file CbmMvdSensor.h.
References fSensorData.
Referenced by CbmMvdDetector::AddSensor().
|
inline |
Definition at line 121 of file CbmMvdSensor.h.
References fDigiPlugin.
|
inline |
Definition at line 122 of file CbmMvdSensor.h.
References fHitPlugin.
Definition at line 82 of file CbmMvdSensor.h.
References fSensorMap.
|
inline |
Definition at line 143 of file CbmMvdSensor.h.
References epsilon.
Referenced by CbmMvdDetector::AddSensor().
|
inline |
|
inline |
Definition at line 89 of file CbmMvdSensor.h.
References fStationNr.
Referenced by CbmMvdDetector::AddSensor().
| void CbmMvdSensor::ShowDebugHistos | ( | ) |
Definition at line 225 of file CbmMvdSensor.cxx.
References fPluginArray, and CbmMvdSensorPlugin::ShowDebugHistos().
Referenced by CbmMvdDetector::ShowDebugHistos().
| void CbmMvdSensor::TopToLocal | ( | Double_t * | lab, |
| Double_t * | local ) |
Definition at line 412 of file CbmMvdSensor.cxx.
References fMCMatrix, and lab.
Referenced by TopToPixel().
Definition at line 470 of file CbmMvdSensor.cxx.
References fTempCoordinate, lab, LocalToPixel(), and TopToLocal().
| std::string CbmMvdSensor::ToString | ( | ) | const |
Definition at line 552 of file CbmMvdSensor.cxx.
References fRecoMatrix, fSensorData, fVolName, and fVolumeId.
Referenced by Print().
|
protected |
Definition at line 184 of file CbmMvdSensor.h.
Referenced by CbmMvdSensor(), CbmMvdSensor(), ReadSensorGeometry(), and SetMisalignment().
|
protected |
Definition at line 180 of file CbmMvdSensor.h.
Referenced by CbmMvdSensor(), CbmMvdSensor(), GetAddress(), GetDetectorID(), and SetAddress().
|
protected |
Definition at line 191 of file CbmMvdSensor.h.
Referenced by CbmMvdSensor(), CbmMvdSensor(), GetAlignmentCorr(), ReadSensorGeometry(), and SetAlignment().
|
protected |
Definition at line 179 of file CbmMvdSensor.h.
Referenced by CbmMvdSensor(), CbmMvdSensor(), GetClusterPlugin(), and SetClusterPlugin().
|
protected |
Definition at line 183 of file CbmMvdSensor.h.
Referenced by CbmMvdSensor(), CbmMvdSensor(), ExecChain(), ExecFrom(), ExecTo(), and GetCurrentEventTime().
|
protected |
Definition at line 178 of file CbmMvdSensor.h.
Referenced by CbmMvdSensor(), and CbmMvdSensor().
|
protected |
Definition at line 176 of file CbmMvdSensor.h.
Referenced by CbmMvdSensor(), CbmMvdSensor(), GetDigiPlugin(), and SetDigiPlugin().
|
protected |
Definition at line 177 of file CbmMvdSensor.h.
Referenced by CbmMvdSensor(), CbmMvdSensor(), GetHitPlugin(), and SetHitPlugin().
|
protected |
Definition at line 189 of file CbmMvdSensor.h.
Referenced by CbmMvdSensor(), CbmMvdSensor(), LocalToTop(), ReadSensorGeometry(), and TopToLocal().
|
protected |
Definition at line 182 of file CbmMvdSensor.h.
Referenced by CbmMvdSensor(), CbmMvdSensor(), GetNodeName(), Init(), and SetAlignment().
|
protected |
Plugins
Definition at line 200 of file CbmMvdSensor.h.
Referenced by AddPlugin(), CbmMvdSensor(), CbmMvdSensor(), Exec(), ExecChain(), ExecFrom(), ExecTo(), Finish(), GetHistogram(), GetMatchArray(), GetNumberOfHistograms(), GetOutputArray(), GetOutputBuffer(), GetPlugin(), GetPluginArray(), GetPluginArraySize(), Init(), SendInputToPlugin(), SetPluginList(), and ShowDebugHistos().
|
protected |
Definition at line 190 of file CbmMvdSensor.h.
Referenced by CbmMvdSensor(), CbmMvdSensor(), GetRecoMatrix(), ReadSensorGeometry(), and ToString().
|
protected |
Technical data of the sensor
Definition at line 196 of file CbmMvdSensor.h.
Referenced by CbmMvdSensor(), CbmMvdSensor(), ComputeEndOfBusyTime(), ComputeIndecatedAnalogTime(), GetDataSheet(), GetFrameNumber(), GetFrameStartTime(), GetIntegrationtime(), GetReadoutTime(), LocalToPixel(), PixelToLocal(), ReadSensorGeometry(), SetDataSheet(), ToString(), and ~CbmMvdSensor().
Definition at line 197 of file CbmMvdSensor.h.
Referenced by CbmMvdSensor(), CbmMvdSensor(), and SetMap().
|
protected |
Definition at line 174 of file CbmMvdSensor.h.
Referenced by CbmMvdSensor(), CbmMvdSensor(), and GetSensorNr().
|
protected |
Definition at line 193 of file CbmMvdSensor.h.
Referenced by CbmMvdSensor(), CbmMvdSensor(), GetX(), GetY(), GetZ(), and ReadSensorGeometry().
|
protected |
Status of the sensor
Definition at line 204 of file CbmMvdSensor.h.
Referenced by CbmMvdSensor(), CbmMvdSensor(), GetFrameNumber(), GetFrameStartTime(), and GetReadoutTime().
|
protected |
Position of the sensor
Definition at line 188 of file CbmMvdSensor.h.
Referenced by CbmMvdSensor(), CbmMvdSensor(), GetDX(), GetDY(), GetDZ(), and ReadSensorGeometry().
|
protected |
Definition at line 173 of file CbmMvdSensor.h.
Referenced by CbmMvdSensor(), CbmMvdSensor(), GetStationNr(), and SetStation().
|
protected |
Definition at line 192 of file CbmMvdSensor.h.
Referenced by CbmMvdSensor(), CbmMvdSensor(), PixelToTop(), and TopToPixel().
|
protected |
Definition at line 181 of file CbmMvdSensor.h.
Referenced by CbmMvdSensor(), CbmMvdSensor(), and ToString().
|
protected |
Definition at line 175 of file CbmMvdSensor.h.
Referenced by CbmMvdSensor(), CbmMvdSensor(), GetVolumeId(), and ToString().
|
protected |
Definition at line 208 of file CbmMvdSensor.h.
Referenced by CbmMvdSensor(), CbmMvdSensor(), and Init().