Parent Directory | Revision Log | 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 "; |
|
ViewVC Help | |
Powered by ViewVC 1.1.23 |