groups

name language licence
Reading a TRefArray C++ Other
SetDirectory C++ Other
MCEvents tree simple analysis C++ Other
Fitting to functions C++ Other
Load and execute a macro C++ Other
Feng's wierd way of making time plots C++ Other
Check to see if a file exists C++ Other
Creating a TTree C++ Other

< 1 2 3 4 5 >



language: C++
licence: Other

Reading a TRefArray

options: view full snippetsend to code collector
      TRefArray *h = (TRefArray*)smuon->GetGoodFollowers();
      for ( Int_t j  = 0 ; j < h->GetEntries() ; j++ ) {
         SFollower *f = (SFollower*)h.At(j);
         cout << f->GetEnergy() << endl;
      }

	
(Continues...)