BmnRoot
Loading...
Searching...
No Matches
BmnZdcDigiScheme Class Reference

#include <BmnZdcDigiScheme.h>

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

Public Member Functions

 BmnZdcDigiScheme ()
 
virtual ~BmnZdcDigiScheme ()
 
Bool_t Init (BmnZdcGeoPar *geoPar, BmnZdcDigiPar *digiPar, Int_t pVerbose=0)
 
Bool_t AddNodes (TObjArray *sensNodes, Int_t pVerbose=0)
 
Bool_t CalcDimensions (Int_t pGlobalDetectorNumber, Int_t &nx, Int_t &ny, Int_t &nz)
 
BmnZdcVolId_tCreateVolElement (FairGeoNode *nod, Int_t nodeNumber, BmnZdcDigiId_t *right, Int_t pVerbose)
 
Bool_t CreateVolCopyElements (BmnZdcVolId_t *left, BmnZdcDigiId_t *right)
 
BmnZdcVolInfo_tCreateVolInfoElement (FairGeoNode *nod, Int_t pVerbose)
 
Bool_t CreateVolInfoCopyElements (BmnZdcDigiId_t *right, BmnZdcVolInfo_t *volInfo)
 
Bool_t IsVolumeExist (BmnZdcVolId_t *pVolId)
 
BmnZdcDigiId_t GetDigiId (BmnZdcVolId_t *pVolId)
 
Int_t GetGroupID (BmnZdcVolId_t *pVolId)
 
Int_t GetChannelID (BmnZdcVolId_t *pVolId)
 
Bool_t GetGroupIdModIdChanId (Int_t pMcVolumeNumber, Int_t pMcCopyNumber, Int_t pMotherCopyNumber, Int_t pMotherMotherCopyNumber, Int_t &pGroupId, Int_t &pChanId, Int_t &pModId)
 
Bool_t GetVolCenterXYZ (BmnZdcDigiId_t *pDigiId, Double_t &x, Double_t &y, Double_t &z)
 
Bool_t GetVolDxDyDz (BmnZdcDigiId_t *pDigiId, Double_t &Dx, Double_t &Dy, Double_t &Dz)
 
BmnZdcVolInfo_tGetVolInfo (BmnZdcVolId_t *pVolId)
 
void Print ()
 
void PrintVolume (Int_t volID, Int_t copyNoMotherMother=1)
 
void GetZdcDimensions (Int_t &nx, Int_t &ny, Int_t &nz)
 
BmnZdcDigiId_t GetDigiIdFromCoords (Double_t x, Double_t y, Double_t z)
 
BmnZdcDigiId_t GetDigiIdFromVolumeData (Int_t pMcVolumeNumber, Int_t pMotherMotherCopyNumber)
 
void SplitDigiID (BmnZdcDigiId_t digiID, Int_t &module_groupID, Int_t &modID, Int_t &chanID)
 
BmnZdcDigiParGetZdcDigiPar ()
 
 BmnZdcDigiScheme ()
 
virtual ~BmnZdcDigiScheme ()
 
Bool_t Init (BmnZdcGeoPar *geoPar, BmnZdcDigiPar *digiPar, Int_t pVerbose=0)
 
Bool_t AddNodes (TObjArray *sensNodes, Int_t pVerbose=0)
 
Bool_t CalcDimensions (Int_t pGlobalDetectorNumber, Int_t &nx, Int_t &ny, Int_t &nz)
 
BmnZdcVolId_tCreateVolElement (FairGeoNode *nod, Int_t nodeNumber, BmnZdcDigiId_t *right, Int_t pVerbose)
 
Bool_t CreateVolCopyElements (BmnZdcVolId_t *left, BmnZdcDigiId_t *right)
 
BmnZdcVolInfo_tCreateVolInfoElement (FairGeoNode *nod, Int_t pVerbose)
 
Bool_t CreateVolInfoCopyElements (BmnZdcDigiId_t *right, BmnZdcVolInfo_t *volInfo)
 
Bool_t IsVolumeExist (BmnZdcVolId_t *pVolId)
 
BmnZdcDigiId_t GetDigiId (BmnZdcVolId_t *pVolId)
 
Int_t GetGroupID (BmnZdcVolId_t *pVolId)
 
Int_t GetChannelID (BmnZdcVolId_t *pVolId)
 
Bool_t GetGroupIdModIdChanId (Int_t pMcVolumeNumber, Int_t pMcCopyNumber, Int_t pMotherCopyNumber, Int_t pMotherMotherCopyNumber, Int_t &pGroupId, Int_t &pChanId, Int_t &pModId)
 
Bool_t GetVolCenterXYZ (BmnZdcDigiId_t *pDigiId, Double_t &x, Double_t &y, Double_t &z)
 
Bool_t GetVolDxDyDz (BmnZdcDigiId_t *pDigiId, Double_t &Dx, Double_t &Dy, Double_t &Dz)
 
BmnZdcVolInfo_tGetVolInfo (BmnZdcVolId_t *pVolId)
 
void Print ()
 
void PrintVolume (Int_t volID, Int_t copyNoMotherMother=1)
 
void GetZdcDimensions (Int_t &nx, Int_t &ny, Int_t &nz)
 
BmnZdcDigiId_t GetDigiIdFromCoords (Double_t x, Double_t y, Double_t z)
 
BmnZdcDigiId_t GetDigiIdFromVolumeData (Int_t pMcVolumeNumber, Int_t pMotherMotherCopyNumber)
 
void SplitDigiID (BmnZdcDigiId_t digiID, Int_t &module_groupID, Int_t &modID, Int_t &chanID)
 
BmnZdcDigiParGetZdcDigiPar ()
 

Static Public Member Functions

static BmnZdcDigiSchemeInstance ()
 
static BmnZdcDigiSchemeInstance ()
 

Static Protected Attributes

static BmnZdcDigiSchemefInstance = 0
 
static Int_t fRefcount = 0
 
static Bool_t fInitialized = 0
 

Detailed Description

Definition at line 29 of file BmnZdcDigiScheme.h.

Constructor & Destructor Documentation

◆ BmnZdcDigiScheme() [1/2]

BmnZdcDigiScheme::BmnZdcDigiScheme ( )

Definition at line 30 of file BmnZdcDigiScheme.cxx.

Referenced by Instance().

◆ ~BmnZdcDigiScheme() [1/2]

BmnZdcDigiScheme::~BmnZdcDigiScheme ( )
virtual

Definition at line 38 of file BmnZdcDigiScheme.cxx.

References fInstance, and fRefcount.

◆ BmnZdcDigiScheme() [2/2]

BmnZdcDigiScheme::BmnZdcDigiScheme ( )

◆ ~BmnZdcDigiScheme() [2/2]

virtual BmnZdcDigiScheme::~BmnZdcDigiScheme ( )
virtual

Member Function Documentation

◆ AddNodes() [1/2]

Bool_t BmnZdcDigiScheme::AddNodes ( TObjArray *  sensNodes,
Int_t  pVerbose = 0 
)

Definition at line 209 of file BmnZdcDigiScheme.cxx.

References CreateVolElement(), and CreateVolInfoElement().

Referenced by Init().

◆ AddNodes() [2/2]

Bool_t BmnZdcDigiScheme::AddNodes ( TObjArray *  sensNodes,
Int_t  pVerbose = 0 
)

◆ CalcDimensions() [1/2]

Bool_t BmnZdcDigiScheme::CalcDimensions ( Int_t  pGlobalDetectorNumber,
Int_t &  nx,
Int_t &  ny,
Int_t &  nz 
)

Definition at line 483 of file BmnZdcDigiScheme.cxx.

Referenced by Init().

◆ CalcDimensions() [2/2]

Bool_t BmnZdcDigiScheme::CalcDimensions ( Int_t  pGlobalDetectorNumber,
Int_t &  nx,
Int_t &  ny,
Int_t &  nz 
)

◆ CreateVolCopyElements() [1/2]

Bool_t BmnZdcDigiScheme::CreateVolCopyElements ( BmnZdcVolId_t left,
BmnZdcDigiId_t right 
)

Definition at line 272 of file BmnZdcDigiScheme.cxx.

◆ CreateVolCopyElements() [2/2]

Bool_t BmnZdcDigiScheme::CreateVolCopyElements ( BmnZdcVolId_t left,
BmnZdcDigiId_t right 
)

◆ CreateVolElement() [1/2]

BmnZdcVolId_t * BmnZdcDigiScheme::CreateVolElement ( FairGeoNode *  nod,
Int_t  nodeNumber,
BmnZdcDigiId_t right,
Int_t  pVerbose 
)

Definition at line 158 of file BmnZdcDigiScheme.cxx.

Referenced by AddNodes().

◆ CreateVolElement() [2/2]

BmnZdcVolId_t * BmnZdcDigiScheme::CreateVolElement ( FairGeoNode *  nod,
Int_t  nodeNumber,
BmnZdcDigiId_t right,
Int_t  pVerbose 
)

◆ CreateVolInfoCopyElements() [1/2]

Bool_t BmnZdcDigiScheme::CreateVolInfoCopyElements ( BmnZdcDigiId_t right,
BmnZdcVolInfo_t volInfo 
)

Definition at line 308 of file BmnZdcDigiScheme.cxx.

◆ CreateVolInfoCopyElements() [2/2]

Bool_t BmnZdcDigiScheme::CreateVolInfoCopyElements ( BmnZdcDigiId_t right,
BmnZdcVolInfo_t volInfo 
)

◆ CreateVolInfoElement() [1/2]

BmnZdcVolInfo_t * BmnZdcDigiScheme::CreateVolInfoElement ( FairGeoNode *  nod,
Int_t  pVerbose 
)

Definition at line 101 of file BmnZdcDigiScheme.cxx.

References i.

Referenced by AddNodes().

◆ CreateVolInfoElement() [2/2]

BmnZdcVolInfo_t * BmnZdcDigiScheme::CreateVolInfoElement ( FairGeoNode *  nod,
Int_t  pVerbose 
)

◆ GetChannelID() [1/2]

Int_t BmnZdcDigiScheme::GetChannelID ( BmnZdcVolId_t pVolId)

Definition at line 428 of file BmnZdcDigiScheme.cxx.

References GetDigiId().

◆ GetChannelID() [2/2]

Int_t BmnZdcDigiScheme::GetChannelID ( BmnZdcVolId_t pVolId)

◆ GetDigiId() [1/2]

BmnZdcDigiId_t BmnZdcDigiScheme::GetDigiId ( BmnZdcVolId_t pVolId)

◆ GetDigiId() [2/2]

BmnZdcDigiId_t BmnZdcDigiScheme::GetDigiId ( BmnZdcVolId_t pVolId)

◆ GetDigiIdFromCoords() [1/2]

BmnZdcDigiId_t BmnZdcDigiScheme::GetDigiIdFromCoords ( Double_t  x,
Double_t  y,
Double_t  z 
)

Definition at line 542 of file BmnZdcDigiScheme.cxx.

◆ GetDigiIdFromCoords() [2/2]

BmnZdcDigiId_t BmnZdcDigiScheme::GetDigiIdFromCoords ( Double_t  x,
Double_t  y,
Double_t  z 
)

◆ GetDigiIdFromVolumeData() [1/2]

BmnZdcDigiId_t BmnZdcDigiScheme::GetDigiIdFromVolumeData ( Int_t  pMcVolumeNumber,
Int_t  pMotherMotherCopyNumber 
)

◆ GetDigiIdFromVolumeData() [2/2]

BmnZdcDigiId_t BmnZdcDigiScheme::GetDigiIdFromVolumeData ( Int_t  pMcVolumeNumber,
Int_t  pMotherMotherCopyNumber 
)

◆ GetGroupID() [1/2]

Int_t BmnZdcDigiScheme::GetGroupID ( BmnZdcVolId_t pVolId)

Definition at line 419 of file BmnZdcDigiScheme.cxx.

References GetDigiId().

◆ GetGroupID() [2/2]

Int_t BmnZdcDigiScheme::GetGroupID ( BmnZdcVolId_t pVolId)

◆ GetGroupIdModIdChanId() [1/2]

Bool_t BmnZdcDigiScheme::GetGroupIdModIdChanId ( Int_t  pMcVolumeNumber,
Int_t  pMcCopyNumber,
Int_t  pMotherCopyNumber,
Int_t  pMotherMotherCopyNumber,
Int_t &  pGroupId,
Int_t &  pChanId,
Int_t &  pModId 
)

Definition at line 601 of file BmnZdcDigiScheme.cxx.

References GetDigiId().

◆ GetGroupIdModIdChanId() [2/2]

Bool_t BmnZdcDigiScheme::GetGroupIdModIdChanId ( Int_t  pMcVolumeNumber,
Int_t  pMcCopyNumber,
Int_t  pMotherCopyNumber,
Int_t  pMotherMotherCopyNumber,
Int_t &  pGroupId,
Int_t &  pChanId,
Int_t &  pModId 
)

◆ GetVolCenterXYZ() [1/2]

Bool_t BmnZdcDigiScheme::GetVolCenterXYZ ( BmnZdcDigiId_t pDigiId,
Double_t &  x,
Double_t &  y,
Double_t &  z 
)

Definition at line 355 of file BmnZdcDigiScheme.cxx.

◆ GetVolCenterXYZ() [2/2]

Bool_t BmnZdcDigiScheme::GetVolCenterXYZ ( BmnZdcDigiId_t pDigiId,
Double_t &  x,
Double_t &  y,
Double_t &  z 
)

◆ GetVolDxDyDz() [1/2]

Bool_t BmnZdcDigiScheme::GetVolDxDyDz ( BmnZdcDigiId_t pDigiId,
Double_t &  Dx,
Double_t &  Dy,
Double_t &  Dz 
)

Definition at line 376 of file BmnZdcDigiScheme.cxx.

◆ GetVolDxDyDz() [2/2]

Bool_t BmnZdcDigiScheme::GetVolDxDyDz ( BmnZdcDigiId_t pDigiId,
Double_t &  Dx,
Double_t &  Dy,
Double_t &  Dz 
)

◆ GetVolInfo() [1/2]

BmnZdcVolInfo_t * BmnZdcDigiScheme::GetVolInfo ( BmnZdcVolId_t pVolId)

Definition at line 437 of file BmnZdcDigiScheme.cxx.

References GetDigiId(), and IsVolumeExist().

Referenced by PrintVolume().

◆ GetVolInfo() [2/2]

BmnZdcVolInfo_t * BmnZdcDigiScheme::GetVolInfo ( BmnZdcVolId_t pVolId)

◆ GetZdcDigiPar() [1/2]

BmnZdcDigiPar * BmnZdcDigiScheme::GetZdcDigiPar ( )
inline

Definition at line 68 of file BmnZdcDigiScheme.h.

Referenced by BmnZdcDigi::InitStatic().

◆ GetZdcDigiPar() [2/2]

BmnZdcDigiPar * BmnZdcDigiScheme::GetZdcDigiPar ( )
inline

Definition at line 68 of file BmnZdcDigiScheme.h.

◆ GetZdcDimensions() [1/2]

void BmnZdcDigiScheme::GetZdcDimensions ( Int_t &  nx,
Int_t &  ny,
Int_t &  nz 
)

Definition at line 534 of file BmnZdcDigiScheme.cxx.

◆ GetZdcDimensions() [2/2]

void BmnZdcDigiScheme::GetZdcDimensions ( Int_t &  nx,
Int_t &  ny,
Int_t &  nz 
)

◆ Init() [1/2]

Bool_t BmnZdcDigiScheme::Init ( BmnZdcGeoPar geoPar,
BmnZdcDigiPar digiPar,
Int_t  pVerbose = 0 
)

◆ Init() [2/2]

Bool_t BmnZdcDigiScheme::Init ( BmnZdcGeoPar geoPar,
BmnZdcDigiPar digiPar,
Int_t  pVerbose = 0 
)

◆ Instance() [1/2]

◆ Instance() [2/2]

static BmnZdcDigiScheme * BmnZdcDigiScheme::Instance ( )
static

◆ IsVolumeExist() [1/2]

Bool_t BmnZdcDigiScheme::IsVolumeExist ( BmnZdcVolId_t pVolId)

Definition at line 397 of file BmnZdcDigiScheme.cxx.

Referenced by GetDigiId(), GetVolInfo(), and PrintVolume().

◆ IsVolumeExist() [2/2]

Bool_t BmnZdcDigiScheme::IsVolumeExist ( BmnZdcVolId_t pVolId)

◆ Print() [1/2]

void BmnZdcDigiScheme::Print ( )

Definition at line 584 of file BmnZdcDigiScheme.cxx.

References PrintVolume().

◆ Print() [2/2]

void BmnZdcDigiScheme::Print ( )

◆ PrintVolume() [1/2]

void BmnZdcDigiScheme::PrintVolume ( Int_t  volID,
Int_t  copyNoMotherMother = 1 
)

Definition at line 455 of file BmnZdcDigiScheme.cxx.

References GetDigiId(), GetVolInfo(), and IsVolumeExist().

Referenced by Print().

◆ PrintVolume() [2/2]

void BmnZdcDigiScheme::PrintVolume ( Int_t  volID,
Int_t  copyNoMotherMother = 1 
)

◆ SplitDigiID() [1/2]

void BmnZdcDigiScheme::SplitDigiID ( BmnZdcDigiId_t  digiID,
Int_t &  module_groupID,
Int_t &  modID,
Int_t &  chanID 
)

◆ SplitDigiID() [2/2]

void BmnZdcDigiScheme::SplitDigiID ( BmnZdcDigiId_t  digiID,
Int_t &  module_groupID,
Int_t &  modID,
Int_t &  chanID 
)

Member Data Documentation

◆ fInitialized

static Bool_t BmnZdcDigiScheme::fInitialized = 0
staticprotected

Definition at line 74 of file BmnZdcDigiScheme.h.

Referenced by Init().

◆ fInstance

static BmnZdcDigiScheme * BmnZdcDigiScheme::fInstance = 0
staticprotected

Definition at line 72 of file BmnZdcDigiScheme.h.

Referenced by Instance(), and ~BmnZdcDigiScheme().

◆ fRefcount

static Int_t BmnZdcDigiScheme::fRefcount = 0
staticprotected

Definition at line 73 of file BmnZdcDigiScheme.h.

Referenced by Instance(), and ~BmnZdcDigiScheme().


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