CbmRoot
CbmClusteringGeometry Class Reference

#include <CbmClusteringGeometry.h>

Collaboration diagram for CbmClusteringGeometry:
[legend]

Classes

struct  PadInformation
 

Public Member Functions

 CbmClusteringGeometry ()
 
 CbmClusteringGeometry (Int_t nStation, Int_t nLayer, Bool_t nSide, Int_t nModule, CbmMuchGeoScheme *scheme)
 
void CbmClusteringSetPad (Int_t nPad, Float_t x, Float_t y, Float_t dx, Float_t dy, Double_t phi1, Double_t phi2, Float_t r1, Float_t r2, Int_t digiNum, UInt_t charge, Long64_t chID)
 
virtual ~CbmClusteringGeometry ()
 
void SetMuchModuleGeometryRadial (Int_t nStation, Int_t nLayer, Bool_t nSide, Int_t nModule, CbmMuchGeoScheme *scheme)
 
void SetMuchModuleGeometryRadialFast (Int_t nStation, Int_t nLayer, Bool_t nSide, Int_t nModule, CbmMuchGeoScheme *scheme)
 
Int_t GetDetId () const
 
Int_t GetNPads () const
 
Int_t GetAPadsNom () const
 
void SetAPadsNom (Int_t nPads)
 
void SetAPadsPlusOne ()
 
Float_t GetDx (Int_t iPad)
 
Float_t GetDy (Int_t iPad)
 
Float_t GetX0 (Int_t iPad)
 
Float_t GetY0 (Int_t iPad)
 
Int_t GetDigiNum (Int_t iPad)
 
void SetDigiNum (Int_t iPad, Int_t iDigi)
 
Int_t GetNeighborsNum (Int_t iPad)
 
Int_t GetGoodNeighborsNum (Int_t iPad)
 
Int_t GetNeighbor (Int_t iPad, Int_t iNeighbor)
 
Long64_t GetPadID (Int_t iPad)
 
UInt_t GetPadCharge (Int_t iPad)
 
void SetPadCharge (Int_t iPad, UInt_t iCharge)
 
Int_t GetPadByChannelId (Long64_t chId)
 
Double_t GetPhi1 (Int_t iPad)
 
Double_t GetPhi2 (Int_t iPad)
 
Float_t GetR1 (Int_t iPad)
 
Float_t GetR2 (Int_t iPad)
 
std::vector< Int_t > GetNeighbors (Int_t iPad)
 
Long64_t GetChannelID (Int_t iPad)
 

Private Member Functions

template<typename T1 >
T1 GetMin (T1 &a, T1 &b)
 
template<typename T2 >
T2 GetMax (T2 &a, T2 &b)
 
Bool_t SubEqual (Double_t x1, Double_t x2, Double_t l)
 
 CbmClusteringGeometry (const CbmClusteringGeometry &)
 
CbmClusteringGeometryoperator= (const CbmClusteringGeometry &)
 

Private Attributes

Long64_t fNofPads
 
Int_t fDetId
 
Int_t fNofActivePads
 
std::map< Long64_t, Int_t > fPadByChannelId
 
PadInformationfPadList
 

Detailed Description

Definition at line 17 of file CbmClusteringGeometry.h.

Constructor & Destructor Documentation

◆ CbmClusteringGeometry() [1/3]

CbmClusteringGeometry::CbmClusteringGeometry ( )

Definition at line 39 of file CbmClusteringGeometry.cxx.

References fNofActivePads, and fNofPads.

◆ CbmClusteringGeometry() [2/3]

CbmClusteringGeometry::CbmClusteringGeometry ( Int_t  nStation,
Int_t  nLayer,
Bool_t  nSide,
Int_t  nModule,
CbmMuchGeoScheme scheme 
)

Definition at line 44 of file CbmClusteringGeometry.cxx.

References SetMuchModuleGeometryRadialFast().

◆ ~CbmClusteringGeometry()

CbmClusteringGeometry::~CbmClusteringGeometry ( )
virtual

Definition at line 98 of file CbmClusteringGeometry.cxx.

References fPadList.

◆ CbmClusteringGeometry() [3/3]

CbmClusteringGeometry::CbmClusteringGeometry ( const CbmClusteringGeometry )
private

Member Function Documentation

◆ CbmClusteringSetPad()

◆ GetAPadsNom()

Int_t CbmClusteringGeometry::GetAPadsNom ( ) const
inline

◆ GetChannelID()

Long64_t CbmClusteringGeometry::GetChannelID ( Int_t  iPad)

◆ GetDetId()

Int_t CbmClusteringGeometry::GetDetId ( ) const
inline

Definition at line 51 of file CbmClusteringGeometry.h.

References fDetId.

◆ GetDigiNum()

Int_t CbmClusteringGeometry::GetDigiNum ( Int_t  iPad)

◆ GetDx()

Float_t CbmClusteringGeometry::GetDx ( Int_t  iPad)

◆ GetDy()

Float_t CbmClusteringGeometry::GetDy ( Int_t  iPad)

◆ GetGoodNeighborsNum()

◆ GetMax()

template<typename T2 >
T2 CbmClusteringGeometry::GetMax ( T2 &  a,
T2 &  b 
)
private

Definition at line 419 of file CbmClusteringGeometry.cxx.

Referenced by SetMuchModuleGeometryRadial().

◆ GetMin()

template<typename T1 >
T1 CbmClusteringGeometry::GetMin ( T1 &  a,
T1 &  b 
)
private

Definition at line 410 of file CbmClusteringGeometry.cxx.

Referenced by SetMuchModuleGeometryRadial().

◆ GetNeighbor()

◆ GetNeighbors()

vector< Int_t > CbmClusteringGeometry::GetNeighbors ( Int_t  iPad)

◆ GetNeighborsNum()

Int_t CbmClusteringGeometry::GetNeighborsNum ( Int_t  iPad)

◆ GetNPads()

Int_t CbmClusteringGeometry::GetNPads ( ) const
inline

◆ GetPadByChannelId()

Int_t CbmClusteringGeometry::GetPadByChannelId ( Long64_t  chId)

Definition at line 436 of file CbmClusteringGeometry.cxx.

References fPadByChannelId.

◆ GetPadCharge()

◆ GetPadID()

Long64_t CbmClusteringGeometry::GetPadID ( Int_t  iPad)

◆ GetPhi1()

Double_t CbmClusteringGeometry::GetPhi1 ( Int_t  iPad)

◆ GetPhi2()

Double_t CbmClusteringGeometry::GetPhi2 ( Int_t  iPad)

◆ GetR1()

Float_t CbmClusteringGeometry::GetR1 ( Int_t  iPad)

◆ GetR2()

Float_t CbmClusteringGeometry::GetR2 ( Int_t  iPad)

◆ GetX0()

◆ GetY0()

◆ operator=()

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

◆ SetAPadsNom()

void CbmClusteringGeometry::SetAPadsNom ( Int_t  nPads)

Definition at line 405 of file CbmClusteringGeometry.cxx.

References fNofActivePads.

◆ SetAPadsPlusOne()

void CbmClusteringGeometry::SetAPadsPlusOne ( )

Definition at line 407 of file CbmClusteringGeometry.cxx.

References fNofActivePads.

◆ SetDigiNum()

void CbmClusteringGeometry::SetDigiNum ( Int_t  iPad,
Int_t  iDigi 
)

◆ SetMuchModuleGeometryRadial()

◆ SetMuchModuleGeometryRadialFast()

◆ SetPadCharge()

void CbmClusteringGeometry::SetPadCharge ( Int_t  iPad,
UInt_t  iCharge 
)

◆ SubEqual()

Bool_t CbmClusteringGeometry::SubEqual ( Double_t  x1,
Double_t  x2,
Double_t  l 
)
private

Definition at line 427 of file CbmClusteringGeometry.cxx.

Referenced by SetMuchModuleGeometryRadialFast().

Member Data Documentation

◆ fDetId

Int_t CbmClusteringGeometry::fDetId
private

◆ fNofActivePads

Int_t CbmClusteringGeometry::fNofActivePads
private

◆ fNofPads

Long64_t CbmClusteringGeometry::fNofPads
private

◆ fPadByChannelId

std::map<Long64_t, Int_t> CbmClusteringGeometry::fPadByChannelId
private

◆ fPadList


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