Parent Directory | Revision Log | Patch
revision 1.1 by pam-fi, Fri Nov 13 16:37:13 2009 UTC | revision 1.2 by pam-fi, Tue Nov 24 09:56:52 2009 UTC | |
---|---|---|
# | Line 12 TreeOutputAction::TreeOutputAction(const | Line 12 TreeOutputAction::TreeOutputAction(const |
12 | } | } |
13 | ||
14 | TreeOutputAction::~TreeOutputAction() { | TreeOutputAction::~TreeOutputAction() { |
15 | _outFile->Close(); | |
16 | delete _outFile; | delete _outFile; |
17 | _outFile = NULL; | _outFile = NULL; |
18 | } | } |
# | Line 34 void TreeOutputAction::OnGood(PamLevel2 | Line 35 void TreeOutputAction::OnGood(PamLevel2 |
35 | void TreeOutputAction::Finalize() { | void TreeOutputAction::Finalize() { |
36 | ||
37 | _outFile->cd(); | _outFile->cd(); |
//cout << _tree->GetEntries() << endl; | ||
38 | _tree->Write(); | _tree->Write(); |
39 | ||
_outFile->Close(); | ||
40 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.23 |