Message: Re: Mixed data type NTUPLE Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Mixed data type NTUPLE 

Forum: Analysis
Re: None Mixed data type NTUPLE (Fan Lei)
Date: 13 Sep, 2004
From: Tony Johnson <Tony Johnson>

> 
> I am trying to create NTUPLES with mixed data type entries. It seems
> neither ANAPHE nor JAIDA can handle such a case properly at the moment,
> e.g.:
> 
>   // histo->addTuple( "100", "Emitted Particles","String Name, float Energy, Time, Weight" );
>   // histo->addTuple( "200", "RadioIsotopes","String Name, float Energy, Time, Weight" );
>   // histo->addTuple( "300", "Energy Depositions","float Energy, Time, Weight" );
> 
>   // at the moment jaida/anaphe can only handle single ntuples
>   histo->addTuple( "100", "Emitted Particles"," float Name, Energy, Time, Weight" );
>   histo->addTuple( "200", "RadioIsotopes"," float Name, Energy, Time, Weight" );
>   histo->addTuple( "300", "Energy Depositions"," float Energy, Time, Weight" );
> 
> The commented out approach with matching filling method, is what I would
> like to use. I managed to get them compiled,liked and executed O.K., but
> the resulted aida file containes no tuples '100' and '200'. If I
> changing the partcile name to "float" and the corresponding filling
> methods, then all three tuples are saved in the aida file.
> 
> Is what I encountered as expected? or what is the the correct way to
> book/fill/save a mixed type tuple with AIDA.

Not exactly, certainly JAIDA supports mixed type tuples, but you need to
change "String" in the declaration to "string" (lower case) -- then it
should work.

I expect the same is true for ANAPHE, although I am not certain.

Tony

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

1 None: Re: Mixed data type NTUPLE   (Fan Lei - 13 Sep, 2004)
(_ None: RE: Mixed data type NTUPLE   (tony_johnson@slac.stanford.edu - 13 Sep, 2004)
(_ None: RE: Mixed data type NTUPLE   (Fan Lei - 15 Sep, 2004)
 Add Message Add Message
to: "Re: Mixed data type NTUPLE"

 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 ]