CbmRoot
Loading...
Searching...
No Matches
CbmMuchSectorRectangular Class Reference

#include <CbmMuchSectorRectangular.h>

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

Public Member Functions

 CbmMuchSectorRectangular ()
 
 CbmMuchSectorRectangular (UInt_t modAddress, UInt_t index, TVector3 pos, TVector3 size, Int_t padNx, Int_t padNy)
 
virtual ~CbmMuchSectorRectangular ()
 
TVector3 GetPosition () const
 
TVector3 GetSize () const
 
Int_t GetPadNx () const
 
Int_t GetPadNy () const
 
Double_t GetPadDx () const
 
Double_t GetPadDy () const
 
Double_t GetSigmaX () const
 
Double_t GetSigmaY () const
 
Double_t GetXmin () const
 
Double_t GetYmin () const
 
void SetNeighbours (std::vector< CbmMuchSectorRectangular * > neighbours)
 
Bool_t Inside (Double_t x, Double_t y)
 
Bool_t IsIncomplete ()
 
std::vector< CbmMuchSectorRectangular * > GetNeighbours ()
 
CbmMuchPadRectangularGetPad (Double_t x, Double_t y)
 
void AddPads ()
 
void DrawPads ()
 
UInt_t GetAddress () const
 
UInt_t GetSectorIndex () const
 
Int_t GetNChannels () const
 
CbmMuchPadGetPadByChannelIndex (Int_t iChannel) const
 

Protected Member Functions

 ClassDef (CbmMuchSectorRectangular, 1)
 
 ClassDef (CbmMuchSector, 2)
 Vector of pads.
 

Protected Attributes

TVector3 fPosition
 
TVector3 fSize
 
Int_t fPadNx
 
Int_t fPadNy
 
Double_t fPadDx
 
Double_t fPadDy
 
std::vector< CbmMuchSectorRectangular * > fNeighbours
 
UInt_t fAddress
 
Int_t fNChannels
 
std::vector< CbmMuchPad * > fPads
 

Detailed Description

Definition at line 28 of file CbmMuchSectorRectangular.h.

Constructor & Destructor Documentation

◆ CbmMuchSectorRectangular() [1/2]

CbmMuchSectorRectangular::CbmMuchSectorRectangular ( )

Definition at line 14 of file CbmMuchSectorRectangular.cxx.

◆ CbmMuchSectorRectangular() [2/2]

CbmMuchSectorRectangular::CbmMuchSectorRectangular ( UInt_t modAddress,
UInt_t index,
TVector3 pos,
TVector3 size,
Int_t padNx,
Int_t padNy )

Definition at line 30 of file CbmMuchSectorRectangular.cxx.

◆ ~CbmMuchSectorRectangular()

virtual CbmMuchSectorRectangular::~CbmMuchSectorRectangular ( )
inlinevirtual

Definition at line 32 of file CbmMuchSectorRectangular.h.

Member Function Documentation

◆ AddPads()

void CbmMuchSectorRectangular::AddPads ( )
virtual

◆ ClassDef() [1/2]

CbmMuchSector::ClassDef ( CbmMuchSector ,
2  )
protectedinherited

Vector of pads.

◆ ClassDef() [2/2]

CbmMuchSectorRectangular::ClassDef ( CbmMuchSectorRectangular ,
1  )
protected

◆ DrawPads()

void CbmMuchSectorRectangular::DrawPads ( )
virtual

◆ GetAddress()

◆ GetNChannels()

◆ GetNeighbours()

std::vector< CbmMuchSectorRectangular * > CbmMuchSectorRectangular::GetNeighbours ( )
inline

Definition at line 50 of file CbmMuchSectorRectangular.h.

References fNeighbours.

Referenced by CbmMuchModuleGemRectangular::InitNeighbourPads().

◆ GetPad()

CbmMuchPadRectangular * CbmMuchSectorRectangular::GetPad ( Double_t x,
Double_t y )

◆ GetPadByChannelIndex()

◆ GetPadDx()

◆ GetPadDy()

◆ GetPadNx()

Int_t CbmMuchSectorRectangular::GetPadNx ( ) const
inline

◆ GetPadNy()

Int_t CbmMuchSectorRectangular::GetPadNy ( ) const
inline

◆ GetPosition()

◆ GetSectorIndex()

UInt_t CbmMuchSector::GetSectorIndex ( ) const
inlineinherited

◆ GetSigmaX()

Double_t CbmMuchSectorRectangular::GetSigmaX ( ) const
inline

Definition at line 40 of file CbmMuchSectorRectangular.h.

References fPadDx.

Referenced by CbmMuchSegmentAuto::ShouldSegmentByX().

◆ GetSigmaY()

Double_t CbmMuchSectorRectangular::GetSigmaY ( ) const
inline

Definition at line 41 of file CbmMuchSectorRectangular.h.

References fPadDy.

Referenced by CbmMuchSegmentAuto::ShouldSegmentByY().

◆ GetSize()

◆ GetXmin()

Double_t CbmMuchSectorRectangular::GetXmin ( ) const
inline

Definition at line 42 of file CbmMuchSectorRectangular.h.

References fPosition, and fSize.

Referenced by AddPads(), and GetPad().

◆ GetYmin()

Double_t CbmMuchSectorRectangular::GetYmin ( ) const
inline

Definition at line 43 of file CbmMuchSectorRectangular.h.

References fPosition, and fSize.

Referenced by AddPads(), and GetPad().

◆ Inside()

Bool_t CbmMuchSectorRectangular::Inside ( Double_t x,
Double_t y )
inline

Definition at line 47 of file CbmMuchSectorRectangular.h.

References x, and y.

Referenced by CbmMuchModuleGemRectangular::InitGrid().

◆ IsIncomplete()

Bool_t CbmMuchSectorRectangular::IsIncomplete ( )
inline

Definition at line 48 of file CbmMuchSectorRectangular.h.

Referenced by CbmMuchModuleGemRectangular::InitGrid().

◆ SetNeighbours()

void CbmMuchSectorRectangular::SetNeighbours ( std::vector< CbmMuchSectorRectangular * > neighbours)
inline

Definition at line 46 of file CbmMuchSectorRectangular.h.

References fNeighbours.

Referenced by CbmMuchModuleGemRectangular::InitNeighbourSectors().

Member Data Documentation

◆ fAddress

UInt_t CbmMuchSector::fAddress
protectedinherited

◆ fNChannels

Int_t CbmMuchSector::fNChannels
protectedinherited

◆ fNeighbours

std::vector<CbmMuchSectorRectangular*> CbmMuchSectorRectangular::fNeighbours
protected

Definition at line 62 of file CbmMuchSectorRectangular.h.

Referenced by GetNeighbours(), and SetNeighbours().

◆ fPadDx

Double_t CbmMuchSectorRectangular::fPadDx
protected

Definition at line 60 of file CbmMuchSectorRectangular.h.

Referenced by AddPads(), GetPad(), GetPadDx(), and GetSigmaX().

◆ fPadDy

Double_t CbmMuchSectorRectangular::fPadDy
protected

Definition at line 61 of file CbmMuchSectorRectangular.h.

Referenced by AddPads(), GetPad(), GetPadDy(), and GetSigmaY().

◆ fPadNx

Int_t CbmMuchSectorRectangular::fPadNx
protected

Definition at line 58 of file CbmMuchSectorRectangular.h.

Referenced by AddPads(), GetPad(), and GetPadNx().

◆ fPadNy

Int_t CbmMuchSectorRectangular::fPadNy
protected

Definition at line 59 of file CbmMuchSectorRectangular.h.

Referenced by AddPads(), GetPad(), and GetPadNy().

◆ fPads

◆ fPosition

TVector3 CbmMuchSectorRectangular::fPosition
protected

Definition at line 56 of file CbmMuchSectorRectangular.h.

Referenced by GetPosition(), GetXmin(), and GetYmin().

◆ fSize

TVector3 CbmMuchSectorRectangular::fSize
protected

Definition at line 57 of file CbmMuchSectorRectangular.h.

Referenced by GetSize(), GetXmin(), and GetYmin().


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