Linear Collider Forum



Home » Software Tools » Marlin et al » Speeding up TPCParametersImpl::getNearestPad in GEAR v00-13
Speeding up TPCParametersImpl::getNearestPad in GEAR v00-13 [message #2004] Sat, 22 May 2010 00:22 Go to previous message
jabernathy
Messages: 78
Registered: March 2006
Location: University of Victoria
Hello all,

A detailed simulation of ion drift could spend most of it's running time in this function.

I have optimized it a bit to dramatically reduce the running time when there is only one readout module.

Before:
[ MESSAGE "Marlin"] MyElectronCloudChargeDepositPr       3.092300e+02 s in            5 events  ==> 6.184600e+01 [ s/evt.]

After:
[ MESSAGE "Marlin"] MyElectronCloudChargeDepositPr       1.614900e+02 s in            5 events  ==> 3.229800e+01 [ s/evt.]

It should also be a bit faster when more than one module is in use.

Cheers,

- Jason

p.s. the new version of the file is attached. I did not do _extensive_ testing but the output of my simulation was the same before and after the change

 
Read Message
Read Message
Previous Topic:TPC Anode position in GEAR
Next Topic:MarlinTPC HepRepOutputProcessor
Goto Forum:
  


Current Time: Thu Dec 12 15:52:06 Pacific Standard Time 2019
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2010 FUDforum Bulletin Board Software