ATLAS Offline Software
Loading...
Searching...
No Matches
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
CUDA_HOSTDEV float eta () const
 cell eta
CUDA_HOSTDEV float phi () const
 cell phi
CUDA_HOSTDEV float r () const
 cell r
CUDA_HOSTDEV float eta_raw () const
 cell eta_raw
CUDA_HOSTDEV float phi_raw () const
 cell phi_raw
CUDA_HOSTDEV float r_raw () const
 cell r_raw
CUDA_HOSTDEV float dphi () const
 cell dphi
CUDA_HOSTDEV float deta () const
 cell deta
CUDA_HOSTDEV float dr () const
 cell dr
CUDA_HOSTDEV float x () const
 cell x
CUDA_HOSTDEV float y () const
 cell y
CUDA_HOSTDEV float z () const
 cell z
CUDA_HOSTDEV float x_raw () const
 cell x_raw
CUDA_HOSTDEV float y_raw () const
 cell y_raw
CUDA_HOSTDEV float z_raw () const
 cell z_raw
CUDA_HOSTDEV float dx () const
 cell dx
CUDA_HOSTDEV float dy () const
 cell dy
CUDA_HOSTDEV float dz () const
 cell dz
CUDA_HOSTDEV Identifier_Gpu identify () const
 cell identifier
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
float m_phi
 cylindric coordinates : phi
float m_sinTh
 this one is cached for algorithm working in transverse Energy
float m_cosTh
 this one is cached for algorithm working in transverse Energy
float m_deta
 cylindric coordinates : delta eta
float m_dphi
 cylindric coordinates : delta phi
float m_volume
 cylindric coordinates : r
float m_sinPhi
 cache to allow fast px py pz computation
float m_cosPhi
 cache to allow fast px py pz computation
float m_r
 cylindric coordinates : r
float m_eta_raw
 cylindric coordinates : eta_raw
float m_phi_raw
 cylindric coordinates : phi_raw
float m_r_raw
 cylindric coordinates : r_raw
float m_dr
 cylindric coordinates : delta r
float m_x
 cartesian coordinates : X
float m_y
 cartesian coordinates : Y
float m_z
 cartesian coordinates : Z
float m_x_raw
 cartesian coordinates : X raw
float m_y_raw
 cartesian coordinates : Y raw
float m_z_raw
 cartesian coordinates : Z raw
float m_dx
 cartesian coordinates : delta X
float m_dy
 cartesian coordinates : delta Y
float m_dz
 cartesian coordinates : delta Z

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 };
float m_phi
cylindric coordinates : phi
CUDA_HOSTDEV float eta_raw() const
cell eta_raw
CUDA_HOSTDEV float y() const
cell y
CUDA_HOSTDEV Identifier_Gpu identify() const
cell identifier
float m_eta_raw
cylindric coordinates : eta_raw
CUDA_HOSTDEV float phi() const
cell phi
float m_y
cartesian coordinates : Y
float m_dr
cylindric coordinates : delta r
CUDA_HOSTDEV float eta() const
cell eta
CUDA_HOSTDEV float z_raw() const
cell z_raw
float m_dy
cartesian coordinates : delta Y
float m_x
cartesian coordinates : X
CUDA_HOSTDEV float deta() const
cell deta
float m_x_raw
cartesian coordinates : X raw
CUDA_HOSTDEV float x() const
cell x
CUDA_HOSTDEV float y_raw() const
cell y_raw
float m_r_raw
cylindric coordinates : r_raw
CUDA_HOSTDEV float dz() const
cell dz
float m_z
cartesian coordinates : Z
CUDA_HOSTDEV float r_raw() const
cell r_raw
CUDA_HOSTDEV float x_raw() const
cell x_raw
float m_dphi
cylindric coordinates : delta phi
CUDA_HOSTDEV float dx() const
cell dx
float m_dx
cartesian coordinates : delta X
float m_r
cylindric coordinates : r
CUDA_HOSTDEV float z() const
cell z
CUDA_HOSTDEV float dr() const
cell dr
float m_deta
cylindric coordinates : delta eta
float m_y_raw
cartesian coordinates : Y raw
float m_dz
cartesian coordinates : delta Z
CUDA_HOSTDEV float phi_raw() const
cell phi_raw
CUDA_HOSTDEV float dphi() const
cell dphi
float m_z_raw
cartesian coordinates : Z raw
CUDA_HOSTDEV float dy() const
cell dy
float m_eta
cylindric coordinates : eta
CUDA_HOSTDEV float r() const
cell r
float m_phi_raw
cylindric coordinates : phi_raw

◆ 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: