Change the default option for nentries when calling TChain::Add The previous default (-1) is changed to 1000000000. TChain::Add modified to support the new default. By default the file is not opened when calling TChain::Add Int_t TChain::Add(const char *name, Int_t nentries) //    A- if nentries <= 0, the file is connected and the tree header read //       in memory to get the number of entries. // //    B- if (nentries > 0, the file is not connected, nentries is assumed to be //       the number of entries in the file. In this case, no check is made that //       the file exists and the Tree existing in the file. This second mode //       is interesting in case the number of entries in the file is already stored //       in a run data base for example. // //    C- if (nentries == 1000000000) (default), the file is not connected. //       the number of entries in each file will be read only when the file //       will need to be connected to read an entry. //       This option is the default and very efficient if one process //       the chain sequentially. Note that in case TChain::GetEntry(entry) //       is called and entry refers to an entry in the 3rd file, for example, //       this forces the Tree headers in the first and second file //       to be read to find the number of entries in these files. //       Note that if one calls TChain::GetEntries() after having created //       a chain with this default, GetEntries will return 1000000000! //       One can force the Tree headers of all the files to be read //       by calling TChain::GetEntry(bigentry) with bigentry greater than //       the first entry number of the last file, eg 999999999. //       To compute the number of entries in a chain built with this option, do: //            chain.GetEntry(999999999); //            chain.GetEntries();
Change the default option for nentries when calling TChain::Add
The previous default (-1) is changed to 1000000000.
TChain::Add modified to support the new default. By default
the file is not opened when calling TChain::Add
Int_t TChain::Add(const char *name, Int_t nentries)
//    A- if nentries <= 0, the file is connected and the tree header read
//       in memory to get the number of entries.
//
//    B- if (nentries > 0, the file is not connected, nentries is assumed to be
//       the number of entries in the file. In this case, no check is made that
//       the file exists and the Tree existing in the file. This second mode
//       is interesting in case the number of entries in the file is already stored
//       in a run data base for example.
//
//    C- if (nentries == 1000000000) (default), the file is not connected.
//       the number of entries in each file will be read only when the file
//       will need to be connected to read an entry.
//       This option is the default and very efficient if one process
//       the chain sequentially. Note that in case TChain::GetEntry(entry)
//       is called and entry refers to an entry in the 3rd file, for example,
//       this forces the Tree headers in the first and second file
//       to be read to find the number of entries in these files.
//       Note that if one calls TChain::GetEntries() after having created
//       a chain with this default, GetEntries will return 1000000000!
//       One can force the Tree headers of all the files to be read
//       by calling TChain::GetEntry(bigentry) with bigentry greater than
//       the first entry number of the last file, eg 999999999.
//       To compute the number of entries in a chain built with this option, do:
//            chain.GetEntry(999999999);
//            chain.GetEntries();


git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@3695 27541ba8-7e3a-0410-8455-c3a389f83636

sawenzel/root,strykejern/TTreeReader,dfunke/root,georgtroska/root,alexschlueter/cern-root,bbockelm/root,veprbl/root,strykejern/TTreeReader,BerserkerTroll/root,satyarth934/root,jrtomps/root,esakellari/root,beniz/root,omazapa/root,alexschlueter/cern-root,tc3t/qoot,kirbyherm/root-r-tools,gganis/root,davidlt/root,0x0all/ROOT,simonpf/root,Duraznos/root,mattkretz/root,Dr15Jones/root,nilqed/root,omazapa/root-old,tc3t/qoot,CristinaCristescu/root,abhinavmoudgil95/root,mhuwiler/rootauto,Y--/root,satyarth934/root,mattkretz/root,zzxuanyuan/root,sbinet/cxx-root,arch1tect0r/root,zzxuanyuan/root,zzxuanyuan/root-compressor-dummy,mhuwiler/rootauto,omazapa/root-old,beniz/root,satyarth934/root,Duraznos/root,strykejern/TTreeReader,esakellari/my_root_for_test,ffurano/root5,0x0all/ROOT,dfunke/root,thomaskeck/root,zzxuanyuan/root-compressor-dummy,Duraznos/root,CristinaCristescu/root,esakellari/my_root_for_test,CristinaCristescu/root,mkret2/root,0x0all/ROOT,esakellari/my_root_for_test,buuck/root,smarinac/root,zzxuanyuan/root,jrtomps/root,olifre/root,sirinath/root,satyarth934/root,agarciamontoro/root,CristinaCristescu/root,tc3t/qoot,root-mirror/root,evgeny-boger/root,ffurano/root5,pspe/root,mkret2/root,gbitzes/root,thomaskeck/root,vukasinmilosevic/root,olifre/root,jrtomps/root,smarinac/root,bbockelm/root,simonpf/root,mkret2/root,agarciamontoro/root,beniz/root,nilqed/root,veprbl/root,agarciamontoro/root,sirinath/root,sbinet/cxx-root,beniz/root,sbinet/cxx-root,jrtomps/root,BerserkerTroll/root,Duraznos/root,simonpf/root,mkret2/root,gbitzes/root,lgiommi/root,simonpf/root,Y--/root,kirbyherm/root-r-tools,omazapa/root,pspe/root,gganis/root,perovic/root,Y--/root,pspe/root,georgtroska/root,agarciamontoro/root,karies/root,tc3t/qoot,simonpf/root,perovic/root,abhinavmoudgil95/root,omazapa/root,mkret2/root,cxx-hep/root-cern,zzxuanyuan/root,gganis/root,krafczyk/root,gbitzes/root,davidlt/root,gbitzes/root,omazapa/root-old,arch1tect0r/root,tc3t/qoot,lgiommi/root,buuck/root,simonpf/root,veprbl/root,Y--/root,bbockelm/root,mkret2/root,abhinavmoudgil95/root,nilqed/root,root-mirror/root,perovic/root,mhuwiler/rootauto,omazapa/root-old,cxx-hep/root-cern,gganis/root,esakellari/root,mattkretz/root,vukasinmilosevic/root,agarciamontoro/root,sbinet/cxx-root,root-mirror/root,satyarth934/root,mattkretz/root,Y--/root,0x0all/ROOT,dfunke/root,veprbl/root,tc3t/qoot,evgeny-boger/root,krafczyk/root,buuck/root,arch1tect0r/root,veprbl/root,zzxuanyuan/root,lgiommi/root,sbinet/cxx-root,smarinac/root,root-mirror/root,vukasinmilosevic/root,abhinavmoudgil95/root,mhuwiler/rootauto,mattkretz/root,satyarth934/root,Duraznos/root,thomaskeck/root,omazapa/root-old,tc3t/qoot,thomaskeck/root,sirinath/root,krafczyk/root,zzxuanyuan/root-compressor-dummy,gganis/root,BerserkerTroll/root,simonpf/root,sirinath/root,agarciamontoro/root,bbockelm/root,dfunke/root,buuck/root,thomaskeck/root,satyarth934/root,Dr15Jones/root,root-mirror/root,mhuwiler/rootauto,sawenzel/root,agarciamontoro/root,esakellari/my_root_for_test,strykejern/TTreeReader,davidlt/root,cxx-hep/root-cern,thomaskeck/root,perovic/root,perovic/root,nilqed/root,root-mirror/root,abhinavmoudgil95/root,BerserkerTroll/root,mkret2/root,buuck/root,Y--/root,davidlt/root,smarinac/root,buuck/root,evgeny-boger/root,perovic/root,Y--/root,alexschlueter/cern-root,nilqed/root,mhuwiler/rootauto,sbinet/cxx-root,kirbyherm/root-r-tools,mattkretz/root,agarciamontoro/root,kirbyherm/root-r-tools,sawenzel/root,lgiommi/root,jrtomps/root,nilqed/root,Duraznos/root,simonpf/root,arch1tect0r/root,zzxuanyuan/root-compressor-dummy,vukasinmilosevic/root,esakellari/my_root_for_test,omazapa/root-old,davidlt/root,omazapa/root-old,alexschlueter/cern-root,sawenzel/root,esakellari/root,olifre/root,CristinaCristescu/root,CristinaCristescu/root,mhuwiler/rootauto,jrtomps/root,gganis/root,cxx-hep/root-cern,lgiommi/root,zzxuanyuan/root-compressor-dummy,zzxuanyuan/root-compressor-dummy,pspe/root,Y--/root,perovic/root,satyarth934/root,bbockelm/root,esakellari/my_root_for_test,georgtroska/root,bbockelm/root,arch1tect0r/root,abhinavmoudgil95/root,beniz/root,esakellari/my_root_for_test,root-mirror/root,dfunke/root,zzxuanyuan/root,mhuwiler/rootauto,thomaskeck/root,esakellari/root,vukasinmilosevic/root,zzxuanyuan/root,pspe/root,veprbl/root,smarinac/root,esakellari/root,lgiommi/root,krafczyk/root,karies/root,beniz/root,alexschlueter/cern-root,arch1tect0r/root,davidlt/root,gbitzes/root,cxx-hep/root-cern,sirinath/root,ffurano/root5,jrtomps/root,krafczyk/root,root-mirror/root,esakellari/root,evgeny-boger/root,dfunke/root,Duraznos/root,gbitzes/root,mkret2/root,zzxuanyuan/root-compressor-dummy,vukasinmilosevic/root,arch1tect0r/root,BerserkerTroll/root,BerserkerTroll/root,gbitzes/root,krafczyk/root,karies/root,agarciamontoro/root,olifre/root,sawenzel/root,buuck/root,mattkretz/root,karies/root,evgeny-boger/root,lgiommi/root,mhuwiler/rootauto,sawenzel/root,krafczyk/root,davidlt/root,buuck/root,abhinavmoudgil95/root,pspe/root,BerserkerTroll/root,cxx-hep/root-cern,karies/root,gganis/root,omazapa/root,esakellari/my_root_for_test,mkret2/root,vukasinmilosevic/root,zzxuanyuan/root-compressor-dummy,georgtroska/root,CristinaCristescu/root,davidlt/root,sirinath/root,evgeny-boger/root,nilqed/root,perovic/root,0x0all/ROOT,karies/root,kirbyherm/root-r-tools,beniz/root,Duraznos/root,lgiommi/root,krafczyk/root,zzxuanyuan/root,gbitzes/root,esakellari/root,smarinac/root,bbockelm/root,georgtroska/root,bbockelm/root,olifre/root,0x0all/ROOT,pspe/root,omazapa/root,sawenzel/root,omazapa/root,georgtroska/root,lgiommi/root,olifre/root,BerserkerTroll/root,veprbl/root,sirinath/root,beniz/root,zzxuanyuan/root-compressor-dummy,ffurano/root5,sawenzel/root,CristinaCristescu/root,mhuwiler/rootauto,georgtroska/root,dfunke/root,Y--/root,0x0all/ROOT,arch1tect0r/root,dfunke/root,Y--/root,satyarth934/root,gganis/root,bbockelm/root,cxx-hep/root-cern,thomaskeck/root,evgeny-boger/root,zzxuanyuan/root-compressor-dummy,beniz/root,vukasinmilosevic/root,abhinavmoudgil95/root,bbockelm/root,karies/root,Duraznos/root,root-mirror/root,perovic/root,alexschlueter/cern-root,jrtomps/root,esakellari/root,lgiommi/root,esakellari/root,CristinaCristescu/root,esakellari/my_root_for_test,ffurano/root5,omazapa/root-old,pspe/root,abhinavmoudgil95/root,tc3t/qoot,0x0all/ROOT,buuck/root,vukasinmilosevic/root,buuck/root,zzxuanyuan/root-compressor-dummy,smarinac/root,ffurano/root5,Duraznos/root,nilqed/root,abhinavmoudgil95/root,nilqed/root,satyarth934/root,simonpf/root,sirinath/root,georgtroska/root,strykejern/TTreeReader,esakellari/my_root_for_test,beniz/root,arch1tect0r/root,gbitzes/root,olifre/root,simonpf/root,karies/root,krafczyk/root,CristinaCristescu/root,sawenzel/root,olifre/root,veprbl/root,satyarth934/root,veprbl/root,gganis/root,zzxuanyuan/root,krafczyk/root,evgeny-boger/root,arch1tect0r/root,perovic/root,omazapa/root,alexschlueter/cern-root,jrtomps/root,gganis/root,georgtroska/root,pspe/root,sbinet/cxx-root,karies/root,simonpf/root,kirbyherm/root-r-tools,sirinath/root,omazapa/root,arch1tect0r/root,agarciamontoro/root,perovic/root,Duraznos/root,Dr15Jones/root,CristinaCristescu/root,strykejern/TTreeReader,davidlt/root,zzxuanyuan/root,davidlt/root,smarinac/root,nilqed/root,zzxuanyuan/root,evgeny-boger/root,omazapa/root,dfunke/root,esakellari/root,strykejern/TTreeReader,Dr15Jones/root,root-mirror/root,ffurano/root5,Dr15Jones/root,omazapa/root,evgeny-boger/root,mattkretz/root,veprbl/root,vukasinmilosevic/root,pspe/root,pspe/root,buuck/root,mattkretz/root,abhinavmoudgil95/root,tc3t/qoot,mattkretz/root,karies/root,lgiommi/root,beniz/root,georgtroska/root,sirinath/root,cxx-hep/root-cern,Y--/root,zzxuanyuan/root,Dr15Jones/root,omazapa/root,olifre/root,karies/root,sbinet/cxx-root,gbitzes/root,BerserkerTroll/root,bbockelm/root,root-mirror/root,tc3t/qoot,jrtomps/root,mkret2/root,mhuwiler/rootauto,jrtomps/root,esakellari/root,vukasinmilosevic/root,mkret2/root,dfunke/root,davidlt/root,nilqed/root,thomaskeck/root,0x0all/ROOT,BerserkerTroll/root,omazapa/root-old,olifre/root,dfunke/root,sbinet/cxx-root,veprbl/root,gbitzes/root,omazapa/root-old,agarciamontoro/root,gganis/root,Dr15Jones/root,sbinet/cxx-root,mattkretz/root,krafczyk/root,smarinac/root,sirinath/root,georgtroska/root,olifre/root,sawenzel/root,sbinet/cxx-root,BerserkerTroll/root,sawenzel/root,thomaskeck/root,evgeny-boger/root,smarinac/root,kirbyherm/root-r-tools,omazapa/root-old