CbmRoot
CbmTrdModuleRec Class Referenceabstract

Abstract class for module wise cluster finding and hit reconstruction. More...

#include <CbmTrdModuleRec.h>

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

Public Member Functions

 CbmTrdModuleRec ()
 Default constructor. More...
 
 CbmTrdModuleRec (Int_t mod, Int_t ly=-1, Int_t rot=0)
 Constructor with placement. More...
 
virtual ~CbmTrdModuleRec ()
 
virtual Bool_t AddDigi (const CbmTrdDigi *, Int_t)
 Add digi to local module. More...
 
virtual void Clear (Option_t *opt="")
 Clear local storage. More...
 
virtual Bool_t Finalize ()
 Reconstruct physics observables on hits. More...
 
virtual Int_t FindClusters ()=0
 Steering routine for finding digits clusters. More...
 
virtual Int_t GetOverThreshold () const
 
virtual TClonesArray * GetClusters ()
 
virtual const TClonesArray * GetClusters () const
 
virtual TClonesArray * GetHits ()
 
virtual const TClonesArray * GetHits () const
 
virtual Bool_t MakeHits ()=0
 Steering routine for building hits. More...
 
virtual CbmTrdHitMakeHit (Int_t cId, const CbmTrdCluster *c, std::vector< const CbmTrdDigi * > *digis)=0
 Steering routine for converting cluster to hit. More...
 
virtual Double_t GetDx () const
 Shortcut getter size x/2 [cm]. More...
 
virtual Double_t GetDy () const
 Shortcut getter size y/2 [cm]. More...
 
virtual Double_t GetDz () const
 Shortcut getter size z/2 [cm]. More...
 
virtual Int_t GetNasics () const
 Shortcut getter ASICs number module wise. More...
 
virtual Int_t GetNcols () const
 Shortcut getter column size. More...
 
virtual Int_t GetNrows () const
 Shortcut getter row wise. More...
 
virtual Int_t GetAsicAddress (Int_t id) const
 Addressing ASIC on module based on id. More...
 
virtual Int_t GetPadAddress (Int_t r, Int_t c) const
 Addressing read-out pads on module based on (row,col) More...
 
virtual Int_t GetPadRowCol (Int_t address, Int_t &c) const
 Addressing read-out pads based on module address. More...
 
virtual const Char_t * GetPath () const
 
virtual void LocalToMaster (Double_t in[3], Double_t out[3])
 
virtual void SetAsicPar (CbmTrdParSetAsic *p=nullptr)
 
virtual void SetChmbPar (const CbmTrdParModGas *p)
 
virtual void SetDigiPar (const CbmTrdParModDigi *p)
 
virtual void SetGainPar (const CbmTrdParModGain *p)
 
virtual void SetGeoPar (const CbmTrdParModGeo *p)
 

Protected Attributes

UInt_t fCalled
 counter for the number of calls More...
 
TClonesArray * fClusters
 module wise storage of reconstructed cluster More...
 
TClonesArray * fHits
 module wise storage of reconstructed hits More...
 
UShort_t fModAddress
 unique identifier for current module More...
 
Char_t fLayerId
 layer identifier More...
 
UChar_t fRotation
 rotation angle for current module More...
 
const CbmTrdParModDigifDigiPar
 read-out description of module More...
 
const CbmTrdParModGasfChmbPar
 detection description (HV, drift) of module More...
 
CbmTrdParSetAsicfAsicPar
 the set of ASIC operating on the module (owned) More...
 
const CbmTrdParModGainfGainPar
 Analog to digital conversion for module. More...
 
const CbmTrdParModGeofGeoPar
 link to gGeometry for module More...
 

Private Member Functions

 CbmTrdModuleRec (const CbmTrdModuleRec &ref)
 
const CbmTrdModuleRecoperator= (const CbmTrdModuleRec &ref)
 

Detailed Description

Abstract class for module wise cluster finding and hit reconstruction.

Definition at line 16 of file CbmTrdModuleRec.h.

Constructor & Destructor Documentation

◆ CbmTrdModuleRec() [1/3]

CbmTrdModuleRec::CbmTrdModuleRec ( )

Default constructor.

Definition at line 6 of file CbmTrdModuleRec.cxx.

◆ CbmTrdModuleRec() [2/3]

CbmTrdModuleRec::CbmTrdModuleRec ( Int_t  mod,
Int_t  ly = -1,
Int_t  rot = 0 
)

Constructor with placement.

Definition at line 13 of file CbmTrdModuleRec.cxx.

◆ ~CbmTrdModuleRec()

CbmTrdModuleRec::~CbmTrdModuleRec ( )
virtual

Definition at line 20 of file CbmTrdModuleRec.cxx.

References fClusters, and fHits.

◆ CbmTrdModuleRec() [3/3]

CbmTrdModuleRec::CbmTrdModuleRec ( const CbmTrdModuleRec ref)
private

Member Function Documentation

◆ AddDigi()

virtual Bool_t CbmTrdModuleRec::AddDigi ( const CbmTrdDigi ,
Int_t   
)
inlinevirtual

Add digi to local module.

Reimplemented in CbmTrdModuleRecT, and CbmTrdModuleRecR.

Definition at line 32 of file CbmTrdModuleRec.h.

Referenced by CbmTrdClusterFinder::Exec().

◆ Clear()

void CbmTrdModuleRec::Clear ( Option_t *  opt = "")
virtual

Clear local storage.

Reimplemented in CbmTrdModuleRecR.

Definition at line 32 of file CbmTrdModuleRec.cxx.

References fCalled, fClusters, and fHits.

Referenced by CbmTrdModuleRecR::Clear().

◆ Finalize()

virtual Bool_t CbmTrdModuleRec::Finalize ( )
inlinevirtual

Reconstruct physics observables on hits.

Reimplemented in CbmTrdModuleRecT.

Definition at line 42 of file CbmTrdModuleRec.h.

Referenced by CbmTrdHitProducer::Exec().

◆ FindClusters()

virtual Int_t CbmTrdModuleRec::FindClusters ( )
pure virtual

Steering routine for finding digits clusters.

Implemented in CbmTrdModuleRecT, and CbmTrdModuleRecR.

Referenced by CbmTrdClusterFinder::Exec().

◆ GetAsicAddress()

virtual Int_t CbmTrdModuleAbstract::GetAsicAddress ( Int_t  id) const
inlinevirtualinherited

Addressing ASIC on module based on id.

Parameters
[in]idmodule wise ASIC identifier
Returns
ASIC address within experiment

Definition at line 49 of file CbmTrdModuleAbstract.h.

References CbmTrdModuleAbstract::fModAddress.

◆ GetClusters() [1/2]

virtual TClonesArray* CbmTrdModuleRec::GetClusters ( )
inlinevirtual

Definition at line 48 of file CbmTrdModuleRec.h.

References fClusters.

Referenced by CbmTrdClusterFinder::Exec().

◆ GetClusters() [2/2]

virtual const TClonesArray* CbmTrdModuleRec::GetClusters ( ) const
inlinevirtual

Definition at line 49 of file CbmTrdModuleRec.h.

References fClusters.

◆ GetDx()

virtual Double_t CbmTrdModuleAbstract::GetDx ( ) const
inlinevirtualinherited

Shortcut getter size x/2 [cm].

Definition at line 28 of file CbmTrdModuleAbstract.h.

References CbmTrdModuleAbstract::fGeoPar, and CbmTrdParModGeo::GetDX().

Referenced by CbmTrdModuleSimR::SetAsicPar().

◆ GetDy()

virtual Double_t CbmTrdModuleAbstract::GetDy ( ) const
inlinevirtualinherited

Shortcut getter size y/2 [cm].

Definition at line 30 of file CbmTrdModuleAbstract.h.

References CbmTrdModuleAbstract::fGeoPar, and CbmTrdParModGeo::GetDY().

Referenced by CbmTrdModuleSimR::SetAsicPar().

◆ GetDz()

virtual Double_t CbmTrdModuleAbstract::GetDz ( ) const
inlinevirtualinherited

Shortcut getter size z/2 [cm].

Definition at line 32 of file CbmTrdModuleAbstract.h.

References CbmTrdModuleAbstract::fGeoPar, and CbmTrdParModGeo::GetDZ().

◆ GetHits() [1/2]

virtual TClonesArray* CbmTrdModuleRec::GetHits ( )
inlinevirtual

Definition at line 50 of file CbmTrdModuleRec.h.

References fHits.

Referenced by CbmTrdHitProducer::Exec().

◆ GetHits() [2/2]

virtual const TClonesArray* CbmTrdModuleRec::GetHits ( ) const
inlinevirtual

Definition at line 51 of file CbmTrdModuleRec.h.

References fHits.

◆ GetNasics()

virtual Int_t CbmTrdModuleAbstract::GetNasics ( ) const
inlinevirtualinherited

Shortcut getter ASICs number module wise.

Definition at line 34 of file CbmTrdModuleAbstract.h.

References CbmTrdModuleAbstract::fAsicPar, and CbmTrdParSetAsic::GetNofAsics().

◆ GetNcols()

virtual Int_t CbmTrdModuleAbstract::GetNcols ( ) const
inlinevirtualinherited

◆ GetNrows()

virtual Int_t CbmTrdModuleAbstract::GetNrows ( ) const
inlinevirtualinherited

Shortcut getter row wise.

Definition at line 42 of file CbmTrdModuleAbstract.h.

References CbmTrdModuleAbstract::fDigiPar, and CbmTrdParModDigi::GetNofRows().

◆ GetOverThreshold()

virtual Int_t CbmTrdModuleRec::GetOverThreshold ( ) const
inlinevirtual

Reimplemented in CbmTrdModuleRecT, and CbmTrdModuleRecR.

Definition at line 47 of file CbmTrdModuleRec.h.

Referenced by CbmTrdClusterFinder::Exec().

◆ GetPadAddress()

virtual Int_t CbmTrdModuleAbstract::GetPadAddress ( Int_t  r,
Int_t  c 
) const
inlinevirtualinherited

Addressing read-out pads on module based on (row,col)

Parameters
[in]rglobal row id (not sector wise)
[in]cglobal column id
Returns
pad address within module

Definition at line 57 of file CbmTrdModuleAbstract.h.

References CbmTrdModuleAbstract::GetNcols().

Referenced by CbmTrdModuleSimT::ScanPadPlane().

◆ GetPadRowCol()

Int_t CbmTrdModuleAbstract::GetPadRowCol ( Int_t  address,
Int_t &  c 
) const
inlinevirtualinherited

Addressing read-out pads based on module address.

Parameters
[in]addresspad address within module
[in]con return global column id
Returns
global row address within module

Definition at line 100 of file CbmTrdModuleAbstract.h.

References CbmTrdModuleAbstract::fDigiPar, and CbmTrdModuleAbstract::GetNcols().

Referenced by CbmTrdModuleRecT::AddDigi(), CbmTrdModuleSimT::FlushBuffer(), CbmTrdModuleRecT::LoadDigis(), CbmTrdModuleRecT::MakeHit(), and CbmTrdModuleRecT::MergeDigis().

◆ GetPath()

virtual const Char_t* CbmTrdModuleAbstract::GetPath ( ) const
inlinevirtualinherited

◆ LocalToMaster()

void CbmTrdModuleAbstract::LocalToMaster ( Double_t  in[3],
Double_t  out[3] 
)
virtualinherited

◆ MakeHit()

virtual CbmTrdHit* CbmTrdModuleRec::MakeHit ( Int_t  cId,
const CbmTrdCluster c,
std::vector< const CbmTrdDigi * > *  digis 
)
pure virtual

Steering routine for converting cluster to hit.

Implemented in CbmTrdModuleRecR, and CbmTrdModuleRecT.

Referenced by CbmTrdHitProducer::Exec().

◆ MakeHits()

virtual Bool_t CbmTrdModuleRec::MakeHits ( )
pure virtual

Steering routine for building hits.

Implemented in CbmTrdModuleRecT, and CbmTrdModuleRecR.

◆ operator=()

const CbmTrdModuleRec& CbmTrdModuleRec::operator= ( const CbmTrdModuleRec ref)
private

◆ SetAsicPar()

virtual void CbmTrdModuleAbstract::SetAsicPar ( CbmTrdParSetAsic p = nullptr)
inlinevirtualinherited

◆ SetChmbPar()

virtual void CbmTrdModuleAbstract::SetChmbPar ( const CbmTrdParModGas p)
inlinevirtualinherited

◆ SetDigiPar()

virtual void CbmTrdModuleAbstract::SetDigiPar ( const CbmTrdParModDigi p)
inlinevirtualinherited

◆ SetGainPar()

virtual void CbmTrdModuleAbstract::SetGainPar ( const CbmTrdParModGain p)
inlinevirtualinherited

◆ SetGeoPar()

virtual void CbmTrdModuleAbstract::SetGeoPar ( const CbmTrdParModGeo p)
inlinevirtualinherited

Member Data Documentation

◆ fAsicPar

◆ fCalled

UInt_t CbmTrdModuleRec::fCalled
protected

counter for the number of calls

Definition at line 65 of file CbmTrdModuleRec.h.

Referenced by Clear().

◆ fChmbPar

const CbmTrdParModGas* CbmTrdModuleAbstract::fChmbPar
protectedinherited

detection description (HV, drift) of module

Definition at line 85 of file CbmTrdModuleAbstract.h.

Referenced by CbmTrdModuleSimT::MakeDigi(), and CbmTrdModuleAbstract::SetChmbPar().

◆ fClusters

TClonesArray* CbmTrdModuleRec::fClusters
protected

module wise storage of reconstructed cluster

Definition at line 66 of file CbmTrdModuleRec.h.

Referenced by CbmTrdModuleRecR::addClusters(), Clear(), GetClusters(), and ~CbmTrdModuleRec().

◆ fDigiPar

◆ fGainPar

const CbmTrdParModGain* CbmTrdModuleAbstract::fGainPar
protectedinherited

Analog to digital conversion for module.

Definition at line 89 of file CbmTrdModuleAbstract.h.

Referenced by CbmTrdModuleAbstract::SetGainPar().

◆ fGeoPar

◆ fHits

TClonesArray* CbmTrdModuleRec::fHits
protected

module wise storage of reconstructed hits

Definition at line 67 of file CbmTrdModuleRec.h.

Referenced by Clear(), GetHits(), CbmTrdModuleRecR::MakeHit(), CbmTrdModuleRecT::MakeHit(), and ~CbmTrdModuleRec().

◆ fLayerId

Char_t CbmTrdModuleAbstract::fLayerId
protectedinherited

◆ fModAddress

◆ fRotation

UChar_t CbmTrdModuleAbstract::fRotation
protectedinherited

rotation angle for current module

Definition at line 80 of file CbmTrdModuleAbstract.h.


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