CbmRoot
CbmMuchModule Class Reference

#include <CbmMuchModule.h>

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

Public Member Functions

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

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
 

Private Member Functions

 CbmMuchModule (const CbmMuchModule &)
 
CbmMuchModuleoperator= (const CbmMuchModule &)
 
 ClassDef (CbmMuchModule, 2)
 

Detailed Description

Definition at line 24 of file CbmMuchModule.h.

Constructor & Destructor Documentation

◆ CbmMuchModule() [1/3]

CbmMuchModule::CbmMuchModule ( )

Default constructor

CbmMuchModule.cxx

Author
M.Ryzhinskiy m.ryz.nosp@m.hins.nosp@m.kiy@g.nosp@m.si.d.nosp@m.e
Version
1.0
Since
11.02.08

This class holds the transport geometry parameters of one side of MuCh module.

Definition at line 17 of file CbmMuchModule.cxx.

◆ CbmMuchModule() [2/3]

CbmMuchModule::CbmMuchModule ( 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])
sizeSize of the module (all dimensions in [cm])
cutRadiusRadius of the cut (if any, otherwise = -1.) [cm]

Definition at line 32 of file CbmMuchModule.cxx.

◆ ~CbmMuchModule()

virtual CbmMuchModule::~CbmMuchModule ( )
inlinevirtual

Destructor

Definition at line 45 of file CbmMuchModule.h.

◆ CbmMuchModule() [3/3]

CbmMuchModule::CbmMuchModule ( const CbmMuchModule )
private

Member Function Documentation

◆ AddDigi()

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

Definition at line 64 of file CbmMuchModule.h.

References fDigis.

Referenced by CbmMuchFindHitsGem::FindClusters().

◆ ClassDef()

CbmMuchModule::ClassDef ( CbmMuchModule  ,
 
)
private

◆ ClearDigis()

void CbmMuchModule::ClearDigis ( )
inline

Definition at line 68 of file CbmMuchModule.h.

References fDigis.

◆ DrawModule()

virtual void CbmMuchModule::DrawModule ( Color_t  )
inlinevirtual

Reimplemented in CbmMuchModuleGem.

Definition at line 58 of file CbmMuchModule.h.

Referenced by CbmMuchLayerSide::DrawModules().

◆ GetClusters()

TClonesArray* CbmMuchModule::GetClusters ( ) const
inline

Definition at line 55 of file CbmMuchModule.h.

References fClusters.

Referenced by CbmMuchGeoScheme::ClearClusterArrays().

◆ GetCutRadius()

Double_t CbmMuchModule::GetCutRadius ( ) const
inline

Definition at line 49 of file CbmMuchModule.h.

References fCutRadius.

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

◆ GetDetectorId()

◆ GetDetectorType()

◆ GetDigis()

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

Definition at line 70 of file CbmMuchModule.h.

References fDigis.

Referenced by CbmMuchFindHitsGem::FindClusters().

◆ GetHits()

TClonesArray* CbmMuchModule::GetHits ( ) const
inline

Definition at line 54 of file CbmMuchModule.h.

References fHits.

◆ GetPoints()

TClonesArray* CbmMuchModule::GetPoints ( ) const
inline

Definition at line 53 of file CbmMuchModule.h.

References fPoints.

◆ GetPosition()

◆ GetSize()

◆ InitModule()

virtual Bool_t CbmMuchModule::InitModule ( )
inlinevirtual

◆ operator=()

CbmMuchModule& CbmMuchModule::operator= ( const CbmMuchModule )
private

◆ SetClusters()

void CbmMuchModule::SetClusters ( TClonesArray *  clusters)
inline

Definition at line 62 of file CbmMuchModule.h.

References fClusters.

Referenced by CbmMuchGeoScheme::CreateClusterArrays().

◆ SetHits()

void CbmMuchModule::SetHits ( TClonesArray *  hits)
inline

Definition at line 61 of file CbmMuchModule.h.

References fHits, and hits.

Referenced by CbmMuchGeoScheme::CreateHitArrays().

◆ SetPoints()

void CbmMuchModule::SetPoints ( TClonesArray *  points)
inline

Definition at line 60 of file CbmMuchModule.h.

References fPoints, and points.

Referenced by CbmMuchGeoScheme::CreatePointArrays().

Member Data Documentation

◆ fClusters

TClonesArray* CbmMuchModule::fClusters
protected

Definition at line 81 of file CbmMuchModule.h.

Referenced by GetClusters(), and SetClusters().

◆ fCutRadius

Double_t CbmMuchModule::fCutRadius
protected

Definition at line 75 of file CbmMuchModule.h.

Referenced by GetCutRadius().

◆ fDetectorId

Int_t CbmMuchModule::fDetectorId
protected

Definition at line 73 of file CbmMuchModule.h.

Referenced by GetDetectorId().

◆ fDetectorType

Int_t CbmMuchModule::fDetectorType
protected

◆ fDigis

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

Definition at line 82 of file CbmMuchModule.h.

Referenced by AddDigi(), ClearDigis(), and GetDigis().

◆ fHits

TClonesArray* CbmMuchModule::fHits
protected

Definition at line 80 of file CbmMuchModule.h.

Referenced by GetHits(), and SetHits().

◆ fPoints

TClonesArray* CbmMuchModule::fPoints
protected

Definition at line 79 of file CbmMuchModule.h.

Referenced by GetPoints(), and SetPoints().

◆ fPosition

◆ fSize


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