TH1 and Fill

From: Marc Escalier <escalier_at_lal.in2p3.fr>
Date: Fri, 23 Apr 2010 22:33:02 +0200


Dear rooters,

after studying performance from a given program that fill a TH1 histogram within a loop on events

loop on the events of the tree

    myhisto->Fill(current event with variable)

  i see from a benchmark study that 90 % of the time is consumed by the   myhisto->Fill(myvariable) command

  I was wondering if there are tricks to improve speed of this instruction ?

  thank you Received on Fri Apr 23 2010 - 22:33:09 CEST

This archive was generated by hypermail 2.2.0 : Sat Apr 24 2010 - 11:50:01 CEST