CbmRoot
CbmMuchModuleGemRectangular Class Reference

#include <CbmMuchModuleGemRectangular.h>

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

Public Member Functions

 CbmMuchModuleGemRectangular ()
 
 CbmMuchModuleGemRectangular (Int_t iStation, Int_t iLayer, Bool_t iSide, Int_t iModule, TVector3 position, TVector3 size, Double_t cutRadius)
 
virtual ~CbmMuchModuleGemRectangular ()
 
virtual Bool_t InitModule ()
 
CbmMuchSectorRectangularGetSector (Double_t x, Double_t y)
 
CbmMuchSectorRectangularGetSector (Int_t ix, Int_t iy)
 
CbmMuchPadRectangularGetPad (Double_t x, Double_t y)
 
std::vector< std::vector< Int_t > > GetGrid ()
 
Int_t GetGridNx ()
 
Int_t GetGridNy ()
 
Double_t GetGridDx ()
 
Double_t GetGridDy ()
 
CbmMuchSectorGetSector (Int_t address)
 
CbmMuchPadGetPad (Int_t address)
 
CbmMuchSectorGetSectorByIndex (Int_t iSector)
 
Int_t GetNSectors () const
 
std::vector< CbmMuchPad * > GetPads ()
 
Int_t GetNPads ()
 
void AddSector (CbmMuchSector *sector)
 
void DrawModule (Color_t color)
 
void DrawPads ()
 
void SetPadFired (Int_t address, Int_t digiIndex, Int_t adcCharge)
 
Int_t GetDetectorId () const
 
Double_t GetCutRadius () const
 
TVector3 GetSize () const
 
TVector3 GetPosition () const
 
Int_t GetDetectorType () const
 
TClonesArray * GetPoints () const
 
TClonesArray * GetHits () const
 
TClonesArray * GetClusters () const
 
void SetPoints (TClonesArray *points)
 
void SetHits (TClonesArray *hits)
 
void SetClusters (TClonesArray *clusters)
 
void AddDigi (Double_t time, Int_t id)
 
void ClearDigis ()
 
std::multimap< Double_t, Int_t > GetDigis ()
 

Protected Member Functions

void InitNeighbourSectors ()
 
void InitNeighbourPads ()
 
Int_t GetGridIndexX (Double_t x)
 
Int_t GetGridIndexY (Double_t y)
 
Bool_t InitGrid (Bool_t useModuleDesign)
 
 ClassDef (CbmMuchModuleGemRectangular, 1)
 
 ClassDef (CbmMuchModuleGem, 2)
 

Protected Attributes

Bool_t fUseModuleDesign
 
Int_t fGridNx
 
Int_t fGridNy
 
Double_t fGridDx
 
Double_t fGridDy
 
std::vector< std::vector< Int_t > > fGrid
 
std::vector< CbmMuchSector * > fSectors
 
Int_t fDetectorId
 
Int_t fDetectorType
 
Double_t fCutRadius
 
TVector3 fSize
 
TVector3 fPosition
 
TClonesArray * fPoints
 
TClonesArray * fHits
 
TClonesArray * fClusters
 
std::multimap< Double_t, Int_t > fDigis
 

Detailed Description

Definition at line 20 of file CbmMuchModuleGemRectangular.h.

Constructor & Destructor Documentation

◆ CbmMuchModuleGemRectangular() [1/2]

CbmMuchModuleGemRectangular::CbmMuchModuleGemRectangular ( )

Definition at line 23 of file CbmMuchModuleGemRectangular.cxx.

References CbmMuchModule::fDetectorType.

◆ CbmMuchModuleGemRectangular() [2/2]

CbmMuchModuleGemRectangular::CbmMuchModuleGemRectangular ( Int_t  iStation,
Int_t  iLayer,
Bool_t  iSide,
Int_t  iModule,
TVector3  position,
TVector3  size,
Double_t  cutRadius 
)

Definition at line 37 of file CbmMuchModuleGemRectangular.cxx.

References CbmMuchModule::fDetectorType.

◆ ~CbmMuchModuleGemRectangular()

virtual CbmMuchModuleGemRectangular::~CbmMuchModuleGemRectangular ( )
inlinevirtual

Definition at line 30 of file CbmMuchModuleGemRectangular.h.

Member Function Documentation

◆ AddDigi()

void CbmMuchModule::AddDigi ( Double_t  time,
Int_t  id 
)
inlineinherited

Definition at line 64 of file CbmMuchModule.h.

References CbmMuchModule::fDigis.

Referenced by CbmMuchFindHitsGem::FindClusters().

◆ AddSector()

void CbmMuchModuleGem::AddSector ( CbmMuchSector sector)
inlineinherited

Adds a given sector to the array.

Parameters
sectorCbmMuchSector which should be added to the array.

Definition at line 67 of file CbmMuchModuleGem.h.

References CbmMuchModuleGem::fSectors.

Referenced by CbmMuchSegmentSector::SegmentModule(), CbmMuchSegmentAuto::SegmentSector(), and CbmMuchSegmentManual::SegmentSector().

◆ ClassDef() [1/2]

CbmMuchModuleGem::ClassDef ( CbmMuchModuleGem  ,
 
)
protectedinherited

◆ ClassDef() [2/2]

CbmMuchModuleGemRectangular::ClassDef ( CbmMuchModuleGemRectangular  ,
 
)
protected

◆ ClearDigis()

void CbmMuchModule::ClearDigis ( )
inlineinherited

Definition at line 68 of file CbmMuchModule.h.

References CbmMuchModule::fDigis.

◆ DrawModule()

void CbmMuchModuleGem::DrawModule ( Color_t  color)
virtualinherited

Reimplemented from CbmMuchModule.

Definition at line 88 of file CbmMuchModuleGem.cxx.

References CbmMuchModuleGem::fSectors.

◆ DrawPads()

void CbmMuchModuleGem::DrawPads ( )
inherited

Definition at line 101 of file CbmMuchModuleGem.cxx.

References CbmMuchSector::DrawPads(), and CbmMuchModuleGem::fSectors.

◆ GetClusters()

TClonesArray* CbmMuchModule::GetClusters ( ) const
inlineinherited

Definition at line 55 of file CbmMuchModule.h.

References CbmMuchModule::fClusters.

Referenced by CbmMuchGeoScheme::ClearClusterArrays().

◆ GetCutRadius()

Double_t CbmMuchModule::GetCutRadius ( ) const
inlineinherited

◆ GetDetectorId()

◆ GetDetectorType()

Int_t CbmMuchModule::GetDetectorType ( ) const
inlineinherited

◆ GetDigis()

std::multimap<Double_t, Int_t> CbmMuchModule::GetDigis ( )
inlineinherited

Definition at line 70 of file CbmMuchModule.h.

References CbmMuchModule::fDigis.

Referenced by CbmMuchFindHitsGem::FindClusters().

◆ GetGrid()

std::vector<std::vector<Int_t> > CbmMuchModuleGemRectangular::GetGrid ( )
inline

Definition at line 35 of file CbmMuchModuleGemRectangular.h.

References fGrid.

◆ GetGridDx()

Double_t CbmMuchModuleGemRectangular::GetGridDx ( )
inline

Definition at line 38 of file CbmMuchModuleGemRectangular.h.

References fGridDx.

◆ GetGridDy()

Double_t CbmMuchModuleGemRectangular::GetGridDy ( )
inline

Definition at line 39 of file CbmMuchModuleGemRectangular.h.

References fGridDy.

◆ GetGridIndexX()

Int_t CbmMuchModuleGemRectangular::GetGridIndexX ( Double_t  x)
protected

◆ GetGridIndexY()

Int_t CbmMuchModuleGemRectangular::GetGridIndexY ( Double_t  y)
protected

◆ GetGridNx()

Int_t CbmMuchModuleGemRectangular::GetGridNx ( )
inline

Definition at line 36 of file CbmMuchModuleGemRectangular.h.

References fGridNx.

◆ GetGridNy()

Int_t CbmMuchModuleGemRectangular::GetGridNy ( )
inline

Definition at line 37 of file CbmMuchModuleGemRectangular.h.

References fGridNy.

◆ GetHits()

TClonesArray* CbmMuchModule::GetHits ( ) const
inlineinherited

Definition at line 54 of file CbmMuchModule.h.

References CbmMuchModule::fHits.

◆ GetNPads()

◆ GetNSectors()

◆ GetPad() [1/2]

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

◆ GetPad() [2/2]

◆ GetPads()

◆ GetPoints()

TClonesArray* CbmMuchModule::GetPoints ( ) const
inlineinherited

Definition at line 53 of file CbmMuchModule.h.

References CbmMuchModule::fPoints.

◆ GetPosition()

◆ GetSector() [1/3]

CbmMuchSectorRectangular * CbmMuchModuleGemRectangular::GetSector ( Double_t  x,
Double_t  y 
)

Definition at line 75 of file CbmMuchModuleGemRectangular.cxx.

References GetGridIndexX(), GetGridIndexY(), x, and y.

Referenced by CbmMuchDigitizeGem::ExecPoint(), and GetPad().

◆ GetSector() [2/3]

CbmMuchSector * CbmMuchModuleGem::GetSector ( Int_t  address)
inherited

◆ GetSector() [3/3]

CbmMuchSectorRectangular * CbmMuchModuleGemRectangular::GetSector ( Int_t  ix,
Int_t  iy 
)

Definition at line 63 of file CbmMuchModuleGemRectangular.cxx.

References fGrid, fGridNx, fGridNy, and CbmMuchModuleGem::fSectors.

◆ GetSectorByIndex()

◆ GetSize()

◆ InitGrid()

◆ InitModule()

◆ InitNeighbourPads()

◆ InitNeighbourSectors()

void CbmMuchModuleGemRectangular::InitNeighbourSectors ( )
protected

◆ SetClusters()

void CbmMuchModule::SetClusters ( TClonesArray *  clusters)
inlineinherited

Definition at line 62 of file CbmMuchModule.h.

References CbmMuchModule::fClusters.

Referenced by CbmMuchGeoScheme::CreateClusterArrays().

◆ SetHits()

void CbmMuchModule::SetHits ( TClonesArray *  hits)
inlineinherited

Definition at line 61 of file CbmMuchModule.h.

References CbmMuchModule::fHits, and hits.

Referenced by CbmMuchGeoScheme::CreateHitArrays().

◆ SetPadFired()

void CbmMuchModuleGem::SetPadFired ( Int_t  address,
Int_t  digiIndex,
Int_t  adcCharge 
)
inherited

Definition at line 110 of file CbmMuchModuleGem.cxx.

References CbmMuchModuleGem::GetPad(), and CbmMuchPad::SetFired().

◆ SetPoints()

void CbmMuchModule::SetPoints ( TClonesArray *  points)
inlineinherited

Definition at line 60 of file CbmMuchModule.h.

References CbmMuchModule::fPoints, and points.

Referenced by CbmMuchGeoScheme::CreatePointArrays().

Member Data Documentation

◆ fClusters

TClonesArray* CbmMuchModule::fClusters
protectedinherited

Definition at line 81 of file CbmMuchModule.h.

Referenced by CbmMuchModule::GetClusters(), and CbmMuchModule::SetClusters().

◆ fCutRadius

Double_t CbmMuchModule::fCutRadius
protectedinherited

Definition at line 75 of file CbmMuchModule.h.

Referenced by CbmMuchModule::GetCutRadius().

◆ fDetectorId

Int_t CbmMuchModule::fDetectorId
protectedinherited

Definition at line 73 of file CbmMuchModule.h.

Referenced by CbmMuchModule::GetDetectorId().

◆ fDetectorType

Int_t CbmMuchModule::fDetectorType
protectedinherited

◆ fDigis

std::multimap<Double_t, Int_t> CbmMuchModule::fDigis
protectedinherited

◆ fGrid

std::vector<std::vector<Int_t> > CbmMuchModuleGemRectangular::fGrid
protected

Definition at line 48 of file CbmMuchModuleGemRectangular.h.

Referenced by GetGrid(), GetSector(), InitGrid(), and InitNeighbourSectors().

◆ fGridDx

Double_t CbmMuchModuleGemRectangular::fGridDx
protected

Definition at line 45 of file CbmMuchModuleGemRectangular.h.

Referenced by GetGridDx(), GetGridIndexX(), and InitGrid().

◆ fGridDy

Double_t CbmMuchModuleGemRectangular::fGridDy
protected

Definition at line 46 of file CbmMuchModuleGemRectangular.h.

Referenced by GetGridDy(), GetGridIndexY(), and InitGrid().

◆ fGridNx

Int_t CbmMuchModuleGemRectangular::fGridNx
protected

Definition at line 43 of file CbmMuchModuleGemRectangular.h.

Referenced by GetGridNx(), GetSector(), InitGrid(), and InitNeighbourSectors().

◆ fGridNy

Int_t CbmMuchModuleGemRectangular::fGridNy
protected

Definition at line 44 of file CbmMuchModuleGemRectangular.h.

Referenced by GetGridNy(), GetSector(), InitGrid(), and InitNeighbourSectors().

◆ fHits

TClonesArray* CbmMuchModule::fHits
protectedinherited

Definition at line 80 of file CbmMuchModule.h.

Referenced by CbmMuchModule::GetHits(), and CbmMuchModule::SetHits().

◆ fPoints

TClonesArray* CbmMuchModule::fPoints
protectedinherited

Definition at line 79 of file CbmMuchModule.h.

Referenced by CbmMuchModule::GetPoints(), and CbmMuchModule::SetPoints().

◆ fPosition

TVector3 CbmMuchModule::fPosition
protectedinherited

◆ fSectors

◆ fSize

TVector3 CbmMuchModule::fSize
protectedinherited

Definition at line 76 of file CbmMuchModule.h.

Referenced by GetGridIndexX(), GetGridIndexY(), CbmMuchModule::GetSize(), and InitGrid().

◆ fUseModuleDesign

Bool_t CbmMuchModuleGemRectangular::fUseModuleDesign
protected

Definition at line 42 of file CbmMuchModuleGemRectangular.h.

Referenced by InitGrid().


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