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() More... | |
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 |
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 Int_t | GetModuleId () const |
virtual void | SetModuleId (Int_t m) |
Protected Attributes | |
Int_t | fModuleId |
module id More... | |
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 More... | |
Int_t | fOrientation |
Double_t | fAnodeWireOffset |
Anode Wire Offset [cm]. More... | |
Double_t | fAnodeWireSpacing |
anode wire pitch [cm] More... | |
Double_t | fAnodeWireToPadPlaneDistance |
Anode Wire to PadPlane Distance [cm]. More... | |
Double_t | fX |
center of module in global c.s. [cm] More... | |
Double_t | fY |
center of module in global c.s. [cm] More... | |
Double_t | fZ |
center of module in global c.s. [cm] More... | |
Double_t | fSizeX |
module half size in x [cm] More... | |
Double_t | fSizeY |
module half size in y [cm] More... | |
Double_t | fSizeZ |
module half size in z [cm] More... | |
TArrayD | fSectorX |
center of sectors local c.s. [cm] More... | |
TArrayD | fSectorY |
center of sectors local c.s. [cm] More... | |
TArrayD | fSectorZ |
center of sectors local c.s. [cm] More... | |
TArrayD | fSectorBeginX |
begin of sector [cm] More... | |
TArrayD | fSectorBeginY |
begin of sector [cm] More... | |
TArrayD | fSectorEndX |
end of sector [cm] More... | |
TArrayD | fSectorEndY |
end of sector [cm] More... | |
TArrayD | fSectorSizeX |
sector size in x [cm] More... | |
TArrayD | fSectorSizeY |
sector size in y [cm] More... | |
TArrayD | fPadSizeX |
size of the readout pad in x [cm] More... | |
TArrayD | fPadSizeY |
size of the readout pad in y [cm] More... | |
Definition of chamber gain conversion for one TRD module.
Definition at line 14 of file CbmTrdParModDigi.h.
CbmTrdParModDigi::CbmTrdParModDigi | ( | ) |
Definition at line 18 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 43 of file CbmTrdParModDigi.cxx.
References fNofSectors, fSectorBeginX, fSectorBeginY, fSectorEndX, fSectorEndY, fSectorX, fSectorY, fSectorZ, fZ, i, x, and y.
|
inlinevirtual |
Definition at line 29 of file CbmTrdParModDigi.h.
|
private |
|
inline |
Definition at line 46 of file CbmTrdParModDigi.h.
References fAnodeWireOffset.
Referenced by CbmTrdParSetDigi::putParams().
|
inline |
Definition at line 47 of file CbmTrdParModDigi.h.
References fAnodeWireSpacing.
Referenced by CbmTrdModuleSimR::MakeDigi(), CbmTrdModuleSimT::MakeDigi(), and CbmTrdParSetDigi::putParams().
|
inline |
Definition at line 43 of file CbmTrdParModDigi.h.
References fAnodeWireToPadPlaneDistance.
Referenced by CbmTrdParSetDigi::putParams(), and CbmTrdModuleSimR::ScanPadPlane().
|
inlinevirtualinherited |
Definition at line 15 of file CbmTrdParMod.h.
References CbmTrdParMod::fModuleId.
Referenced by CbmTrdParSet::addParam(), and CbmMcbm2018UnpackerAlgoTrdR::CreateHistogram().
|
private |
Definition at line 695 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 373 of file CbmTrdParModDigi.cxx.
References fPadSizeY, fSectorSizeY, GetNofRowsInSector(), and GetNofSectors().
Referenced by CbmTrdQa::Exec(), CbmTrdHitDensityQa::Exec(), CbmTrdSPADIC::Exec(), CbmTrdRecoQa::Exec(), and CbmTrdOccupancyQa::Exec().
Int_t CbmTrdParModDigi::GetNofColumns | ( | ) | const |
Get total number of pad columns in module
Definition at line 321 of file CbmTrdParModDigi.cxx.
References fNofSectors, fPadSizeX, fSectorSizeX, fSizeX, and i.
Referenced by CbmTrdClusterFinder::AddClusters(), CbmTrdModuleSimR::AddDigi(), CbmTrdModuleSimR::AddDigitoBuffer(), CbmTrdModuleSimR::CheckMulti(), CbmMcbm2018UnpackerAlgoTrdR::CreateHistogram(), CbmTrdParManager::CreateModuleParameters(), CbmTrdHitDensityQa::Exec(), CbmTrdSPADIC::Exec(), CbmTrdRecoQa::Exec(), CbmTrdOccupancyQa::Exec(), CbmMcbm2018UnpackerAlgoTrdR::FillHistograms(), CbmTrdModuleRecR::FindClusters(), CbmTrdHitDensityQa::Finish(), CbmTrdHitRateQa::GetModuleInformationFromDigiPar(), CbmTrdHitRateFastQa::GetModuleInformationFromDigiPar(), CbmTrdUtils::GetModuleType(), CbmTrdModuleAbstract::GetNcols(), GetPadColumn(), GetPadInfo(), GetPadRow(), Print(), CbmTrdModuleSimR::ProcessPulseBuffer(), CbmTrdModuleSimT::ScanPadPlane(), CbmTrdModuleSimR::ScanPadPlane(), and CbmTrdModuleSimR::SetAsicPar().
Int_t CbmTrdParModDigi::GetNofColumnsInSector | ( | Int_t | i | ) | const |
Definition at line 359 of file CbmTrdParModDigi.cxx.
References fPadSizeX, fSectorSizeX, and i.
Referenced by CbmTrdQa::Exec(), CbmTrdHitDensityQa::Finish(), CbmTrdHitRateQa::GetModuleInformationFromDigiPar(), CbmTrdHitRateFastQa::GetModuleInformationFromDigiPar(), GetPosition(), Print(), CbmTrdHitRateFastQa::ScanModulePlane(), and CbmTrdModuleSimR::SetAsicPar().
Int_t CbmTrdParModDigi::GetNofRows | ( | ) | const |
Get total number of pad rows in module
Definition at line 340 of file CbmTrdParModDigi.cxx.
References fNofSectors, fPadSizeY, fSectorSizeY, fSizeY, and i.
Referenced by CbmMcbm2018UnpackerAlgoTrdR::CreateHistogram(), CbmTrdParManager::CreateModuleParameters(), CbmTrdHitDensityQa::Exec(), CbmTrdRecoQa::Exec(), CbmTrdOccupancyQa::Exec(), CbmMcbm2018UnpackerAlgoTrdR::FillHistograms(), CbmTrdHitDensityQa::Finish(), CbmTrdHitRateQa::GetModuleInformationFromDigiPar(), CbmTrdHitRateFastQa::GetModuleInformationFromDigiPar(), CbmTrdUtils::GetModuleType(), CbmTrdModuleAbstract::GetNrows(), GetPadInfo(), GetSector(), GetSectorRow(), Print(), CbmTrdModuleSimT::ScanPadPlane(), CbmTrdModuleSimR::ScanPadPlane(), and CbmTrdModuleSimR::SetAsicPar().
Int_t CbmTrdParModDigi::GetNofRowsInSector | ( | Int_t | i | ) | const |
Definition at line 366 of file CbmTrdParModDigi.cxx.
References fPadSizeY, fSectorSizeY, and i.
Referenced by CbmTrdModuleSimR::AddDigi(), CbmTrdModuleSimR::AddDigitoBuffer(), CbmTrdQa::Exec(), CbmTrdHitDensityQa::Finish(), CbmTrdHitRateQa::GetModuleInformationFromDigiPar(), CbmTrdHitRateFastQa::GetModuleInformationFromDigiPar(), GetModuleRow(), GetPosition(), GetSector(), GetSectorRow(), Print(), CbmTrdModuleSimR::ProcessPulseBuffer(), CbmTrdHitRateFastQa::ScanModulePlane(), CbmTrdModuleSimT::ScanPadPlane(), CbmTrdModuleSimR::ScanPadPlane(), and CbmTrdModuleSimR::SetAsicPar().
|
inline |
Definition at line 49 of file CbmTrdParModDigi.h.
References fNofSectors.
Referenced by CbmTrdHitDensityQa::Finish(), CbmTrdHitRateQa::GetModuleInformationFromDigiPar(), CbmTrdHitRateFastQa::GetModuleInformationFromDigiPar(), GetModuleRow(), CbmTrdQa::GetPadInfos(), GetPosition(), CbmTrdHitRateFastQa::ScanModulePlane(), and CbmTrdModuleSimR::SetAsicPar().
|
inline |
Definition at line 35 of file CbmTrdParModDigi.h.
References fOrientation.
Referenced by CbmMcbm2018UnpackerAlgoTrdR::FillHistograms(), CbmTrdHitDensityQa::Finish(), CbmTrdHitRateQa::GetModuleInformationFromDigiPar(), CbmTrdHitRateFastQa::GetModuleInformationFromDigiPar(), CbmTrdModuleRecR::MakeHit(), CbmTrdParSetDigi::putParams(), and CbmTrdHitRateFastQa::ScanModulePlane().
Int_t CbmTrdParModDigi::GetPadColumn | ( | const Int_t | channelNumber | ) | const |
Definition at line 902 of file CbmTrdParModDigi.cxx.
References GetNofColumns().
Referenced by CbmMcbm2018UnpackerAlgoTrdR::FillHistograms(), and GetPadPosition().
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 469 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 436 of file CbmTrdParModDigi.cxx.
References fabs(), fPadSizeX, fPadSizeY, fSizeX, fSizeY, GetSector(), and TransformToLocalSector().
Referenced by CbmTrdQa::Exec(), CbmTrdRecoQa::Exec(), GetPadInfo(), CbmTrdModuleSimT::ScanPadPlane(), and CbmTrdModuleSimR::ScanPadPlane().
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 784 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 765 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 718 of file CbmTrdParModDigi.cxx.
References fabs(), fPadSizeX, fPadSizeY, fSectorBeginX, fSectorBeginY, fSizeX, and fSizeY.
Referenced by CbmTrdModuleSimR::AddDigi(), CbmTrdModuleSimR::AddDigitoBuffer(), CbmTrdModuleSimR::AddDigitoPulseBuffer(), GetPadPosition(), CbmTrdModuleRecT::MakeHit(), and CbmTrdModuleRecR::MakeHit().
Int_t CbmTrdParModDigi::GetPadRow | ( | const Int_t | channelNumber | ) | const |
Definition at line 914 of file CbmTrdParModDigi.cxx.
References GetNofColumns().
Referenced by CbmMcbm2018UnpackerAlgoTrdR::FillHistograms(), and GetPadPosition().
|
inline |
Definition at line 36 of file CbmTrdParModDigi.h.
Referenced by CbmTrdQa::Exec(), CbmTrdRecoQa::Exec(), CbmTrdQa::GetPadInfos(), CbmTrdModuleRecT::MakeHit(), CbmTrdParSetDigi::putParams(), CbmTrdModuleSimT::ScanPadPlane(), CbmTrdModuleSimR::ScanPadPlane(), and CbmTrdModuleSimR::SetAsicPar().
|
inline |
Definition at line 37 of file CbmTrdParModDigi.h.
Referenced by CbmTrdModuleSimR::AddDigi(), CbmTrdQa::Exec(), CbmTrdRecoQa::Exec(), CbmTrdQa::GetPadInfos(), CbmTrdModuleRecT::MakeHit(), CbmTrdModuleRecR::MakeHit(), CbmTrdModuleSimR::ProcessPulseBuffer(), CbmTrdParSetDigi::putParams(), CbmTrdModuleSimT::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 806 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(), CbmTrdHitRateQa::GetModuleInformationFromDigiPar(), CbmTrdHitRateFastQa::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 248 of file CbmTrdParModDigi.cxx.
References fNofSectors, fSectorBeginX, fSectorBeginY, fSectorEndX, fSectorEndY, i, 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 274 of file CbmTrdParModDigi.cxx.
References fNofSectors, fPadSizeY, fSectorSizeY, fSizeY, GetNofRows(), and GetNofRowsInSector().
Referenced by CbmTrdModuleSimT::FlushBuffer(), GetModuleInformation(), GetPadInfo(), CbmTrdModuleSimR::ScanPadPlane(), CbmTrdModuleSimR::SetAsicPar(), TransformToLocalPad(), and TransformToLocalSector().
|
inline |
Definition at line 38 of file CbmTrdParModDigi.h.
References fSectorBeginX, and i.
Referenced by CbmTrdModuleSimR::SetAsicPar().
|
inline |
Definition at line 39 of file CbmTrdParModDigi.h.
References fSectorBeginY, and i.
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 411 of file CbmTrdParModDigi.cxx.
References GetNofRows(), and GetNofRowsInSector().
Referenced by GetPadPosition(), and CbmTrdModuleRecT::MakeHit().
|
inline |
Definition at line 40 of file CbmTrdParModDigi.h.
References fSectorSizeX, and i.
Referenced by CbmTrdHitRateQa::GetModuleInformationFromDigiPar(), CbmTrdHitRateFastQa::GetModuleInformationFromDigiPar(), CbmTrdQa::GetPadInfos(), and CbmTrdParSetDigi::putParams().
|
inline |
Definition at line 41 of file CbmTrdParModDigi.h.
References fSectorSizeY, and i.
Referenced by CbmTrdHitRateQa::GetModuleInformationFromDigiPar(), CbmTrdHitRateFastQa::GetModuleInformationFromDigiPar(), CbmTrdQa::GetPadInfos(), and CbmTrdParSetDigi::putParams().
|
inline |
Definition at line 109 of file CbmTrdParModDigi.h.
References fSizeX.
Referenced by CbmTrdQa::CreateLayerView(), CbmTrdUtils::CreateLayerView(), CbmTrdModuleSimR::DistributeCharge(), CbmTrdOccupancyQa::Exec(), CbmTrdHitDensityQa::Finish(), CbmTrdHitRateQa::GetModuleInformationFromDigiPar(), CbmTrdHitRateFastQa::GetModuleInformationFromDigiPar(), CbmTrdQa::GetPadInfos(), CbmTrdModuleSimR::GetTotalSteps(), CbmL1::Init(), CbmTrdModuleSimR::MakeDigi(), CbmTrdParSetDigi::putParams(), and CbmTrdHitRateFastQa::ScanModulePlane().
|
inline |
Definition at line 110 of file CbmTrdParModDigi.h.
References fSizeY.
Referenced by CbmTrdQa::CreateLayerView(), CbmTrdUtils::CreateLayerView(), CbmTrdModuleSimR::DistributeCharge(), CbmTrdOccupancyQa::Exec(), CbmTrdHitDensityQa::Finish(), CbmTrdHitRateQa::GetModuleInformationFromDigiPar(), CbmTrdHitRateFastQa::GetModuleInformationFromDigiPar(), CbmTrdQa::GetPadInfos(), CbmTrdModuleSimR::GetTotalSteps(), CbmTrdModuleSimR::MakeDigi(), CbmTrdParSetDigi::putParams(), and CbmTrdHitRateFastQa::ScanModulePlane().
|
inline |
Definition at line 111 of file CbmTrdParModDigi.h.
References fSizeZ.
Referenced by CbmL1::Init(), and CbmTrdParSetDigi::putParams().
|
inline |
Definition at line 112 of file CbmTrdParModDigi.h.
References fX.
Referenced by CbmTrdParSetDigi::putParams().
|
inline |
Definition at line 113 of file CbmTrdParModDigi.h.
References fY.
Referenced by CbmTrdParSetDigi::putParams().
|
inline |
Definition at line 114 of file CbmTrdParModDigi.h.
References fZ.
Referenced by CbmL1::Init(), and CbmTrdParSetDigi::putParams().
|
private |
void CbmTrdParModDigi::Print | ( | Option_t * | opt = "" | ) | const |
Dump formated parameters for this module
Definition at line 147 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 190 of file CbmTrdParModDigi.cxx.
References fabs(), fAnodeWireOffset, fAnodeWireSpacing, and fSizeY.
Referenced by GetPadInfo(), CbmTrdModuleSimR::MakeDigi(), and CbmTrdModuleSimT::MakeDigi().
|
inline |
Definition at line 121 of file CbmTrdParModDigi.h.
References fAnodeWireOffset.
Referenced by CbmTrdParManager::CreateModuleParameters().
|
inline |
Definition at line 122 of file CbmTrdParModDigi.h.
References fAnodeWireSpacing.
Referenced by CbmTrdParManager::CreateModuleParameters().
|
inline |
Definition at line 118 of file CbmTrdParModDigi.h.
References d, and fAnodeWireToPadPlaneDistance.
Referenced by CbmTrdParManager::CreateModuleParameters().
|
inlinevirtualinherited |
Definition at line 17 of file CbmTrdParMod.h.
References CbmTrdParMod::fModuleId, and m.
Referenced by CbmTrdParManager::CreateModuleParameters().
void CbmTrdParModDigi::TransformHitError | ( | TVector3 & | hitErr | ) | const |
Definition at line 676 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 596 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 634 of file CbmTrdParModDigi.cxx.
References fPadSizeX, fPadSizeY, GetSector(), and TransformToLocalSector().
Referenced by CbmTrdRecoQa::Exec(), CbmTrdModuleSimT::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 614 of file CbmTrdParModDigi.cxx.
References fSectorBeginX, fSectorBeginY, GetSector(), and TransformToLocalCorner().
Referenced by GetModuleInformation(), GetPadInfo(), and TransformToLocalPad().
|
private |
Anode Wire Offset [cm].
Definition at line 153 of file CbmTrdParModDigi.h.
Referenced by GetAnodeWireOffset(), Print(), ProjectPositionToNextAnodeWire(), and SetAnodeWireOffset().
|
private |
anode wire pitch [cm]
Definition at line 154 of file CbmTrdParModDigi.h.
Referenced by GetAnodeWireSpacing(), Print(), ProjectPositionToNextAnodeWire(), and SetAnodeWireSpacing().
|
private |
Anode Wire to PadPlane Distance [cm].
Definition at line 156 of file CbmTrdParModDigi.h.
Referenced by GetAnodeWireToPadPlaneDistance(), Print(), and SetAnodeWireToPadPlaneDistance().
|
protectedinherited |
module id
Definition at line 20 of file CbmTrdParMod.h.
Referenced by CbmTrdParModGas::CbmTrdParModGas(), CbmTrdParMod::GetModuleId(), CbmTrdParModGas::Print(), Print(), CbmTrdParModGas::SetDriftMap(), and CbmTrdParMod::SetModuleId().
|
private |
number sectors for this module
Definition at line 149 of file CbmTrdParModDigi.h.
Referenced by CbmTrdParModDigi(), GetNofColumns(), GetNofRows(), GetNofSectors(), GetSector(), and Print().
|
private |
angle between long pad axis and y-axis in steps of 90 deg [0..3]
Definition at line 151 of file CbmTrdParModDigi.h.
Referenced by GetOrientation(), GetPadInfo(), Print(), and TransformHitError().
|
private |
size of the readout pad in x [cm]
Definition at line 174 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 175 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 167 of file CbmTrdParModDigi.h.
Referenced by CbmTrdParModDigi(), GetPadInfo(), GetPadPosition(), GetPosition(), GetSector(), GetSectorBeginX(), Print(), and TransformToLocalSector().
|
private |
begin of sector [cm]
Definition at line 168 of file CbmTrdParModDigi.h.
Referenced by CbmTrdParModDigi(), GetPadInfo(), GetPadPosition(), GetPosition(), GetSector(), GetSectorBeginY(), Print(), and TransformToLocalSector().
|
private |
end of sector [cm]
Definition at line 169 of file CbmTrdParModDigi.h.
Referenced by CbmTrdParModDigi(), GetSector(), and Print().
|
private |
end of sector [cm]
Definition at line 170 of file CbmTrdParModDigi.h.
Referenced by CbmTrdParModDigi(), GetSector(), and Print().
|
private |
sector size in x [cm]
Definition at line 171 of file CbmTrdParModDigi.h.
Referenced by GetNofColumns(), GetNofColumnsInSector(), GetSectorSizeX(), and Print().
|
private |
sector size in y [cm]
Definition at line 172 of file CbmTrdParModDigi.h.
Referenced by GetModuleRow(), GetNofRows(), GetNofRowsInSector(), GetSector(), GetSectorSizeY(), and Print().
|
private |
center of sectors local c.s. [cm]
Definition at line 164 of file CbmTrdParModDigi.h.
Referenced by CbmTrdParModDigi().
|
private |
center of sectors local c.s. [cm]
Definition at line 165 of file CbmTrdParModDigi.h.
Referenced by CbmTrdParModDigi().
|
private |
center of sectors local c.s. [cm]
Definition at line 166 of file CbmTrdParModDigi.h.
Referenced by CbmTrdParModDigi().
|
private |
module half size in x [cm]
Definition at line 161 of file CbmTrdParModDigi.h.
Referenced by GetNofColumns(), GetPadInfo(), GetPadPosition(), GetPosition(), GetSizeX(), Print(), and TransformToLocalCorner().
|
private |
module half size in y [cm]
Definition at line 162 of file CbmTrdParModDigi.h.
Referenced by GetNofRows(), GetPadInfo(), GetPadPosition(), GetPosition(), GetSector(), GetSizeY(), Print(), ProjectPositionToNextAnodeWire(), and TransformToLocalCorner().
|
private |
module half size in z [cm]
Definition at line 163 of file CbmTrdParModDigi.h.
Referenced by GetPadInfo(), GetPosition(), GetSizeZ(), and Print().
|
private |
center of module in global c.s. [cm]
Definition at line 158 of file CbmTrdParModDigi.h.
Referenced by GetPadInfo(), GetPosition(), GetX(), and Print().
|
private |
center of module in global c.s. [cm]
Definition at line 159 of file CbmTrdParModDigi.h.
Referenced by GetPadInfo(), GetPosition(), GetY(), and Print().
|
private |
center of module in global c.s. [cm]
Definition at line 160 of file CbmTrdParModDigi.h.
Referenced by CbmTrdParModDigi(), GetPadInfo(), GetPosition(), GetZ(), and Print().