Go to the documentation of this file. 1 #ifndef CBMTRDPARMODDIGI_H
2 #define CBMTRDPARMODDIGI_H
5 #include <RtypesCore.h>
25 const TArrayD& sectorSizeX,
26 const TArrayD& sectorSizeY,
27 const TArrayD& padSizeX,
28 const TArrayD& padSizeY);
77 TVector3& padPosErr)
const;
82 bool isCbmTrdDigiAddress,
84 TVector3& padPosErr)
const;
89 TVector3& padPosErr)
const;
97 TVector3& padSize)
const;
100 const Int_t channelNumber)
const;
104 GetPadRow(
const Int_t channelNumber)
const;
108 Int_t
GetSector(Int_t npady, Int_t& rowId)
const;
115 void Print(Option_t* opt =
"")
const;
127 Double_t& posY)
const;
134 const Double_t* local_point,
141 Double_t& posY)
const;
145 Double_t& posY)
const;
147 Int_t
GetSector(
const Double_t* local_point)
const;
Double_t GetSectorSizeY(Int_t i) const
Double_t GetPadSizeY(Int_t i) const
void ProjectPositionToNextAnodeWire(Double_t *local_point) const
TArrayD fSectorSizeY
sector size in y [cm]
void SetAnodeWireSpacing(Double_t dw)
Int_t GetNofRowsInSector(Int_t i) const
void TransformHitError(TVector3 &hitErr) const
virtual ~CbmTrdParModDigi()
Int_t GetNofColumnsInSector(Int_t i) const
Double_t fSizeZ
module half size in z [cm]
Double_t GetSectorBeginX(Int_t i) const
void GetModuleInformation(const Double_t *local_point, Int_t §orId, Int_t &columnId, Int_t &rowId) const
Double_t fAnodeWireToPadPlaneDistance
Anode Wire to PadPlane Distance [cm].
Double_t GetSizeX() const
Double_t fY
center of module in global c.s. [cm]
Double_t fSizeY
module half size in y [cm]
Double_t GetSectorBeginY(Int_t i) const
Bool_t GetPadInfo(const Double_t *local_point, Int_t §orId, Int_t &columnId, Int_t &rowId) const
Double_t GetPadSizeX(Int_t i) const
TArrayD fPadSizeY
size of the readout pad in y [cm]
Int_t GetPadRow(const Int_t channelNumber) const
TArrayD fSectorEndX
end of sector [cm]
TArrayD fSectorSizeX
sector size in x [cm]
Double_t GetSectorSizeX(Int_t i) const
Double_t fSizeX
module half size in x [cm]
Int_t GetSector(Int_t npady, Int_t &rowId) const
Double_t GetAnodeWireSpacing() const
Int_t GetNofSectors() const
CbmTrdParModDigi(const CbmTrdParModDigi &ref)
Int_t GetOrientation() const
Definition of chamber gain conversion for one TRD module.
Definition of generic parameters for one TRD module.
void GetPadPosition(const Int_t sector, const Int_t col, const Int_t row, TVector3 &padPos, TVector3 &padPosErr) const
TArrayD fSectorBeginX
begin of sector [cm]
Double_t fAnodeWireSpacing
anode wire pitch [cm]
TArrayD fSectorX
center of sectors local c.s. [cm]
void TransformToLocalCorner(const Double_t *local_point, Double_t &posX, Double_t &posY) const
Double_t GetSizeZ() const
void TransformToLocalPad(const Double_t *local_point, Double_t &posX, Double_t &posY) 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
Double_t fAnodeWireOffset
Anode Wire Offset [cm].
Double_t GetSizeY() const
const CbmTrdParModDigi & operator=(const CbmTrdParModDigi &ref)
Double_t fX
center of module in global c.s. [cm]
TArrayD fSectorY
center of sectors local c.s. [cm]
TArrayD fPadSizeX
size of the readout pad in x [cm]
TArrayD fSectorEndY
end of sector [cm]
Int_t GetModuleRow(Int_t §orId, Int_t &rowId) const
Double_t GetAnodeWireToPadPlaneDistance() const
void Print(Option_t *opt="") const
TArrayD fSectorZ
center of sectors local c.s. [cm]
Int_t fNofSectors
number sectors for this module
TArrayD fSectorBeginY
begin of sector [cm]
void SetAnodeWireOffset(Double_t off)
Int_t GetSectorRow(Int_t growId, Int_t &srowId) const
Find the sector wise row given the module row. Inverse of GetModuleRow()
Double_t fZ
center of module in global c.s. [cm]
void TransformToLocalSector(const Double_t *local_point, Double_t &posX, Double_t &posY) const
void SetAnodeWireToPadPlaneDistance(Double_t d)
Double_t GetAnodeWireOffset() const
Int_t GetNofColumns() const