ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
CaloDetDescrElement_Gpu Class Reference

#include <CaloDetDescrElement_g.h>

Collaboration diagram for CaloDetDescrElement_Gpu:

Public Member Functions

CUDA_HOSTDEV CaloDetDescrElement_Gpu (const long long identify, const long long hash_id, const int calosample, const float eta, const float phi, const float deta, const float dphi, const float r, const float eta_raw, const float phi_raw, const float r_raw, const float dr, const float x, const float y, const float z, const float x_raw, const float y_raw, const float z_raw, const float dx, const float dy, const float dz)
 
CUDA_HOSTDEV CaloDetDescrElement_Gpu ()
 
CUDA_HOSTDEV ~CaloDetDescrElement_Gpu ()
 virtual destructor More...
 
CUDA_HOSTDEV float eta () const
 cell eta More...
 
CUDA_HOSTDEV float phi () const
 cell phi More...
 
CUDA_HOSTDEV float r () const
 cell r More...
 
CUDA_HOSTDEV float eta_raw () const
 cell eta_raw More...
 
CUDA_HOSTDEV float phi_raw () const
 cell phi_raw More...
 
CUDA_HOSTDEV float r_raw () const
 cell r_raw More...
 
CUDA_HOSTDEV float dphi () const
 cell dphi More...
 
CUDA_HOSTDEV float deta () const
 cell deta More...
 
CUDA_HOSTDEV float dr () const
 cell dr More...
 
CUDA_HOSTDEV float x () const
 cell x More...
 
CUDA_HOSTDEV float y () const
 cell y More...
 
CUDA_HOSTDEV float z () const
 cell z More...
 
CUDA_HOSTDEV float x_raw () const
 cell x_raw More...
 
CUDA_HOSTDEV float y_raw () const
 cell y_raw More...
 
CUDA_HOSTDEV float z_raw () const
 cell z_raw More...
 
CUDA_HOSTDEV float dx () const
 cell dx More...
 
CUDA_HOSTDEV float dy () const
 cell dy More...
 
CUDA_HOSTDEV float dz () const
 cell dz More...
 
CUDA_HOSTDEV Identifier_Gpu identify () const
 cell identifier More...
 
CUDA_HOSTDEV long long get_compact () const
 
CUDA_HOSTDEV unsigned long long calo_hash () const
 
CUDA_HOSTDEV int getSampling () const
 

Public Attributes

long long m_identify
 
long long m_hash_id
 
int m_calosample
 
float m_eta
 cylindric coordinates : eta More...
 
float m_phi
 cylindric coordinates : phi More...
 
float m_sinTh
 this one is cached for algorithm working in transverse Energy More...
 
float m_cosTh
 this one is cached for algorithm working in transverse Energy More...
 
float m_deta
 cylindric coordinates : delta eta More...
 
float m_dphi
 cylindric coordinates : delta phi More...
 
float m_volume
 cylindric coordinates : r More...
 
float m_sinPhi
 cache to allow fast px py pz computation More...
 
float m_cosPhi
 cache to allow fast px py pz computation More...
 
float m_r
 cylindric coordinates : r More...
 
float m_eta_raw
 cylindric coordinates : eta_raw More...
 
float m_phi_raw
 cylindric coordinates : phi_raw More...
 
float m_r_raw
 cylindric coordinates : r_raw More...
 
float m_dr
 cylindric coordinates : delta r More...
 
float m_x
 cartesian coordinates : X More...
 
float m_y
 cartesian coordinates : Y More...
 
float m_z
 cartesian coordinates : Z More...
 
float m_x_raw
 cartesian coordinates : X raw More...
 
float m_y_raw
 cartesian coordinates : Y raw More...
 
float m_z_raw
 cartesian coordinates : Z raw More...
 
float m_dx
 cartesian coordinates : delta X More...
 
float m_dy
 cartesian coordinates : delta Y More...
 
float m_dz
 cartesian coordinates : delta Z More...
 

Detailed Description

Definition at line 10 of file CaloDetDescrElement_g.h.

Constructor & Destructor Documentation

◆ CaloDetDescrElement_Gpu() [1/2]

CUDA_HOSTDEV CaloDetDescrElement_Gpu::CaloDetDescrElement_Gpu ( const long long  identify,
const long long  hash_id,
const int  calosample,
const float  eta,
const float  phi,
const float  deta,
const float  dphi,
const float  r,
const float  eta_raw,
const float  phi_raw,
const float  r_raw,
const float  dr,
const float  x,
const float  y,
const float  z,
const float  x_raw,
const float  y_raw,
const float  z_raw,
const float  dx,
const float  dy,
const float  dz 
)
inline

Definition at line 12 of file CaloDetDescrElement_g.h.

12  {
14  m_hash_id = hash_id;
15  m_calosample = calosample;
16  m_eta = eta;
17  m_phi = phi;
18  m_deta = deta;
19  m_dphi = dphi;
20  m_r = r;
23  m_r_raw = r_raw;
24  m_dr = dr;
25  m_x = x;
26  m_y = y;
27  m_z = z;
28  m_x_raw = x_raw;
29  m_y_raw = y_raw;
30  m_z_raw = z_raw;
31  m_dx = dx;
32  m_dy = dy;
33  m_dz = dz;
34  };

◆ CaloDetDescrElement_Gpu() [2/2]

CUDA_HOSTDEV CaloDetDescrElement_Gpu::CaloDetDescrElement_Gpu ( )
inline

Definition at line 36 of file CaloDetDescrElement_g.h.

36  {
37  m_identify = 0;
38  m_hash_id = 0;
39  m_calosample = 0;
40  m_eta = 0;
41  m_phi = 0;
42  m_deta = 0;
43  m_dphi = 0;
44  m_r = 0;
45  m_eta_raw = 0;
46  m_phi_raw = 0;
47  m_r_raw = 0;
48  m_dr = 0;
49  m_x = 0;
50  m_y = 0;
51  m_z = 0;
52  m_x_raw = 0;
53  m_y_raw = 0;
54  m_z_raw = 0;
55  m_dx = 0;
56  m_dy = 0;
57  m_dz = 0;
58  };

◆ ~CaloDetDescrElement_Gpu()

CUDA_HOSTDEV CaloDetDescrElement_Gpu::~CaloDetDescrElement_Gpu ( )
inline

virtual destructor

Definition at line 62 of file CaloDetDescrElement_g.h.

62 {};

Member Function Documentation

◆ calo_hash()

CUDA_HOSTDEV unsigned long long CaloDetDescrElement_Gpu::calo_hash ( ) const
inline

Definition at line 224 of file CaloDetDescrElement_g.h.

224 { return m_hash_id; }

◆ deta()

CUDA_HOSTDEV float CaloDetDescrElement_Gpu::deta ( ) const
inline

cell deta

Definition at line 233 of file CaloDetDescrElement_g.h.

233 { return m_deta; }

◆ dphi()

CUDA_HOSTDEV float CaloDetDescrElement_Gpu::dphi ( ) const
inline

cell dphi

Definition at line 234 of file CaloDetDescrElement_g.h.

234 { return m_dphi; }

◆ dr()

CUDA_HOSTDEV float CaloDetDescrElement_Gpu::dr ( ) const
inline

cell dr

Definition at line 235 of file CaloDetDescrElement_g.h.

235 { return m_dr; }

◆ dx()

CUDA_HOSTDEV float CaloDetDescrElement_Gpu::dx ( ) const
inline

cell dx

Definition at line 243 of file CaloDetDescrElement_g.h.

243 { return m_dx; }

◆ dy()

CUDA_HOSTDEV float CaloDetDescrElement_Gpu::dy ( ) const
inline

cell dy

Definition at line 244 of file CaloDetDescrElement_g.h.

244 { return m_dy; }

◆ dz()

CUDA_HOSTDEV float CaloDetDescrElement_Gpu::dz ( ) const
inline

cell dz

Definition at line 245 of file CaloDetDescrElement_g.h.

245 { return m_dz; }

◆ eta()

CUDA_HOSTDEV float CaloDetDescrElement_Gpu::eta ( ) const
inline

cell eta

Definition at line 227 of file CaloDetDescrElement_g.h.

227 { return m_eta; }

◆ eta_raw()

CUDA_HOSTDEV float CaloDetDescrElement_Gpu::eta_raw ( ) const
inline

cell eta_raw

Definition at line 230 of file CaloDetDescrElement_g.h.

230 { return m_eta_raw; }

◆ get_compact()

CUDA_HOSTDEV long long CaloDetDescrElement_Gpu::get_compact ( ) const
inline

Definition at line 220 of file CaloDetDescrElement_g.h.

220  {
221  return m_identify;
222 }

◆ getSampling()

CUDA_HOSTDEV int CaloDetDescrElement_Gpu::getSampling ( ) const
inline

Definition at line 226 of file CaloDetDescrElement_g.h.

226 { return m_calosample; }

◆ identify()

CUDA_HOSTDEV Identifier_Gpu CaloDetDescrElement_Gpu::identify ( ) const
inline

cell identifier

Definition at line 215 of file CaloDetDescrElement_g.h.

215  {
216  Identifier_Gpu id( (unsigned long long)m_identify );
217  return id;
218 }

◆ phi()

CUDA_HOSTDEV float CaloDetDescrElement_Gpu::phi ( ) const
inline

cell phi

Definition at line 228 of file CaloDetDescrElement_g.h.

228 { return m_phi; }

◆ phi_raw()

CUDA_HOSTDEV float CaloDetDescrElement_Gpu::phi_raw ( ) const
inline

cell phi_raw

Definition at line 231 of file CaloDetDescrElement_g.h.

231 { return m_phi_raw; }

◆ r()

CUDA_HOSTDEV float CaloDetDescrElement_Gpu::r ( ) const
inline

cell r

Definition at line 229 of file CaloDetDescrElement_g.h.

229 { return m_r; }

◆ r_raw()

CUDA_HOSTDEV float CaloDetDescrElement_Gpu::r_raw ( ) const
inline

cell r_raw

Definition at line 232 of file CaloDetDescrElement_g.h.

232 { return m_r_raw; }

◆ x()

CUDA_HOSTDEV float CaloDetDescrElement_Gpu::x ( ) const
inline

cell x

Definition at line 237 of file CaloDetDescrElement_g.h.

237 { return m_x; }

◆ x_raw()

CUDA_HOSTDEV float CaloDetDescrElement_Gpu::x_raw ( ) const
inline

cell x_raw

Definition at line 240 of file CaloDetDescrElement_g.h.

240 { return m_x_raw; }

◆ y()

CUDA_HOSTDEV float CaloDetDescrElement_Gpu::y ( ) const
inline

cell y

Definition at line 238 of file CaloDetDescrElement_g.h.

238 { return m_y; }

◆ y_raw()

CUDA_HOSTDEV float CaloDetDescrElement_Gpu::y_raw ( ) const
inline

cell y_raw

Definition at line 241 of file CaloDetDescrElement_g.h.

241 { return m_y_raw; }

◆ z()

CUDA_HOSTDEV float CaloDetDescrElement_Gpu::z ( ) const
inline

cell z

Definition at line 239 of file CaloDetDescrElement_g.h.

239 { return m_z; }

◆ z_raw()

CUDA_HOSTDEV float CaloDetDescrElement_Gpu::z_raw ( ) const
inline

cell z_raw

Definition at line 242 of file CaloDetDescrElement_g.h.

242 { return m_z_raw; }

Member Data Documentation

◆ m_calosample

int CaloDetDescrElement_Gpu::m_calosample

Definition at line 134 of file CaloDetDescrElement_g.h.

◆ m_cosPhi

float CaloDetDescrElement_Gpu::m_cosPhi

cache to allow fast px py pz computation

Definition at line 168 of file CaloDetDescrElement_g.h.

◆ m_cosTh

float CaloDetDescrElement_Gpu::m_cosTh

this one is cached for algorithm working in transverse Energy

Definition at line 148 of file CaloDetDescrElement_g.h.

◆ m_deta

float CaloDetDescrElement_Gpu::m_deta

cylindric coordinates : delta eta

Definition at line 152 of file CaloDetDescrElement_g.h.

◆ m_dphi

float CaloDetDescrElement_Gpu::m_dphi

cylindric coordinates : delta phi

Definition at line 155 of file CaloDetDescrElement_g.h.

◆ m_dr

float CaloDetDescrElement_Gpu::m_dr

cylindric coordinates : delta r

Definition at line 184 of file CaloDetDescrElement_g.h.

◆ m_dx

float CaloDetDescrElement_Gpu::m_dx

cartesian coordinates : delta X

Definition at line 206 of file CaloDetDescrElement_g.h.

◆ m_dy

float CaloDetDescrElement_Gpu::m_dy

cartesian coordinates : delta Y

Definition at line 209 of file CaloDetDescrElement_g.h.

◆ m_dz

float CaloDetDescrElement_Gpu::m_dz

cartesian coordinates : delta Z

Definition at line 212 of file CaloDetDescrElement_g.h.

◆ m_eta

float CaloDetDescrElement_Gpu::m_eta

cylindric coordinates : eta

Definition at line 138 of file CaloDetDescrElement_g.h.

◆ m_eta_raw

float CaloDetDescrElement_Gpu::m_eta_raw

cylindric coordinates : eta_raw

Definition at line 175 of file CaloDetDescrElement_g.h.

◆ m_hash_id

long long CaloDetDescrElement_Gpu::m_hash_id

Definition at line 132 of file CaloDetDescrElement_g.h.

◆ m_identify

long long CaloDetDescrElement_Gpu::m_identify

Definition at line 131 of file CaloDetDescrElement_g.h.

◆ m_phi

float CaloDetDescrElement_Gpu::m_phi

cylindric coordinates : phi

Definition at line 141 of file CaloDetDescrElement_g.h.

◆ m_phi_raw

float CaloDetDescrElement_Gpu::m_phi_raw

cylindric coordinates : phi_raw

Definition at line 178 of file CaloDetDescrElement_g.h.

◆ m_r

float CaloDetDescrElement_Gpu::m_r

cylindric coordinates : r

Definition at line 172 of file CaloDetDescrElement_g.h.

◆ m_r_raw

float CaloDetDescrElement_Gpu::m_r_raw

cylindric coordinates : r_raw

Definition at line 181 of file CaloDetDescrElement_g.h.

◆ m_sinPhi

float CaloDetDescrElement_Gpu::m_sinPhi

cache to allow fast px py pz computation

Definition at line 164 of file CaloDetDescrElement_g.h.

◆ m_sinTh

float CaloDetDescrElement_Gpu::m_sinTh

this one is cached for algorithm working in transverse Energy

Definition at line 145 of file CaloDetDescrElement_g.h.

◆ m_volume

float CaloDetDescrElement_Gpu::m_volume

cylindric coordinates : r

Definition at line 160 of file CaloDetDescrElement_g.h.

◆ m_x

float CaloDetDescrElement_Gpu::m_x

cartesian coordinates : X

Definition at line 188 of file CaloDetDescrElement_g.h.

◆ m_x_raw

float CaloDetDescrElement_Gpu::m_x_raw

cartesian coordinates : X raw

Definition at line 197 of file CaloDetDescrElement_g.h.

◆ m_y

float CaloDetDescrElement_Gpu::m_y

cartesian coordinates : Y

Definition at line 191 of file CaloDetDescrElement_g.h.

◆ m_y_raw

float CaloDetDescrElement_Gpu::m_y_raw

cartesian coordinates : Y raw

Definition at line 200 of file CaloDetDescrElement_g.h.

◆ m_z

float CaloDetDescrElement_Gpu::m_z

cartesian coordinates : Z

Definition at line 194 of file CaloDetDescrElement_g.h.

◆ m_z_raw

float CaloDetDescrElement_Gpu::m_z_raw

cartesian coordinates : Z raw

Definition at line 203 of file CaloDetDescrElement_g.h.


The documentation for this class was generated from the following file:
CaloDetDescrElement_Gpu::m_z
float m_z
cartesian coordinates : Z
Definition: CaloDetDescrElement_g.h:194
CaloDetDescrElement_Gpu::m_y_raw
float m_y_raw
cartesian coordinates : Y raw
Definition: CaloDetDescrElement_g.h:200
CaloDetDescrElement_Gpu::z
CUDA_HOSTDEV float z() const
cell z
Definition: CaloDetDescrElement_g.h:239
CaloDetDescrElement_Gpu::identify
CUDA_HOSTDEV Identifier_Gpu identify() const
cell identifier
Definition: CaloDetDescrElement_g.h:215
CaloDetDescrElement_Gpu::phi_raw
CUDA_HOSTDEV float phi_raw() const
cell phi_raw
Definition: CaloDetDescrElement_g.h:231
CaloDetDescrElement_Gpu::m_dz
float m_dz
cartesian coordinates : delta Z
Definition: CaloDetDescrElement_g.h:212
CaloDetDescrElement_Gpu::r
CUDA_HOSTDEV float r() const
cell r
Definition: CaloDetDescrElement_g.h:229
CaloDetDescrElement_Gpu::m_y
float m_y
cartesian coordinates : Y
Definition: CaloDetDescrElement_g.h:191
CaloDetDescrElement_Gpu::m_r
float m_r
cylindric coordinates : r
Definition: CaloDetDescrElement_g.h:172
CaloDetDescrElement_Gpu::m_x
float m_x
cartesian coordinates : X
Definition: CaloDetDescrElement_g.h:188
CaloDetDescrElement_Gpu::m_identify
long long m_identify
Definition: CaloDetDescrElement_g.h:131
CaloDetDescrElement_Gpu::phi
CUDA_HOSTDEV float phi() const
cell phi
Definition: CaloDetDescrElement_g.h:228
CaloDetDescrElement_Gpu::deta
CUDA_HOSTDEV float deta() const
cell deta
Definition: CaloDetDescrElement_g.h:233
CaloDetDescrElement_Gpu::m_dy
float m_dy
cartesian coordinates : delta Y
Definition: CaloDetDescrElement_g.h:209
CaloDetDescrElement_Gpu::eta
CUDA_HOSTDEV float eta() const
cell eta
Definition: CaloDetDescrElement_g.h:227
CaloDetDescrElement_Gpu::dr
CUDA_HOSTDEV float dr() const
cell dr
Definition: CaloDetDescrElement_g.h:235
CaloDetDescrElement_Gpu::m_dphi
float m_dphi
cylindric coordinates : delta phi
Definition: CaloDetDescrElement_g.h:155
CaloDetDescrElement_Gpu::dz
CUDA_HOSTDEV float dz() const
cell dz
Definition: CaloDetDescrElement_g.h:245
CaloDetDescrElement_Gpu::z_raw
CUDA_HOSTDEV float z_raw() const
cell z_raw
Definition: CaloDetDescrElement_g.h:242
CaloDetDescrElement_Gpu::dphi
CUDA_HOSTDEV float dphi() const
cell dphi
Definition: CaloDetDescrElement_g.h:234
CaloDetDescrElement_Gpu::x_raw
CUDA_HOSTDEV float x_raw() const
cell x_raw
Definition: CaloDetDescrElement_g.h:240
CaloDetDescrElement_Gpu::m_r_raw
float m_r_raw
cylindric coordinates : r_raw
Definition: CaloDetDescrElement_g.h:181
Identifier_Gpu
Definition: Identifier_g.h:15
CaloDetDescrElement_Gpu::m_phi_raw
float m_phi_raw
cylindric coordinates : phi_raw
Definition: CaloDetDescrElement_g.h:178
CaloDetDescrElement_Gpu::y
CUDA_HOSTDEV float y() const
cell y
Definition: CaloDetDescrElement_g.h:238
CaloDetDescrElement_Gpu::m_eta_raw
float m_eta_raw
cylindric coordinates : eta_raw
Definition: CaloDetDescrElement_g.h:175
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:227
CaloDetDescrElement_Gpu::dy
CUDA_HOSTDEV float dy() const
cell dy
Definition: CaloDetDescrElement_g.h:244
CaloDetDescrElement_Gpu::m_dr
float m_dr
cylindric coordinates : delta r
Definition: CaloDetDescrElement_g.h:184
CaloDetDescrElement_Gpu::r_raw
CUDA_HOSTDEV float r_raw() const
cell r_raw
Definition: CaloDetDescrElement_g.h:232
CaloDetDescrElement_Gpu::m_calosample
int m_calosample
Definition: CaloDetDescrElement_g.h:134
CaloDetDescrElement_Gpu::m_hash_id
long long m_hash_id
Definition: CaloDetDescrElement_g.h:132
CaloDetDescrElement_Gpu::x
CUDA_HOSTDEV float x() const
cell x
Definition: CaloDetDescrElement_g.h:237
CaloDetDescrElement_Gpu::m_dx
float m_dx
cartesian coordinates : delta X
Definition: CaloDetDescrElement_g.h:206
CaloDetDescrElement_Gpu::eta_raw
CUDA_HOSTDEV float eta_raw() const
cell eta_raw
Definition: CaloDetDescrElement_g.h:230
CaloDetDescrElement_Gpu::m_deta
float m_deta
cylindric coordinates : delta eta
Definition: CaloDetDescrElement_g.h:152
CaloDetDescrElement_Gpu::dx
CUDA_HOSTDEV float dx() const
cell dx
Definition: CaloDetDescrElement_g.h:243
CaloDetDescrElement_Gpu::m_eta
float m_eta
cylindric coordinates : eta
Definition: CaloDetDescrElement_g.h:138
CaloDetDescrElement_Gpu::m_z_raw
float m_z_raw
cartesian coordinates : Z raw
Definition: CaloDetDescrElement_g.h:203
CaloDetDescrElement_Gpu::m_phi
float m_phi
cylindric coordinates : phi
Definition: CaloDetDescrElement_g.h:141
CaloDetDescrElement_Gpu::m_x_raw
float m_x_raw
cartesian coordinates : X raw
Definition: CaloDetDescrElement_g.h:197
CaloDetDescrElement_Gpu::y_raw
CUDA_HOSTDEV float y_raw() const
cell y_raw
Definition: CaloDetDescrElement_g.h:241