/[PAMELA software]/PamelaLevel2/doc/examples/example1.C
ViewVC logotype

Diff of /PamelaLevel2/doc/examples/example1.C

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by pam-fi, Mon Jan 15 11:51:39 2007 UTC revision 1.4 by mocchiut, Tue Jan 16 15:26:26 2007 UTC
# Line 51  void example1(TString file){ Line 51  void example1(TString file){
51      TFile f(file);      TFile f(file);
52      //      //
53      TTree *T = pam_event->GetPamTree(&f);          // << get Pamela trees from file f      TTree *T = pam_event->GetPamTree(&f);          // << get Pamela trees from file f
54    
55      Int_t nevent = T->GetEntries();      Int_t nevent = T->GetEntries();
56      //      //
57      cout << endl<<" Start loop over events   ";      cout << endl<<" Start loop over events   ";

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.23