CbmRoot
CbmMuchPad Class Reference

#include <CbmMuchPad.h>

Inheritance diagram for CbmMuchPad:
[legend]

Public Member Functions

 CbmMuchPad ()
 
 CbmMuchPad (Int_t address, Double_t x, Double_t y, Double_t dx, Double_t dy)
 
virtual ~CbmMuchPad ()
 
Int_t GetAddress () const
 
Double_t GetX () const
 
Double_t GetY () const
 
Double_t GetDx () const
 
Double_t GetDy () const
 
Double_t GetDxy () const
 
Int_t GetDigiIndex () const
 
std::vector< CbmMuchPad * > GetNeighbours () const
 
void SetNeighbours (std::vector< CbmMuchPad * > neighbours)
 
void SetDigiIndex (Int_t iDigi)
 
virtual void SetFired (Int_t, Int_t, Int_t=256)
 
Int_t GetSectorIndex ()
 
Int_t GetChannelIndex ()
 

Protected Attributes

Int_t fAddress
 
Double_t fX
 
Double_t fY
 
Double_t fDx
 
Double_t fDy
 
Int_t fDigiIndex
 
std::vector< CbmMuchPad * > fNeighbours
 

Private Member Functions

 CbmMuchPad (const CbmMuchPad &)
 Array of neighbour pads. More...
 
CbmMuchPad operator= (const CbmMuchPad &)
 

Detailed Description

CbmMuchPad.h

Author
Evgeny Kryshen e.kry.nosp@m.shen.nosp@m.@gsi..nosp@m.de
Since
02.08.12
Version
2.0
Author
Mikhail Ryzhinskiy m.ryz.nosp@m.hins.nosp@m.kiy@g.nosp@m.si.d.nosp@m.e
Since
10.11.07
Version
1.0

Class describing a standalone pad

Definition at line 21 of file CbmMuchPad.h.

Constructor & Destructor Documentation

◆ CbmMuchPad() [1/3]

CbmMuchPad::CbmMuchPad ( )

Definition at line 4 of file CbmMuchPad.cxx.

References fNeighbours.

◆ CbmMuchPad() [2/3]

CbmMuchPad::CbmMuchPad ( Int_t  address,
Double_t  x,
Double_t  y,
Double_t  dx,
Double_t  dy 
)

Definition at line 20 of file CbmMuchPad.cxx.

References fNeighbours.

◆ ~CbmMuchPad()

virtual CbmMuchPad::~CbmMuchPad ( )
inlinevirtual

Definition at line 26 of file CbmMuchPad.h.

◆ CbmMuchPad() [3/3]

CbmMuchPad::CbmMuchPad ( const CbmMuchPad )
private

Array of neighbour pads.

Member Function Documentation

◆ GetAddress()

◆ GetChannelIndex()

Int_t CbmMuchPad::GetChannelIndex ( )
inline

Definition at line 49 of file CbmMuchPad.h.

References fAddress, CbmMuchAddress::GetElementId(), and kMuchChannel.

Referenced by CbmMuchModuleGemRadial::InitModule().

◆ GetDigiIndex()

Int_t CbmMuchPad::GetDigiIndex ( ) const
inline

Definition at line 34 of file CbmMuchPad.h.

References fDigiIndex.

Referenced by CbmMuchFindHitsGem::CreateCluster().

◆ GetDx()

◆ GetDxy()

Double_t CbmMuchPad::GetDxy ( ) const
inline

◆ GetDy()

◆ GetNeighbours()

std::vector<CbmMuchPad*> CbmMuchPad::GetNeighbours ( ) const
inline

◆ GetSectorIndex()

Int_t CbmMuchPad::GetSectorIndex ( )
inline

Definition at line 46 of file CbmMuchPad.h.

References fAddress, CbmMuchAddress::GetElementId(), and kMuchSector.

◆ GetX()

◆ GetY()

◆ operator=()

CbmMuchPad CbmMuchPad::operator= ( const CbmMuchPad )
private

◆ SetDigiIndex()

void CbmMuchPad::SetDigiIndex ( Int_t  iDigi)
inline

◆ SetFired()

virtual void CbmMuchPad::SetFired ( Int_t  ,
Int_t  ,
Int_t  = 256 
)
inlinevirtual

Reimplemented in CbmMuchPadRadial, and CbmMuchPadRectangular.

Definition at line 44 of file CbmMuchPad.h.

Referenced by CbmMuchModuleGem::SetPadFired().

◆ SetNeighbours()

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

Member Data Documentation

◆ fAddress

Int_t CbmMuchPad::fAddress
protected

Definition at line 54 of file CbmMuchPad.h.

Referenced by GetAddress(), GetChannelIndex(), and GetSectorIndex().

◆ fDigiIndex

Int_t CbmMuchPad::fDigiIndex
protected

◆ fDx

Double_t CbmMuchPad::fDx
protected

Definition at line 57 of file CbmMuchPad.h.

Referenced by GetDx().

◆ fDy

Double_t CbmMuchPad::fDy
protected

Definition at line 58 of file CbmMuchPad.h.

Referenced by GetDy().

◆ fNeighbours

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

Definition at line 62 of file CbmMuchPad.h.

Referenced by CbmMuchPad(), GetNeighbours(), and SetNeighbours().

◆ fX

Double_t CbmMuchPad::fX
protected

Definition at line 55 of file CbmMuchPad.h.

Referenced by GetX().

◆ fY

Double_t CbmMuchPad::fY
protected

Definition at line 56 of file CbmMuchPad.h.

Referenced by GetY().


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