Message: Re: histogram Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: histogram 

Forum: Analysis
Re: Question histogram (Dipanwita Banerjee)
Re: None Re: histogram (Ivana Hrivnacova)
Re: None Re: histogram (Dipanwita Banerjee)
Re: Question Re: histogram (Dipanwita Banerjee)
Date: 16 Jul, 2013
From: Ivana Hrivnacova <Ivana Hrivnacova>

The numbering of 2D histograms is independent from 1D histograms; so your 2D histogram "4" will have id=1. (Note that SetFirstHistoId() works for both H1 and H2 histogram types). You should change

man->FillH2(4, vec_x, deltaL);


man->FillH2(1, vec_x, deltaL);

Also there is no need to give the histograms names as "1", "2" etc; you can give the meaningful names as "CorrelationX"

Best regards,


Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: histogram   (Dipanwita Banerjee - 16 Jul, 2013)
 Add Message Add Message
to: "Re: histogram"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]