CbmRoot
Loading...
Searching...
No Matches
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 24 of file CbmMuchModuleGemRectangular.h.

Constructor & Destructor Documentation

◆ CbmMuchModuleGemRectangular() [1/2]

CbmMuchModuleGemRectangular::CbmMuchModuleGemRectangular ( )

Definition at line 27 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 42 of file CbmMuchModuleGemRectangular.cxx.

References CbmMuchModule::fDetectorType.

◆ ~CbmMuchModuleGemRectangular()

virtual CbmMuchModuleGemRectangular::~CbmMuchModuleGemRectangular ( )
inlinevirtual

Definition at line 29 of file CbmMuchModuleGemRectangular.h.

Member Function Documentation

◆ AddDigi()

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

Definition at line 63 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 66 of file CbmMuchModuleGem.h.

References CbmMuchModuleGem::fSectors.

◆ ClassDef() [1/2]

CbmMuchModuleGem::ClassDef ( CbmMuchModuleGem ,
2  )
protectedinherited

◆ ClassDef() [2/2]

CbmMuchModuleGemRectangular::ClassDef ( CbmMuchModuleGemRectangular ,
1  )
protected

◆ ClearDigis()

void CbmMuchModule::ClearDigis ( )
inlineinherited

Definition at line 65 of file CbmMuchModule.h.

References CbmMuchModule::fDigis.

◆ DrawModule()

void CbmMuchModuleGem::DrawModule ( Color_t color)
virtualinherited

Reimplemented from CbmMuchModule.

Definition at line 93 of file CbmMuchModuleGem.cxx.

References CbmMuchModuleGem::fSectors.

◆ DrawPads()

void CbmMuchModuleGem::DrawPads ( )
inherited

Definition at line 107 of file CbmMuchModuleGem.cxx.

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

◆ GetClusters()

TClonesArray * CbmMuchModule::GetClusters ( ) const
inlineinherited

Definition at line 54 of file CbmMuchModule.h.

References CbmMuchModule::fClusters.

Referenced by CbmMuchGeoScheme::ClearClusterArrays().

◆ GetCutRadius()

Double_t CbmMuchModule::GetCutRadius ( ) const
inlineinherited

◆ GetDetectorId()

◆ GetDetectorType()

◆ GetDigis()

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

Definition at line 67 of file CbmMuchModule.h.

References CbmMuchModule::fDigis.

◆ GetGrid()

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

Definition at line 34 of file CbmMuchModuleGemRectangular.h.

References fGrid.

◆ GetGridDx()

Double_t CbmMuchModuleGemRectangular::GetGridDx ( )
inline

Definition at line 37 of file CbmMuchModuleGemRectangular.h.

References fGridDx.

◆ GetGridDy()

Double_t CbmMuchModuleGemRectangular::GetGridDy ( )
inline

Definition at line 38 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 35 of file CbmMuchModuleGemRectangular.h.

References fGridNx.

◆ GetGridNy()

Int_t CbmMuchModuleGemRectangular::GetGridNy ( )
inline

Definition at line 36 of file CbmMuchModuleGemRectangular.h.

References fGridNy.

◆ GetHits()

TClonesArray * CbmMuchModule::GetHits ( ) const
inlineinherited

Definition at line 53 of file CbmMuchModule.h.

References CbmMuchModule::fHits.

◆ GetNPads()

Int_t CbmMuchModuleGem::GetNPads ( )
inherited

◆ GetNSectors()

◆ GetPad() [1/2]

◆ GetPad() [2/2]

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

◆ GetPads()

vector< CbmMuchPad * > CbmMuchModuleGem::GetPads ( )
inherited

◆ GetPoints()

TClonesArray * CbmMuchModule::GetPoints ( ) const
inlineinherited

Definition at line 52 of file CbmMuchModule.h.

References CbmMuchModule::fPoints.

◆ GetPosition()

TVector3 CbmMuchModule::GetPosition ( ) const
inlineinherited

◆ GetSector() [1/3]

CbmMuchSector * CbmMuchModuleGem::GetSector ( Int_t address)
inherited

◆ GetSector() [2/3]

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

◆ GetSector() [3/3]

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

Definition at line 58 of file CbmMuchModuleGemRectangular.cxx.

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

◆ GetSectorByIndex()

◆ GetSize()

TVector3 CbmMuchModule::GetSize ( ) const
inlineinherited

Definition at line 49 of file CbmMuchModule.h.

References CbmMuchModule::fSize.

◆ InitGrid()

◆ InitModule()

◆ InitNeighbourPads()

◆ InitNeighbourSectors()

void CbmMuchModuleGemRectangular::InitNeighbourSectors ( )
protected

◆ SetClusters()

void CbmMuchModule::SetClusters ( TClonesArray * clusters)
inlineinherited

Definition at line 61 of file CbmMuchModule.h.

References CbmMuchModule::fClusters.

Referenced by CbmMuchGeoScheme::CreateClusterArrays().

◆ SetHits()

void CbmMuchModule::SetHits ( TClonesArray * hits)
inlineinherited

Definition at line 60 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 117 of file CbmMuchModuleGem.cxx.

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

◆ SetPoints()

void CbmMuchModule::SetPoints ( TClonesArray * points)
inlineinherited

Definition at line 59 of file CbmMuchModule.h.

References CbmMuchModule::fPoints, and points.

Member Data Documentation

◆ fClusters

TClonesArray* CbmMuchModule::fClusters
protectedinherited

Definition at line 77 of file CbmMuchModule.h.

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

◆ fCutRadius

Double_t CbmMuchModule::fCutRadius
protectedinherited

Definition at line 72 of file CbmMuchModule.h.

Referenced by CbmMuchModule::GetCutRadius().

◆ fDetectorId

Int_t CbmMuchModule::fDetectorId
protectedinherited

Definition at line 70 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 46 of file CbmMuchModuleGemRectangular.h.

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

◆ fGridDx

Double_t CbmMuchModuleGemRectangular::fGridDx
protected

Definition at line 44 of file CbmMuchModuleGemRectangular.h.

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

◆ fGridDy

Double_t CbmMuchModuleGemRectangular::fGridDy
protected

Definition at line 45 of file CbmMuchModuleGemRectangular.h.

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

◆ fGridNx

Int_t CbmMuchModuleGemRectangular::fGridNx
protected

Definition at line 42 of file CbmMuchModuleGemRectangular.h.

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

◆ fGridNy

Int_t CbmMuchModuleGemRectangular::fGridNy
protected

Definition at line 43 of file CbmMuchModuleGemRectangular.h.

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

◆ fHits

TClonesArray* CbmMuchModule::fHits
protectedinherited

Definition at line 76 of file CbmMuchModule.h.

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

◆ fPoints

TClonesArray* CbmMuchModule::fPoints
protectedinherited

Definition at line 75 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 73 of file CbmMuchModule.h.

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

◆ fUseModuleDesign

Bool_t CbmMuchModuleGemRectangular::fUseModuleDesign
protected

Definition at line 41 of file CbmMuchModuleGemRectangular.h.

Referenced by InitGrid().


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