CbmRoot
|
Definition of chamber gain conversion for one TRD module. More...
#include <CbmTrdParModDigi.h>
Public Member Functions | |
CbmTrdParModDigi () | |
CbmTrdParModDigi (Double_t x, Double_t y, Double_t z, Double_t sizex, Double_t sizey, Double_t sizez, Int_t nofSectors, Int_t orientation, const TArrayD §orSizeX, const TArrayD §orSizeY, const TArrayD &padSizeX, const TArrayD &padSizeY) | |
virtual | ~CbmTrdParModDigi () |
Int_t | GetNofColumns () const |
Int_t | GetNofRows () const |
Int_t | GetNofColumnsInSector (Int_t i) const |
Int_t | GetNofRowsInSector (Int_t i) const |
Int_t | GetOrientation () const |
Double_t | GetPadSizeX (Int_t i) const |
Double_t | GetPadSizeY (Int_t i) const |
Double_t | GetSectorBeginX (Int_t i) const |
Double_t | GetSectorBeginY (Int_t i) const |
Double_t | GetSectorSizeX (Int_t i) const |
Double_t | GetSectorSizeY (Int_t i) const |
Double_t | GetAnodeWireToPadPlaneDistance () const |
Double_t | GetAnodeWireOffset () const |
Double_t | GetAnodeWireSpacing () const |
Int_t | GetNofSectors () const |
Int_t | GetModuleRow (Int_t §orId, Int_t &rowId) const |
Int_t | GetSectorRow (Int_t growId, Int_t &srowId) const |
Find the sector wise row given the module row. Inverse of GetModuleRow() | |
Bool_t | GetPadInfo (const Double_t *local_point, Int_t §orId, Int_t &columnId, Int_t &rowId) const |
void | GetPadInfo (const CbmTrdPoint *trdPoint, Int_t §orId, Int_t &columnId, Int_t &rowId) const |
void | GetPadPosition (const Int_t sector, const Int_t col, const Int_t row, TVector3 &padPos, TVector3 &padPosErr) const |
void | GetPadPosition (const Int_t padAddress, bool isCbmTrdDigiAddress, TVector3 &padPos, TVector3 &padPosErr) const |
void | GetPadPosition (const Int_t padAddress, TVector3 &padPos, TVector3 &padPosErr) const |
void | GetPosition (Int_t sectorId, Int_t columnId, Int_t rowId, TVector3 &padPos, TVector3 &padSize) const |
Int_t | GetPadColumn (const Int_t channelNumber) const |
Int_t | GetPadRow (const Int_t channelNumber) const |
Int_t | GetSector (Int_t npady, Int_t &rowId) const |
Double_t | GetSizeX () const |
Double_t | GetSizeY () const |
Double_t | GetSizeZ () const |
Double_t | GetX () const |
Double_t | GetY () const |
Double_t | GetZ () const |
int | GetPadPlaneType () const |
Access the basic type of pad plane topology. For convenience also specific accessors are added for each specific pad-plane type. | |
bool | IsPadPlane1D () const |
bool | IsPadPlane2D () const |
void | Print (Option_t *opt="") const |
void | ProjectPositionToNextAnodeWire (Double_t *local_point) const |
void | SetAnodeWireToPadPlaneDistance (Double_t d) |
void | SetAnodeWireOffset (Double_t off) |
void | SetAnodeWireSpacing (Double_t dw) |
void | TransformHitError (TVector3 &hitErr) const |
void | TransformToLocalPad (const Double_t *local_point, Double_t &posX, Double_t &posY) const |
virtual uint16_t | GetConfig () const |
virtual int | GetModuleId () const |
virtual uint8_t | GetVersion () const |
virtual void | SetConfigId (uint16_t c) |
virtual void | SetModuleId (int m) |
virtual void | SetVersion (uint8_t v) |
Protected Attributes | |
uint8_t | fVersion = 0 |
version of the parameter | |
uint16_t | fConfig = 0 |
configuration setup of the module | |
int | fModuleId = 0 |
module id | |
Private Member Functions | |
CbmTrdParModDigi (const CbmTrdParModDigi &ref) | |
const CbmTrdParModDigi & | operator= (const CbmTrdParModDigi &ref) |
void | GetModuleInformation (const Double_t *local_point, Int_t §orId, Int_t &columnId, Int_t &rowId) const |
void | TransformToLocalCorner (const Double_t *local_point, Double_t &posX, Double_t &posY) const |
void | TransformToLocalSector (const Double_t *local_point, Double_t &posX, Double_t &posY) const |
Int_t | GetSector (const Double_t *local_point) const |
Private Attributes | |
Int_t | fNofSectors |
number sectors for this module | |
Int_t | fOrientation |
Double_t | fAnodeWireOffset |
Anode Wire Offset [cm]. | |
Double_t | fAnodeWireSpacing |
anode wire pitch [cm] | |
Double_t | fAnodeWireToPadPlaneDistance |
Anode Wire to PadPlane Distance [cm]. | |
Double_t | fX |
center of module in global c.s. [cm] | |
Double_t | fY |
center of module in global c.s. [cm] | |
Double_t | fZ |
center of module in global c.s. [cm] | |
Double_t | fSizeX |
module half size in x [cm] | |
Double_t | fSizeY |
module half size in y [cm] | |
Double_t | fSizeZ |
module half size in z [cm] | |
TArrayD | fSectorX |
center of sectors local c.s. [cm] | |
TArrayD | fSectorY |
center of sectors local c.s. [cm] | |
TArrayD | fSectorZ |
center of sectors local c.s. [cm] | |
TArrayD | fSectorBeginX |
begin of sector [cm] | |
TArrayD | fSectorBeginY |
begin of sector [cm] | |
TArrayD | fSectorEndX |
end of sector [cm] | |
TArrayD | fSectorEndY |
end of sector [cm] | |
TArrayD | fSectorSizeX |
sector size in x [cm] | |
TArrayD | fSectorSizeY |
sector size in y [cm] | |
TArrayD | fPadSizeX |
size of the readout pad in x [cm] | |
TArrayD | fPadSizeY |
size of the readout pad in y [cm] | |
Definition of chamber gain conversion for one TRD module.
Definition at line 19 of file CbmTrdParModDigi.h.
CbmTrdParModDigi::CbmTrdParModDigi | ( | ) |
Definition at line 25 of file CbmTrdParModDigi.cxx.
CbmTrdParModDigi::CbmTrdParModDigi | ( | Double_t | x, |
Double_t | y, | ||
Double_t | z, | ||
Double_t | sizex, | ||
Double_t | sizey, | ||
Double_t | sizez, | ||
Int_t | nofSectors, | ||
Int_t | orientation, | ||
const TArrayD & | sectorSizeX, | ||
const TArrayD & | sectorSizeY, | ||
const TArrayD & | padSizeX, | ||
const TArrayD & | padSizeY ) |
Calculate the coordinates of the begin and the end of each sector as well as the coordinates of the center of the sector In the moment it is assumed that there are sectors which have either in x- or y-direction the size of the chamber.
Definition at line 52 of file CbmTrdParModDigi.cxx.
References fNofSectors, fSectorBeginX, fSectorBeginY, fSectorEndX, fSectorEndY, fSectorX, fSectorY, fSectorZ, fZ, x, and y.
|
inlinevirtual |
Definition at line 25 of file CbmTrdParModDigi.h.
|
private |
|
inline |
Definition at line 40 of file CbmTrdParModDigi.h.
References fAnodeWireOffset.
Referenced by CbmTrdParSetDigi::putParams().
|
inline |
Definition at line 41 of file CbmTrdParModDigi.h.
References fAnodeWireSpacing.
Referenced by CbmTrdModuleSim2D::MakeDigi(), CbmTrdModuleSimR::MakeDigi(), and CbmTrdParSetDigi::putParams().
|
inline |
Definition at line 39 of file CbmTrdParModDigi.h.
References fAnodeWireToPadPlaneDistance.
Referenced by CbmTrdParSetDigi::putParams(), and CbmTrdModuleSimR::ScanPadPlane().
|
inlinevirtualinherited |
Definition at line 17 of file CbmTrdParMod.h.
References CbmTrdParMod::fConfig.
|
inlinevirtualinherited |
Definition at line 18 of file CbmTrdParMod.h.
References CbmTrdParMod::fModuleId.
Referenced by CbmTrdParSet::addParam(), and CbmMcbm2018UnpackerAlgoTrdR::CreateHistogram().
|
private |
Definition at line 651 of file CbmTrdParModDigi.cxx.
References fPadSizeX, fPadSizeY, GetSector(), and TransformToLocalSector().
Referenced by GetPadInfo().
Int_t CbmTrdParModDigi::GetModuleRow | ( | Int_t & | sectorId, |
Int_t & | rowId ) const |
Definition at line 350 of file CbmTrdParModDigi.cxx.
References fPadSizeY, fSectorSizeY, GetNofRowsInSector(), and GetNofSectors().
Referenced by CbmTrdHitDensityQa::Exec(), CbmTrdOccupancyQa::Exec(), CbmTrdQa::Exec(), and CbmTrdRecoQa::Exec().
Int_t CbmTrdParModDigi::GetNofColumns | ( | ) | const |
Get total number of pad columns in module
Definition at line 298 of file CbmTrdParModDigi.cxx.
References fNofSectors, fPadSizeX, fSectorSizeX, and fSizeX.
Referenced by CbmTrdClusterFinder::AddClusters(), CbmTrdModuleSimR::AddDigi(), CbmTrdModuleSimR::AddDigitoBuffer(), CbmTrdUnpackFaspMonitor::addParam(), CbmTrdModuleSimR::CheckMulti(), CbmMcbm2018UnpackerAlgoTrdR::CreateHistogram(), CbmTrdParManager::CreateModuleParameters(), CbmTrdHitDensityQa::Exec(), CbmTrdOccupancyQa::Exec(), CbmTrdRecoQa::Exec(), CbmMcbm2018UnpackerAlgoTrdR::FillHistograms(), CbmTrdModuleRecR::FindClusters(), CbmTrdHitDensityQa::Finish(), CbmTrdHitRateFastQa::GetModuleInformationFromDigiPar(), CbmTrdHitRateQa::GetModuleInformationFromDigiPar(), CbmTrdUtils::GetModuleType(), CbmTrdModuleAbstract::GetNcols(), GetPadColumn(), GetPadInfo(), GetPadRow(), CbmTaskTrdHitFinderParWrite::Init(), CbmTrdModuleRecR::IsClusterComplete(), CbmTrdModuleRec2D::LoadDigisRC(), Print(), CbmTrdModuleSimR::ProcessPulseBuffer(), CbmTrdModuleSim2D::ScanPadPlane(), CbmTrdModuleSimR::ScanPadPlane(), and CbmTrdModuleSimR::SetAsicPar().
Int_t CbmTrdParModDigi::GetNofColumnsInSector | ( | Int_t | i | ) | const |
Definition at line 336 of file CbmTrdParModDigi.cxx.
References fPadSizeX, and fSectorSizeX.
Referenced by CbmTrdHitDensityQa::Finish(), CbmTrdHitRateFastQa::GetModuleInformationFromDigiPar(), CbmTrdHitRateQa::GetModuleInformationFromDigiPar(), GetPosition(), Print(), CbmTrdHitRateFastQa::ScanModulePlane(), and CbmTrdModuleSimR::SetAsicPar().
Int_t CbmTrdParModDigi::GetNofRows | ( | ) | const |
Get total number of pad rows in module
Definition at line 317 of file CbmTrdParModDigi.cxx.
References fNofSectors, fPadSizeY, fSectorSizeY, and fSizeY.
Referenced by CbmTrdUnpackFaspMonitor::addParam(), CbmMcbm2018UnpackerAlgoTrdR::CreateHistogram(), CbmTrdParManager::CreateModuleParameters(), CbmTrdHitDensityQa::Exec(), CbmTrdOccupancyQa::Exec(), CbmTrdRecoQa::Exec(), CbmMcbm2018UnpackerAlgoTrdR::FillHistograms(), CbmTrdHitDensityQa::Finish(), CbmTrdHitRateFastQa::GetModuleInformationFromDigiPar(), CbmTrdHitRateQa::GetModuleInformationFromDigiPar(), CbmTrdUtils::GetModuleType(), CbmTrdModuleAbstract::GetNrows(), GetPadInfo(), GetSector(), GetSectorRow(), CbmTaskTrdHitFinderParWrite::Init(), CbmTrdModuleRecR::IsClusterComplete(), Print(), CbmTrdModuleSim2D::ScanPadPlane(), CbmTrdModuleSimR::ScanPadPlane(), and CbmTrdModuleSimR::SetAsicPar().
Int_t CbmTrdParModDigi::GetNofRowsInSector | ( | Int_t | i | ) | const |
Definition at line 343 of file CbmTrdParModDigi.cxx.
References fPadSizeY, and fSectorSizeY.
Referenced by CbmTrdModuleSimR::AddDigi(), CbmTrdModuleSimR::AddDigitoBuffer(), CbmTrdQa::Exec(), CbmTrdHitDensityQa::Finish(), CbmTrdHitRateFastQa::GetModuleInformationFromDigiPar(), CbmTrdHitRateQa::GetModuleInformationFromDigiPar(), GetModuleRow(), GetPosition(), GetSector(), GetSectorRow(), Print(), CbmTrdModuleSimR::ProcessPulseBuffer(), CbmTrdHitRateFastQa::ScanModulePlane(), CbmTrdModuleSim2D::ScanPadPlane(), CbmTrdModuleSimR::ScanPadPlane(), and CbmTrdModuleSimR::SetAsicPar().
|
inline |
Definition at line 43 of file CbmTrdParModDigi.h.
References fNofSectors.
Referenced by CbmTrdHitDensityQa::Finish(), CbmTrdHitRateFastQa::GetModuleInformationFromDigiPar(), CbmTrdHitRateQa::GetModuleInformationFromDigiPar(), GetModuleRow(), CbmTrdQa::GetPadInfos(), GetPosition(), CbmTrdHitRateFastQa::ScanModulePlane(), and CbmTrdModuleSimR::SetAsicPar().
|
inline |
Definition at line 31 of file CbmTrdParModDigi.h.
References fOrientation.
Referenced by CbmMcbm2018UnpackerAlgoTrdR::FillHistograms(), CbmTrdHitDensityQa::Finish(), CbmTrdTrackingInterface::GetHitRanges(), CbmTrdHitRateFastQa::GetModuleInformationFromDigiPar(), CbmTrdHitRateQa::GetModuleInformationFromDigiPar(), CbmTrdTrackingInterface::GetStereoAnglesSensor(), CbmTrdModuleRecR::MakeHit(), CbmTrdParSetDigi::putParams(), and CbmTrdHitRateFastQa::ScanModulePlane().
Int_t CbmTrdParModDigi::GetPadColumn | ( | const Int_t | channelNumber | ) | const |
Definition at line 842 of file CbmTrdParModDigi.cxx.
References GetNofColumns().
Referenced by CbmMcbm2018UnpackerAlgoTrdR::FillHistograms(), GetPadPosition(), CbmTrdModuleRecR::IsClusterComplete(), and CbmTrdUnpackFaspAlgo::pushDigis().
void CbmTrdParModDigi::GetPadInfo | ( | const CbmTrdPoint * | trdPoint, |
Int_t & | sectorId, | ||
Int_t & | columnId, | ||
Int_t & | rowId ) const |
Calculate point in the middle of the detector. This is for safety reasons, because the point at exit is slightly outside of the active volume. If one does not use a point in the detector one will get a wrong volume from the geomanager. Navigate to the correct volume to get all necessary information about this volume
Definition at line 441 of file CbmTrdParModDigi.cxx.
References fOrientation, fSectorBeginX, fSectorBeginY, fSizeX, fSizeY, fSizeZ, fX, fY, fZ, GetModuleInformation(), GetNofColumns(), GetNofRows(), GetPadInfo(), GetSector(), CbmTrdPoint::GetXIn(), CbmTrdPoint::GetXOut(), CbmTrdPoint::GetYIn(), CbmTrdPoint::GetYOut(), CbmTrdPoint::GetZIn(), CbmTrdPoint::GetZOut(), ProjectPositionToNextAnodeWire(), TransformToLocalCorner(), and TransformToLocalSector().
Bool_t CbmTrdParModDigi::GetPadInfo | ( | const Double_t * | local_point, |
Int_t & | sectorId, | ||
Int_t & | columnId, | ||
Int_t & | rowId ) const |
Definition at line 412 of file CbmTrdParModDigi.cxx.
References fPadSizeX, fPadSizeY, fSizeX, fSizeY, GetSector(), and TransformToLocalSector().
Referenced by CbmTrdQa::Exec(), CbmTrdRecoQa::Exec(), GetPadInfo(), CbmTrdModuleSim2D::ScanPadPlane(), and CbmTrdModuleSimR::ScanPadPlane().
int CbmTrdParModDigi::GetPadPlaneType | ( | ) | const |
Access the basic type of pad plane topology. For convenience also specific accessors are added for each specific pad-plane type.
Definition at line 225 of file CbmTrdParModDigi.cxx.
References CbmTrdParMod::fConfig, CbmTrdParMod::fVersion, and cbm::trd::HasPadPlane2D().
Referenced by CbmTrdDigitizer::AddModule(), CbmTrdHitProducer::AddModule(), IsPadPlane1D(), and IsPadPlane2D().
void CbmTrdParModDigi::GetPadPosition | ( | const Int_t | padAddress, |
bool | isCbmTrdDigiAddress, | ||
TVector3 & | padPos, | ||
TVector3 & | padPosErr ) const |
Get address of a pad, based on the channel address stored in the CbmTrdDigi
Definition at line 731 of file CbmTrdParModDigi.cxx.
References GetPadColumn(), GetPadPosition(), GetPadRow(), and GetSectorRow().
void CbmTrdParModDigi::GetPadPosition | ( | const Int_t | padAddress, |
TVector3 & | padPos, | ||
TVector3 & | padPosErr ) const |
Get address of a pad, return position relative to module center
Definition at line 713 of file CbmTrdParModDigi.cxx.
References CbmTrdAddress::GetColumnId(), GetPadPosition(), CbmTrdAddress::GetRowId(), and CbmTrdAddress::GetSectorId().
void CbmTrdParModDigi::GetPadPosition | ( | const Int_t | sector, |
const Int_t | col, | ||
const Int_t | row, | ||
TVector3 & | padPos, | ||
TVector3 & | padPosErr ) const |
Get address of a pad, return position relative to module center
Definition at line 672 of file CbmTrdParModDigi.cxx.
References fPadSizeX, fPadSizeY, fSectorBeginX, fSectorBeginY, fSizeX, and fSizeY.
Referenced by CbmTrdModuleSimR::AddDigi(), CbmTrdModuleSimR::AddDigitoBuffer(), CbmTrdModuleSimR::AddDigitoPulseBuffer(), CbmTrdModuleRec2D::BuildHit(), GetPadPosition(), GetPadPosition(), CbmTaskTrdHitFinderParWrite::Init(), CbmTrdModuleRecR::MakeHit(), and CbmTrdModuleRec2D::MergeHits().
Int_t CbmTrdParModDigi::GetPadRow | ( | const Int_t | channelNumber | ) | const |
Definition at line 855 of file CbmTrdParModDigi.cxx.
References GetNofColumns().
Referenced by CbmMcbm2018UnpackerAlgoTrdR::FillHistograms(), GetPadPosition(), CbmTrdModuleRecR::IsClusterComplete(), and CbmTrdUnpackFaspAlgo::pushDigis().
|
inline |
Definition at line 32 of file CbmTrdParModDigi.h.
References fPadSizeX.
Referenced by CbmTrdModuleRec2D::BuildHit(), CbmTrdQa::Exec(), CbmTrdRecoQa::Exec(), CbmTrdQa::GetPadInfos(), CbmTrdModuleRec2D::MergeHits(), CbmTrdModuleRec2D::PostProcessHits(), CbmTrdParSetDigi::putParams(), CbmTrdModuleSim2D::ScanPadPlane(), CbmTrdModuleSimR::ScanPadPlane(), and CbmTrdModuleSimR::SetAsicPar().
|
inline |
Definition at line 33 of file CbmTrdParModDigi.h.
References fPadSizeY.
Referenced by CbmTrdModuleSimR::AddDigi(), CbmTrdModuleRec2D::BuildHit(), CbmTrdQa::Exec(), CbmTrdRecoQa::Exec(), CbmTrdQa::GetPadInfos(), CbmTrdModuleRecR::MakeHit(), CbmTrdModuleRec2D::MergeHits(), CbmTrdModuleRec2D::PostProcessHits(), CbmTrdModuleSimR::ProcessPulseBuffer(), CbmTrdParSetDigi::putParams(), CbmTrdModuleSim2D::ScanPadPlane(), CbmTrdModuleSimR::ScanPadPlane(), and CbmTrdModuleSimR::SetAsicPar().
void CbmTrdParModDigi::GetPosition | ( | Int_t | sectorId, |
Int_t | columnId, | ||
Int_t | rowId, | ||
TVector3 & | padPos, | ||
TVector3 & | padSize ) const |
Calculate position in global coordinates from digi information (sectorId, columnId, rowId). Returns two TVector3. One with the position and one with the padsize of the fired pad
Definition at line 752 of file CbmTrdParModDigi.cxx.
References fPadSizeX, fPadSizeY, fSectorBeginX, fSectorBeginY, fSizeX, fSizeY, fSizeZ, fX, fY, fZ, GetNofColumnsInSector(), GetNofRowsInSector(), and GetNofSectors().
Referenced by CbmTrdDigiDraw::Exec(), CbmTrdHitDensityQa::Finish(), CbmTrdHitRateFastQa::GetModuleInformationFromDigiPar(), CbmTrdHitRateQa::GetModuleInformationFromDigiPar(), and CbmTrdHitRateFastQa::ScanModulePlane().
|
private |
Calculate the position in the chamber with the origin of the local coordinate system in the lower left corner of the chamber (looking upstream) x goes to the left, looking in beam direction, y goes upward
Definition at line 232 of file CbmTrdParModDigi.cxx.
References fNofSectors, fSectorBeginX, fSectorBeginY, fSectorEndX, fSectorEndY, Print(), and TransformToLocalCorner().
Int_t CbmTrdParModDigi::GetSector | ( | Int_t | npady, |
Int_t & | rowId ) const |
Calculate the pad coordinates in this sector from pad coordinates in the module e.g. in which sector is pad (20/28)
Definition at line 257 of file CbmTrdParModDigi.cxx.
References fNofSectors, fPadSizeY, fSectorSizeY, fSizeY, GetNofRows(), and GetNofRowsInSector().
Referenced by CbmTrdModuleSim2D::FlushBuffer(), GetModuleInformation(), GetPadInfo(), GetPadInfo(), CbmTrdModuleSimR::ScanPadPlane(), CbmTrdModuleSimR::SetAsicPar(), TransformToLocalPad(), and TransformToLocalSector().
|
inline |
Definition at line 34 of file CbmTrdParModDigi.h.
References fSectorBeginX.
Referenced by CbmTrdModuleSimR::SetAsicPar().
|
inline |
Definition at line 35 of file CbmTrdParModDigi.h.
References fSectorBeginY.
Referenced by CbmTrdModuleSimR::SetAsicPar().
Int_t CbmTrdParModDigi::GetSectorRow | ( | Int_t | growId, |
Int_t & | srowId ) const |
Find the sector wise row given the module row. Inverse of GetModuleRow()
[in] | growId | Module wise row id. |
[out] | srowId | On return sector wise row id. |
Definition at line 387 of file CbmTrdParModDigi.cxx.
References GetNofRows(), and GetNofRowsInSector().
Referenced by CbmTrdModuleRec2D::BuildHit(), GetPadPosition(), CbmTaskTrdHitFinderParWrite::Init(), and CbmTrdModuleRec2D::MergeHits().
|
inline |
Definition at line 36 of file CbmTrdParModDigi.h.
References fSectorSizeX.
Referenced by CbmTrdHitRateFastQa::GetModuleInformationFromDigiPar(), CbmTrdHitRateQa::GetModuleInformationFromDigiPar(), CbmTrdQa::GetPadInfos(), and CbmTrdParSetDigi::putParams().
|
inline |
Definition at line 37 of file CbmTrdParModDigi.h.
References fSectorSizeY.
Referenced by CbmTrdHitRateFastQa::GetModuleInformationFromDigiPar(), CbmTrdHitRateQa::GetModuleInformationFromDigiPar(), CbmTrdQa::GetPadInfos(), and CbmTrdParSetDigi::putParams().
|
inline |
Definition at line 83 of file CbmTrdParModDigi.h.
References fSizeX.
Referenced by CbmTrdQa::CreateLayerView(), CbmTrdQa::CreateLayerView(), CbmTrdUtils::CreateLayerView(), CbmTrdModuleSimR::DistributeCharge(), CbmTrdOccupancyQa::Exec(), CbmTrdHitDensityQa::Finish(), CbmTrdHitRateFastQa::GetModuleInformationFromDigiPar(), CbmTrdHitRateQa::GetModuleInformationFromDigiPar(), CbmTrdQa::GetPadInfos(), CbmTrdModuleSimR::GetTotalSteps(), CbmTrdModuleSimR::MakeDigi(), CbmTrdParSetDigi::putParams(), and CbmTrdHitRateFastQa::ScanModulePlane().
|
inline |
Definition at line 84 of file CbmTrdParModDigi.h.
References fSizeY.
Referenced by CbmTrdQa::CreateLayerView(), CbmTrdQa::CreateLayerView(), CbmTrdUtils::CreateLayerView(), CbmTrdModuleSimR::DistributeCharge(), CbmTrdOccupancyQa::Exec(), CbmTrdHitDensityQa::Finish(), CbmTrdHitRateFastQa::GetModuleInformationFromDigiPar(), CbmTrdHitRateQa::GetModuleInformationFromDigiPar(), CbmTrdQa::GetPadInfos(), CbmTrdModuleSimR::GetTotalSteps(), CbmTrdModuleSimR::MakeDigi(), CbmTrdParSetDigi::putParams(), and CbmTrdHitRateFastQa::ScanModulePlane().
|
inline |
Definition at line 85 of file CbmTrdParModDigi.h.
References fSizeZ.
Referenced by CbmTrdParSetDigi::putParams().
|
inlinevirtualinherited |
Definition at line 19 of file CbmTrdParMod.h.
References CbmTrdParMod::fVersion.
|
inline |
Definition at line 86 of file CbmTrdParModDigi.h.
References fX.
Referenced by CbmTrdParSetDigi::putParams().
|
inline |
Definition at line 87 of file CbmTrdParModDigi.h.
References fY.
Referenced by CbmTrdParSetDigi::putParams().
|
inline |
Definition at line 88 of file CbmTrdParModDigi.h.
References fZ.
Referenced by CbmTrdParSetDigi::putParams().
|
inline |
Definition at line 96 of file CbmTrdParModDigi.h.
References GetPadPlaneType().
|
inline |
Definition at line 97 of file CbmTrdParModDigi.h.
References GetPadPlaneType().
Referenced by CbmTrdDigitizer::AddModule(), and CbmTrdHitProducer::AddModule().
|
private |
void CbmTrdParModDigi::Print | ( | Option_t * | opt = "" | ) | const |
Dump formated parameters for this module
Definition at line 151 of file CbmTrdParModDigi.cxx.
References fAnodeWireOffset, fAnodeWireSpacing, fAnodeWireToPadPlaneDistance, CbmTrdParMod::fModuleId, fNofSectors, fOrientation, fPadSizeX, fPadSizeY, fSectorBeginX, fSectorBeginY, fSectorEndX, fSectorEndY, fSectorSizeX, fSectorSizeY, fSizeX, fSizeY, fSizeZ, fX, fY, fZ, CbmTrdAddress::GetLayerId(), CbmTrdAddress::GetModuleId(), GetNofColumns(), GetNofColumnsInSector(), GetNofRows(), and GetNofRowsInSector().
Referenced by CbmTrdParManager::CreateModuleParameters(), GetSector(), and CbmTrdModuleSimR::SetAsicPar().
void CbmTrdParModDigi::ProjectPositionToNextAnodeWire | ( | Double_t * | local_point | ) | const |
Move the local point along y to the next anode wire position.
20131009 - DE - checked OK
Definition at line 176 of file CbmTrdParModDigi.cxx.
References fAnodeWireOffset, fAnodeWireSpacing, and fSizeY.
Referenced by GetPadInfo(), CbmTrdModuleSim2D::MakeDigi(), and CbmTrdModuleSimR::MakeDigi().
|
inline |
Definition at line 103 of file CbmTrdParModDigi.h.
References fAnodeWireOffset.
Referenced by CbmTrdParManager::CreateModuleParameters().
|
inline |
Definition at line 104 of file CbmTrdParModDigi.h.
References fAnodeWireSpacing.
Referenced by CbmTrdParManager::CreateModuleParameters().
|
inline |
Definition at line 102 of file CbmTrdParModDigi.h.
References fAnodeWireToPadPlaneDistance.
Referenced by CbmTrdParManager::CreateModuleParameters().
|
inlinevirtualinherited |
Definition at line 21 of file CbmTrdParMod.h.
References CbmTrdParMod::fConfig.
|
inlinevirtualinherited |
Definition at line 22 of file CbmTrdParMod.h.
References CbmTrdParMod::fModuleId.
Referenced by CbmTrdParManager::CreateModuleParameters(), CbmTrdParSetAsic::getParams(), and CbmTrdParSetGeo::Init().
|
inlinevirtualinherited |
Definition at line 23 of file CbmTrdParMod.h.
References CbmTrdParMod::fVersion, and v.
void CbmTrdParModDigi::TransformHitError | ( | TVector3 & | hitErr | ) | const |
Definition at line 631 of file CbmTrdParModDigi.cxx.
References fOrientation, x, and y.
Referenced by CbmTrdModuleRecR::MakeHit().
|
private |
Transformation from local coordinate system with origin in the middle of the module into a system with the origin in the lower left corner (looking upstream). Since for both coordinate systems the orientation is the same this is only a shift by the half size of the module in x- and y-direction
20131009 - DE - checked OK for module orientations 0,1,2,3
Definition at line 554 of file CbmTrdParModDigi.cxx.
References fSizeX, and fSizeY.
Referenced by GetPadInfo(), GetSector(), and TransformToLocalSector().
void CbmTrdParModDigi::TransformToLocalPad | ( | const Double_t * | local_point, |
Double_t & | posX, | ||
Double_t & | posY ) const |
Transformation of the local module coordinate system with origin in the middle of the module
into a system with the origin in the local pad center of the pad below the point. First, transform in a system with origin in the lower left sector.
Definition at line 590 of file CbmTrdParModDigi.cxx.
References fPadSizeX, fPadSizeY, GetSector(), and TransformToLocalSector().
Referenced by CbmTrdRecoQa::Exec(), CbmTrdModuleSim2D::ScanPadPlane(), and CbmTrdModuleSimR::ScanPadPlane().
|
private |
Transformation of the module coordinate system with origin in the middle of the module into a system with the origin in the lower left corner (looking upstream) of the sector the point is in. First, transform in a system with origin in the lower left corner.
20131009 - DE - checked OK for module orientations 0,1,2,3
Definition at line 571 of file CbmTrdParModDigi.cxx.
References fSectorBeginX, fSectorBeginY, GetSector(), and TransformToLocalCorner().
Referenced by GetModuleInformation(), GetPadInfo(), GetPadInfo(), and TransformToLocalPad().
|
private |
Anode Wire Offset [cm].
Definition at line 125 of file CbmTrdParModDigi.h.
Referenced by GetAnodeWireOffset(), Print(), ProjectPositionToNextAnodeWire(), and SetAnodeWireOffset().
|
private |
anode wire pitch [cm]
Definition at line 126 of file CbmTrdParModDigi.h.
Referenced by GetAnodeWireSpacing(), Print(), ProjectPositionToNextAnodeWire(), and SetAnodeWireSpacing().
|
private |
Anode Wire to PadPlane Distance [cm].
Definition at line 127 of file CbmTrdParModDigi.h.
Referenced by GetAnodeWireToPadPlaneDistance(), Print(), and SetAnodeWireToPadPlaneDistance().
|
protectedinherited |
configuration setup of the module
Definition at line 27 of file CbmTrdParMod.h.
Referenced by CbmTrdParMod::GetConfig(), GetPadPlaneType(), and CbmTrdParMod::SetConfigId().
|
protectedinherited |
module id
Definition at line 28 of file CbmTrdParMod.h.
Referenced by CbmTrdParModGas::CbmTrdParModGas(), CbmTrdParMod::GetModuleId(), Print(), CbmTrdParModGas::Print(), CbmTrdParModGas::SetDriftMap(), and CbmTrdParMod::SetModuleId().
|
private |
number sectors for this module
Definition at line 122 of file CbmTrdParModDigi.h.
Referenced by CbmTrdParModDigi(), GetNofColumns(), GetNofRows(), GetNofSectors(), GetSector(), GetSector(), and Print().
|
private |
angle between long pad axis and y-axis in steps of 90 deg [0..3]
Definition at line 123 of file CbmTrdParModDigi.h.
Referenced by GetOrientation(), GetPadInfo(), Print(), and TransformHitError().
|
private |
size of the readout pad in x [cm]
Definition at line 145 of file CbmTrdParModDigi.h.
Referenced by GetModuleInformation(), GetNofColumns(), GetNofColumnsInSector(), GetPadInfo(), GetPadPosition(), GetPadSizeX(), GetPosition(), Print(), and TransformToLocalPad().
|
private |
size of the readout pad in y [cm]
Definition at line 146 of file CbmTrdParModDigi.h.
Referenced by GetModuleInformation(), GetModuleRow(), GetNofRows(), GetNofRowsInSector(), GetPadInfo(), GetPadPosition(), GetPadSizeY(), GetPosition(), GetSector(), Print(), and TransformToLocalPad().
|
private |
begin of sector [cm]
Definition at line 138 of file CbmTrdParModDigi.h.
Referenced by CbmTrdParModDigi(), GetPadInfo(), GetPadPosition(), GetPosition(), GetSector(), GetSectorBeginX(), Print(), and TransformToLocalSector().
|
private |
begin of sector [cm]
Definition at line 139 of file CbmTrdParModDigi.h.
Referenced by CbmTrdParModDigi(), GetPadInfo(), GetPadPosition(), GetPosition(), GetSector(), GetSectorBeginY(), Print(), and TransformToLocalSector().
|
private |
end of sector [cm]
Definition at line 140 of file CbmTrdParModDigi.h.
Referenced by CbmTrdParModDigi(), GetSector(), and Print().
|
private |
end of sector [cm]
Definition at line 141 of file CbmTrdParModDigi.h.
Referenced by CbmTrdParModDigi(), GetSector(), and Print().
|
private |
sector size in x [cm]
Definition at line 142 of file CbmTrdParModDigi.h.
Referenced by GetNofColumns(), GetNofColumnsInSector(), GetSectorSizeX(), and Print().
|
private |
sector size in y [cm]
Definition at line 143 of file CbmTrdParModDigi.h.
Referenced by GetModuleRow(), GetNofRows(), GetNofRowsInSector(), GetSector(), GetSectorSizeY(), and Print().
|
private |
center of sectors local c.s. [cm]
Definition at line 135 of file CbmTrdParModDigi.h.
Referenced by CbmTrdParModDigi().
|
private |
center of sectors local c.s. [cm]
Definition at line 136 of file CbmTrdParModDigi.h.
Referenced by CbmTrdParModDigi().
|
private |
center of sectors local c.s. [cm]
Definition at line 137 of file CbmTrdParModDigi.h.
Referenced by CbmTrdParModDigi().
|
private |
module half size in x [cm]
Definition at line 132 of file CbmTrdParModDigi.h.
Referenced by GetNofColumns(), GetPadInfo(), GetPadInfo(), GetPadPosition(), GetPosition(), GetSizeX(), Print(), and TransformToLocalCorner().
|
private |
module half size in y [cm]
Definition at line 133 of file CbmTrdParModDigi.h.
Referenced by GetNofRows(), GetPadInfo(), GetPadInfo(), GetPadPosition(), GetPosition(), GetSector(), GetSizeY(), Print(), ProjectPositionToNextAnodeWire(), and TransformToLocalCorner().
|
private |
module half size in z [cm]
Definition at line 134 of file CbmTrdParModDigi.h.
Referenced by GetPadInfo(), GetPosition(), GetSizeZ(), and Print().
|
protectedinherited |
version of the parameter
Definition at line 26 of file CbmTrdParMod.h.
Referenced by GetPadPlaneType(), CbmTrdParMod::GetVersion(), and CbmTrdParMod::SetVersion().
|
private |
center of module in global c.s. [cm]
Definition at line 129 of file CbmTrdParModDigi.h.
Referenced by GetPadInfo(), GetPosition(), GetX(), and Print().
|
private |
center of module in global c.s. [cm]
Definition at line 130 of file CbmTrdParModDigi.h.
Referenced by GetPadInfo(), GetPosition(), GetY(), and Print().
|
private |
center of module in global c.s. [cm]
Definition at line 131 of file CbmTrdParModDigi.h.
Referenced by CbmTrdParModDigi(), GetPadInfo(), GetPosition(), GetZ(), and Print().