CbmRoot
Loading...
Searching...
No Matches
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_tGetDigis ()
 

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_tfDigis
 

Private Member Functions

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

Detailed Description

Definition at line 28 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 21 of file CbmMuchModule.cxx.

References fClusters, fCutRadius, fDetectorId, fDetectorType, fDigis, fHits, fPoints, fPosition, and fSize.

Referenced by CbmMuchModule(), CbmMuchModuleGem::CbmMuchModuleGem(), CbmMuchModuleGem::CbmMuchModuleGem(), ClassDef(), and operator=().

◆ 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 38 of file CbmMuchModule.cxx.

References fClusters, fCutRadius, fDetectorId, fDetectorType, fDigis, fHits, fPoints, fPosition, fSize, and size().

◆ ~CbmMuchModule()

virtual CbmMuchModule::~CbmMuchModule ( )
inlinevirtual

Destructor

Definition at line 44 of file CbmMuchModule.h.

◆ CbmMuchModule() [3/3]

CbmMuchModule::CbmMuchModule ( const CbmMuchModule & )
private

References CbmMuchModule().

Member Function Documentation

◆ AddDigi()

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

Definition at line 63 of file CbmMuchModule.h.

References fDigis.

◆ ClassDef()

CbmMuchModule::ClassDef ( CbmMuchModule ,
2  )
private

References CbmMuchModule().

◆ ClearDigis()

void CbmMuchModule::ClearDigis ( )
inline

Definition at line 65 of file CbmMuchModule.h.

References fDigis.

◆ DrawModule()

virtual void CbmMuchModule::DrawModule ( Color_t )
inlinevirtual

Reimplemented in CbmMuchModuleGem.

Definition at line 57 of file CbmMuchModule.h.

◆ GetClusters()

TClonesArray * CbmMuchModule::GetClusters ( ) const
inline

Definition at line 54 of file CbmMuchModule.h.

References fClusters.

Referenced by CbmMuchGeoScheme::ClearClusterArrays().

◆ GetCutRadius()

Double_t CbmMuchModule::GetCutRadius ( ) const
inline

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

References fDigis.

◆ GetHits()

TClonesArray * CbmMuchModule::GetHits ( ) const
inline

Definition at line 53 of file CbmMuchModule.h.

References fHits.

◆ GetPoints()

TClonesArray * CbmMuchModule::GetPoints ( ) const
inline

Definition at line 52 of file CbmMuchModule.h.

References fPoints.

◆ GetPosition()

TVector3 CbmMuchModule::GetPosition ( ) const
inline

◆ GetSize()

TVector3 CbmMuchModule::GetSize ( ) const
inline

Definition at line 49 of file CbmMuchModule.h.

References fSize.

◆ InitModule()

virtual Bool_t CbmMuchModule::InitModule ( )
inlinevirtual

◆ operator=()

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

References CbmMuchModule().

◆ SetClusters()

void CbmMuchModule::SetClusters ( TClonesArray * clusters)
inline

Definition at line 61 of file CbmMuchModule.h.

References fClusters.

Referenced by CbmMuchGeoScheme::CreateClusterArrays().

◆ SetHits()

void CbmMuchModule::SetHits ( TClonesArray * hits)
inline

Definition at line 60 of file CbmMuchModule.h.

References fHits, and hits.

Referenced by CbmMuchGeoScheme::CreateHitArrays().

◆ SetPoints()

void CbmMuchModule::SetPoints ( TClonesArray * points)
inline

Definition at line 59 of file CbmMuchModule.h.

References fPoints, and points.

Member Data Documentation

◆ fClusters

TClonesArray* CbmMuchModule::fClusters
protected

Definition at line 77 of file CbmMuchModule.h.

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

◆ fCutRadius

Double_t CbmMuchModule::fCutRadius
protected

Definition at line 72 of file CbmMuchModule.h.

Referenced by CbmMuchModule(), CbmMuchModule(), and GetCutRadius().

◆ fDetectorId

Int_t CbmMuchModule::fDetectorId
protected

Definition at line 70 of file CbmMuchModule.h.

Referenced by CbmMuchModule(), CbmMuchModule(), and GetDetectorId().

◆ fDetectorType

◆ fDigis

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

Definition at line 78 of file CbmMuchModule.h.

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

◆ fHits

TClonesArray* CbmMuchModule::fHits
protected

Definition at line 76 of file CbmMuchModule.h.

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

◆ fPoints

TClonesArray* CbmMuchModule::fPoints
protected

Definition at line 75 of file CbmMuchModule.h.

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

◆ fPosition

◆ fSize


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