--- PamCut/CollectionActions/SaveEventsAction/SaveEventsAction.cpp 2010/06/03 14:30:48 1.3.2.1 +++ PamCut/CollectionActions/SaveEventsAction/SaveEventsAction.cpp 2010/06/24 17:20:19 1.3.2.2 @@ -41,37 +41,37 @@ // Set the output file size TTree * currTree = NULL; - if (currTree = _events->GetCloneTree("Run")) + if ((currTree = _events->GetCloneTree("Run"))) currTree->SetMaxTreeSize(_maxFileSize); currTree = NULL; - if (currTree = _events->GetCloneTree("SelectionList")) + if ((currTree = _events->GetCloneTree("SelectionList"))) currTree->SetMaxTreeSize(_maxFileSize); currTree = NULL; - if (currTree = _events->GetCloneTree("Tracker")) + if ((currTree = _events->GetCloneTree("Tracker"))) currTree->SetMaxTreeSize(_maxFileSize); currTree = NULL; - if (currTree = _events->GetCloneTree("Calorimeter")) + if ((currTree = _events->GetCloneTree("Calorimeter"))) currTree->SetMaxTreeSize(_maxFileSize); currTree = NULL; - if (currTree = _events->GetCloneTree("ToF")) + if ((currTree = _events->GetCloneTree("ToF"))) currTree->SetMaxTreeSize(_maxFileSize); currTree = NULL; - if (currTree = _events->GetCloneTree("Trigger")) + if ((currTree = _events->GetCloneTree("Trigger"))) currTree->SetMaxTreeSize(_maxFileSize); currTree = NULL; - if (currTree = _events->GetCloneTree("S4")) + if ((currTree = _events->GetCloneTree("S4"))) currTree->SetMaxTreeSize(_maxFileSize); currTree = NULL; - if (currTree = _events->GetCloneTree("NeutronD")) + if ((currTree = _events->GetCloneTree("NeutronD"))) currTree->SetMaxTreeSize(_maxFileSize); currTree = NULL; - if (currTree = _events->GetCloneTree("Anticounter")) + if ((currTree = _events->GetCloneTree("Anticounter"))) currTree->SetMaxTreeSize(_maxFileSize); currTree = NULL; - if (currTree = _events->GetCloneTree("OrbitalInfo")) + if ((currTree = _events->GetCloneTree("OrbitalInfo"))) currTree->SetMaxTreeSize(_maxFileSize); currTree = NULL; - if (currTree = _events->GetCloneTree("h20")) + if ((currTree = _events->GetCloneTree("h20"))) currTree->SetMaxTreeSize(_maxFileSize); }