git://git.uio.no
/
u
/
mrichter
/
AliRoot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e11827
)
Protect against no current file in FinishEvent
author
fca
<fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 1 Oct 1999 09:24:40 +0000
(09:24 +0000)
committer
fca
<fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 1 Oct 1999 09:24:40 +0000
(09:24 +0000)
MUON/AliMUON.cxx
patch
|
blob
|
blame
|
history
diff --git
a/MUON/AliMUON.cxx
b/MUON/AliMUON.cxx
index 2ea059a15062c52ea9c38e6c7a1dac3b04a30abd..3987e22b7aef1b55e0a77cb2dfd9dfa4149f00dc 100644
(file)
--- a/
MUON/AliMUON.cxx
+++ b/
MUON/AliMUON.cxx
@@
-15,6
+15,9
@@
/*
$Log$
+Revision 1.9 1999/09/29 09:24:20 fca
+Introduction of the Copyright and cvs Log
+
*/
////////////////////////////////////////////////
@@
-1812,9
+1815,10
@@
void AliMUON::InitTracking(Double_t &seff, Double_t &sb0, Double_t &sbl3)
void AliMUON::FinishEvent()
{
TTree *TK = gAlice->TreeK();
- TFile *file1 = 0;
- if (TK) file1 = TK->GetCurrentFile();
- file1->cd();
+ if (TK) {
+ TFile *file1 = TK->GetCurrentFile();
+ if(file1) file1->cd();
+ }
}
void AliMUON::CloseTracking()