CbmRoot
CbmMuchModuleGem Class Reference

#include <CbmMuchModuleGem.h>

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

Public Member Functions

 CbmMuchModuleGem ()
 
 CbmMuchModuleGem (Int_t iStation, Int_t iLayer, Bool_t iSide, Int_t iModule, TVector3 position, TVector3 size, Double_t cutRadius)
 
virtual ~CbmMuchModuleGem ()
 
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)
 
virtual Bool_t InitModule ()
 
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

 ClassDef (CbmMuchModuleGem, 2)
 

Protected Attributes

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 CbmMuchModuleGem.h.

Constructor & Destructor Documentation

◆ CbmMuchModuleGem() [1/2]

CbmMuchModuleGem::CbmMuchModuleGem ( )

Default constructor

Definition at line 23 of file CbmMuchModuleGem.cxx.

◆ CbmMuchModuleGem() [2/2]

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

Standard constructor

Parameters
iStationStation index
iLayerLayer index
iSideDefines side of the layer (0 - Front, 1 - Back)
iModuleModule index
positionLocation of the module center in global c.s. (all dimensions in [cm])
cutRadiusRadius of the cut (if any, otherwise = -1.) [cm]

Definition at line 28 of file CbmMuchModuleGem.cxx.

◆ ~CbmMuchModuleGem()

virtual CbmMuchModuleGem::~CbmMuchModuleGem ( )
inlinevirtual

Destructor

Definition at line 46 of file CbmMuchModuleGem.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)
inline

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 fSectors.

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

◆ ClassDef()

CbmMuchModuleGem::ClassDef ( CbmMuchModuleGem  ,
 
)
protected

◆ ClearDigis()

void CbmMuchModule::ClearDigis ( )
inlineinherited

Definition at line 68 of file CbmMuchModule.h.

References CbmMuchModule::fDigis.

◆ DrawModule()

void CbmMuchModuleGem::DrawModule ( Color_t  color)
virtual

Reimplemented from CbmMuchModule.

Definition at line 88 of file CbmMuchModuleGem.cxx.

References fSectors.

◆ DrawPads()

void CbmMuchModuleGem::DrawPads ( )

Definition at line 101 of file CbmMuchModuleGem.cxx.

References CbmMuchSector::DrawPads(), and 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().

◆ GetHits()

TClonesArray* CbmMuchModule::GetHits ( ) const
inlineinherited

Definition at line 54 of file CbmMuchModule.h.

References CbmMuchModule::fHits.

◆ GetNPads()

◆ GetNSectors()

◆ GetPad()

◆ GetPads()

◆ GetPoints()

TClonesArray* CbmMuchModule::GetPoints ( ) const
inlineinherited

Definition at line 53 of file CbmMuchModule.h.

References CbmMuchModule::fPoints.

◆ GetPosition()

◆ GetSector()

CbmMuchSector * CbmMuchModuleGem::GetSector ( Int_t  address)

Gets sector by the given address

Definition at line 71 of file CbmMuchModuleGem.cxx.

References fSectors, and CbmMuchAddress::GetSectorIndex().

Referenced by CbmMuchSegmentAuto::DrawSegmentation(), GetPad(), and CbmMuchSegmentAuto::Print().

◆ GetSectorByIndex()

◆ GetSize()

◆ InitModule()

virtual Bool_t CbmMuchModuleGem::InitModule ( )
inlinevirtual

Reimplemented from CbmMuchModule.

Reimplemented in CbmMuchModuleGemRadial, and CbmMuchModuleGemRectangular.

Definition at line 70 of file CbmMuchModuleGem.h.

◆ 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 
)

Definition at line 110 of file CbmMuchModuleGem.cxx.

References 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

◆ 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

◆ fSectors

◆ fSize


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