ATLAS Offline Software
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
GeoLoadGpu Class Reference

#include <GeoLoadGpu.h>

Collaboration diagram for GeoLoadGpu:

Public Member Functions

 GeoLoadGpu ()=default
 
 ~GeoLoadGpu ()
 
void set_ncells (unsigned long nc)
 
void set_nregions (unsigned int nr)
 
void set_cellmap (t_cellmap_Gpu *cm)
 
t_cellmap_Gpuset_cellmap ()
 
void set_regions (GeoRegion *r)
 
void set_g_regions (GeoRegion *gr)
 
void set_cells_g (CaloDetDescrElement_Gpu *gc)
 
void set_max_sample (int s)
 
void set_sample_index_h (Rg_Sample_Index *s)
 
const CaloDetDescrElement_Gpuindex2cell (unsigned long index)
 
t_cellmap_Gpuget_cellmap ()
 
bool LoadGpu ()
 
bool LoadGpu_kk ()
 
bool LoadGpu_cu ()
 
void set_geoPtr (GeoGpu *ptr)
 
GeoGpuget_geoPtr () const
 
unsigned long get_ncells () const
 

Protected Attributes

unsigned long m_ncells {0}
 
unsigned int m_nregions {0}
 
t_cellmap_Gpum_cells {0}
 
GeoRegionm_regions {0}
 
GeoRegionm_regions_d {0}
 
CaloDetDescrElement_Gpum_cells_d {0}
 
Identifier_Gpum_cellid_array {0}
 
int m_max_sample {0}
 
Rg_Sample_Indexm_sample_index_h {0}
 
GeoGpum_geo_d {0}
 

Private Member Functions

bool TestGeo ()
 
bool SanityCheck ()
 

Detailed Description

Definition at line 17 of file GeoLoadGpu.h.

Constructor & Destructor Documentation

◆ GeoLoadGpu()

GeoLoadGpu::GeoLoadGpu ( )
default

◆ ~GeoLoadGpu()

GeoLoadGpu::~GeoLoadGpu ( )
inline

Definition at line 21 of file GeoLoadGpu.h.

21  {
22  delete m_cellid_array;
23  }

Member Function Documentation

◆ get_cellmap()

t_cellmap_Gpu* GeoLoadGpu::get_cellmap ( )
inline

Definition at line 36 of file GeoLoadGpu.h.

36 { return m_cells; };

◆ get_geoPtr()

GeoGpu* GeoLoadGpu::get_geoPtr ( ) const
inline

Definition at line 44 of file GeoLoadGpu.h.

44 { return m_geo_d; }

◆ get_ncells()

unsigned long GeoLoadGpu::get_ncells ( ) const
inline

Definition at line 46 of file GeoLoadGpu.h.

46 { return m_ncells; }

◆ index2cell()

const CaloDetDescrElement_Gpu* GeoLoadGpu::index2cell ( unsigned long  index)
inline

Definition at line 34 of file GeoLoadGpu.h.

34 { return ( *m_cells )[m_cellid_array[index]]; };

◆ LoadGpu()

bool GeoLoadGpu::LoadGpu ( )
inline

Definition at line 37 of file GeoLoadGpu.h.

37  {
38  return LoadGpu_cu();
39  }

◆ LoadGpu_cu()

bool GeoLoadGpu::LoadGpu_cu ( )

◆ LoadGpu_kk()

bool GeoLoadGpu::LoadGpu_kk ( )

◆ SanityCheck()

bool GeoLoadGpu::SanityCheck ( )
private

◆ set_cellmap() [1/2]

t_cellmap_Gpu* GeoLoadGpu::set_cellmap ( )
inline

Definition at line 28 of file GeoLoadGpu.h.

28 { return m_cells ; };

◆ set_cellmap() [2/2]

void GeoLoadGpu::set_cellmap ( t_cellmap_Gpu cm)
inline

Definition at line 27 of file GeoLoadGpu.h.

27 { m_cells = cm; };

◆ set_cells_g()

void GeoLoadGpu::set_cells_g ( CaloDetDescrElement_Gpu gc)
inline

Definition at line 31 of file GeoLoadGpu.h.

31 { m_cells_d = gc; };

◆ set_g_regions()

void GeoLoadGpu::set_g_regions ( GeoRegion gr)
inline

Definition at line 30 of file GeoLoadGpu.h.

30 { m_regions_d = gr; };

◆ set_geoPtr()

void GeoLoadGpu::set_geoPtr ( GeoGpu ptr)
inline

Definition at line 43 of file GeoLoadGpu.h.

43 { m_geo_d = ptr; }

◆ set_max_sample()

void GeoLoadGpu::set_max_sample ( int  s)
inline

Definition at line 32 of file GeoLoadGpu.h.

32 { m_max_sample = s; };

◆ set_ncells()

void GeoLoadGpu::set_ncells ( unsigned long  nc)
inline

Definition at line 25 of file GeoLoadGpu.h.

25 { m_ncells = nc; };

◆ set_nregions()

void GeoLoadGpu::set_nregions ( unsigned int  nr)
inline

Definition at line 26 of file GeoLoadGpu.h.

26 { m_nregions = nr; };

◆ set_regions()

void GeoLoadGpu::set_regions ( GeoRegion r)
inline

Definition at line 29 of file GeoLoadGpu.h.

29 { m_regions = r; };

◆ set_sample_index_h()

void GeoLoadGpu::set_sample_index_h ( Rg_Sample_Index s)
inline

Definition at line 33 of file GeoLoadGpu.h.

33 { m_sample_index_h = s; };

◆ TestGeo()

bool GeoLoadGpu::TestGeo ( )
private

Member Data Documentation

◆ m_cellid_array

Identifier_Gpu* GeoLoadGpu::m_cellid_array {0}
protected

Definition at line 61 of file GeoLoadGpu.h.

◆ m_cells

t_cellmap_Gpu* GeoLoadGpu::m_cells {0}
protected

Definition at line 57 of file GeoLoadGpu.h.

◆ m_cells_d

CaloDetDescrElement_Gpu* GeoLoadGpu::m_cells_d {0}
protected

Definition at line 60 of file GeoLoadGpu.h.

◆ m_geo_d

GeoGpu* GeoLoadGpu::m_geo_d {0}
protected

Definition at line 65 of file GeoLoadGpu.h.

◆ m_max_sample

int GeoLoadGpu::m_max_sample {0}
protected

Definition at line 62 of file GeoLoadGpu.h.

◆ m_ncells

unsigned long GeoLoadGpu::m_ncells {0}
protected

Definition at line 55 of file GeoLoadGpu.h.

◆ m_nregions

unsigned int GeoLoadGpu::m_nregions {0}
protected

Definition at line 56 of file GeoLoadGpu.h.

◆ m_regions

GeoRegion* GeoLoadGpu::m_regions {0}
protected

Definition at line 58 of file GeoLoadGpu.h.

◆ m_regions_d

GeoRegion* GeoLoadGpu::m_regions_d {0}
protected

Definition at line 59 of file GeoLoadGpu.h.

◆ m_sample_index_h

Rg_Sample_Index* GeoLoadGpu::m_sample_index_h {0}
protected

Definition at line 63 of file GeoLoadGpu.h.


The documentation for this class was generated from the following file:
beamspotman.r
def r
Definition: beamspotman.py:676
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
GeoLoadGpu::m_geo_d
GeoGpu * m_geo_d
Definition: GeoLoadGpu.h:65
gr
#define gr
dbg::ptr
void * ptr(T *p)
Definition: SGImplSvc.cxx:74
GeoLoadGpu::m_cells
t_cellmap_Gpu * m_cells
Definition: GeoLoadGpu.h:57
cm
const double cm
Definition: Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimParametrization/tools/FCAL_ChannelMap.cxx:25
GeoLoadGpu::m_regions
GeoRegion * m_regions
Definition: GeoLoadGpu.h:58
GeoLoadGpu::m_cells_d
CaloDetDescrElement_Gpu * m_cells_d
Definition: GeoLoadGpu.h:60
GeoLoadGpu::m_nregions
unsigned int m_nregions
Definition: GeoLoadGpu.h:56
GeoLoadGpu::m_max_sample
int m_max_sample
Definition: GeoLoadGpu.h:62
GeoLoadGpu::m_ncells
unsigned long m_ncells
Definition: GeoLoadGpu.h:55
DeMoScan.index
string index
Definition: DeMoScan.py:364
GeoLoadGpu::m_sample_index_h
Rg_Sample_Index * m_sample_index_h
Definition: GeoLoadGpu.h:63
GeoLoadGpu::LoadGpu_cu
bool LoadGpu_cu()
plotBeamSpotMon.nc
int nc
Definition: plotBeamSpotMon.py:83
GeoLoadGpu::m_regions_d
GeoRegion * m_regions_d
Definition: GeoLoadGpu.h:59
GeoLoadGpu::m_cellid_array
Identifier_Gpu * m_cellid_array
Definition: GeoLoadGpu.h:61