[BLAST_ANAWARE] super-long ntuples

From: Chris Crawford (chris2@lns.mit.edu)
Date: Fri Apr 04 2003 - 14:37:16 EST


hi,
  i just discovered the reason root was choking on long ntuples: it is
actually due to a cint command-length limitation, not something inherent
in root. here is an example of how to put all you would ever want into
one ntuple:
--chris

{
  TString tt;
  tt+="ttl0t:ttl1t:ttl2t:ttl3t:ttl4t:ttl5t:ttl6t:ttl7t:";
  tt+="ttl8t:ttl9t:ttl10t:ttl11t:ttl12t:ttl13t:ttl14t:ttl15t:";
  tt+="ttl0b:ttl1b:ttl2b:ttl3b:ttl4b:ttl5b:ttl6b:ttl7b:";
  tt+="ttl8b:ttl9b:ttl10b:ttl11b:ttl12b:ttl13b:ttl14b:ttl15b:";
  tt+="ttr0t:ttr1t:ttr2t:ttr3t:ttr4t:ttr5t:ttr6t:ttr7t:";
  tt+="ttr8t:ttr9t:ttr10t:ttr11t:ttr12t:ttr13t:ttr14t:ttr15t";
  tt+="ttr0b:ttr1b:ttr2b:ttr3b:ttr4b:ttr5b:ttr6b:ttr7b:";
  tt+="ttr8b:ttr9b:ttr10b:ttr11b:ttr12b:ttr13b:ttr14b:ttr15b:";
  tt+="tcl0:tcl1:tcl2:tcl3:tcr0:tcr1:tcr2:tcr3:";
  tt+="ts0:ts1:";
  tt+="atl0t:atl1t:atl2t:atl3t:atl4t:atl5t:atl6t:atl7t:";
  tt+="atl8t:atl9t:atl10t:atl11t:atl12t:atl13t:atl14t:atl15t:";
  tt+="atl0b:atl1b:atl2b:atl3b:atl4b:atl5b:atl6b:atl7b:";
  tt+="atl8b:atl9b:atl10b:atl11b:atl12b:atl13b:atl14b:atl15b:";
  tt+="atr0t:atr1t:atr2t:atr3t:atr4t:atr5t:atr6t:atr7t:";
  tt+="atr8t:atr9t:atr10t:atr11t:atr12t:atr13t:atr14t:atr15t:";
  tt+="atr0b:atr1b:atr2b:atr3b:atr4b:atr5b:atr6b:atr7b:";
  tt+="atr8b:atr9b:atr10b:atr11b:atr12b:atr13b:atr14b:atr15b:";
  tt+="acl0:acl1:acl2:acl3:acr0:acr1:acr2:acr3:";
  tt+="as0:as1:";
  tt+="ttll0t:ttll1t:ttll2t:ttll3t:ttll4t:ttll5t:ttll6t:ttll7t:";
  tt+="ttll8t:ttll9t:ttll10t:ttll11t:ttll12t:ttll13t:ttll14t:ttll15t:";
  tt+="ttll0b:ttll1b:ttll2b:ttll3b:ttll4b:ttll5b:ttll6b:ttll7b:";
  tt+="ttll8b:ttll9b:ttll10b:ttll11b:ttll12b:ttll13b:ttll14b:ttll15b:";
  tt+="ttrr0t:ttrr1t:ttrr2t:ttrr3t:ttrr4t:ttrr5t:ttrr6t:ttrr7t:";
  tt+="ttrr8t:ttrr9t:ttrr10t:ttrr11t:ttrr12t:ttrr13t:ttrr14t:ttrr15t";
  tt+="ttrr0b:ttrr1b:ttrr2b:ttrr3b:ttrr4b:ttrr5b:ttrr6b:ttrr7b:";
  tt+="ttrr8b:ttrr9b:ttrr10b:ttrr11b:ttrr12b:ttrr13b:ttrr14b:ttrr15b:";
  tt+="tcll0:tcll1:tcll2:tcll3:tcrr0:tcrr1:tcrr2:tcrr3:";
  tt+="ts0:ts1:";
  tt+="atll0t:atll1t:atll2t:atll3t:atll4t:atll5t:atll6t:atll7t:";
  tt+="atll8t:atll9t:atll10t:atll11t:atll12t:atll13t:atll14t:atll15t:";
  tt+="atll0b:atll1b:atll2b:atll3b:atll4b:atll5b:atll6b:atll7b:";
  tt+="atll8b:atll9b:atll10b:atll11b:atll12b:atll13b:atll14b:atll15b:";
  tt+="atrr0t:atrr1t:atrr2t:atrr3t:atrr4t:atrr5t:atrr6t:atrr7t:";
  tt+="atrr8t:atrr9t:atrr10t:atrr11t:atrr12t:atrr13t:atrr14t:atrr15t:";
  tt+="atrr0b:atrr1b:atrr2b:atrr3b:atrr4b:atrr5b:atrr6b:atrr7b:";
  tt+="atrr8b:atrr9b:atrr10b:atrr11b:atrr12b:atrr13b:atrr14b:atrr15b:";
  tt+="acll0:acll1:acll2:acll3:acrr0:acrr1:acrr2:acrr3:";
  tt+="as0:as1:";
  TNtuple t("ntp","ntp", tt);
}



This archive was generated by hypermail 2.1.2 : Mon Feb 24 2014 - 14:07:29 EST