|
ATLAS Offline Software
|
◆ Rand4Hits_finish()
void CaloGpuGeneral::Rand4Hits_finish |
( |
void * |
rd4h | ) |
|
◆ Rand4Hits_init()
void * CaloGpuGeneral::Rand4Hits_init |
( |
long long |
maxhits, |
|
|
unsigned short |
maxbin, |
|
|
unsigned long long |
seed, |
|
|
bool |
|
|
) |
| |
Definition at line 8 of file CaloGpuGeneral.cxx.
17 constexpr
bool genOnCPU{
false};
21 rd4h->
create_gen( seed, 3 * maxhits, genOnCPU );
30 std::chrono::duration<double> diff1 =
t1 -
t0;
31 std::chrono::duration<double> diff2 =
t2 -
t1;
32 std::chrono::duration<double> diff3 =
t3 -
t2;
33 std::chrono::duration<double> diff4 =
t4 -
t3;
34 std::chrono::duration<double> diff5 =
t5 -
t4;
35 std::cout <<
"Time of R4hit: " << diff1.count() <<
"," << diff2.count() <<
"," << diff3.count() <<
","
36 << diff4.count() <<
"," << diff5.count() <<
" s" << std::endl;
◆ simulate_hits()
void CaloGpuGeneral::simulate_hits |
( |
float |
E, |
|
|
int |
nhits, |
|
|
Chain0_Args & |
args, |
|
|
bool |
reweight |
|
) |
| |
float * get_cells_energy()
std::vector< LUCID_RawData_p1 > t3
std::vector< ALFA_RawData_p1 > t0
std::vector< ALFA_RawDataCollection_p1 > t1
void set_c_hits(int nhits)
void simulate_hits(float, int, Chain0_Args &, bool)
void allocate_simulation(long long maxhits, unsigned short maxbins, unsigned short maxhitct, unsigned long n_cells)
void create_gen(unsigned long long seed, size_t numhits, bool useCPU=false)
std::vector< LUCID_RawDataContainer_p1 > t4
float * rand_ptr(int nhits)
void add_a_hits(int nhits)
std::vector< LUCID_Digit_p2 > t5
std::vector< ALFA_RawDataContainer_p1 > t2
void set_t_a_hits(int nhits)