Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:18:21

0001 /* Copyright 2015, Ludwig-Maximilians-Universität München
0002    Authors: Tobias Schlüter
0003 
0004    This file is part of GENFIT.
0005 
0006    GENFIT is free software: you can redistribute it and/or modify
0007    it under the terms of the GNU Lesser General Public License as published
0008    by the Free Software Foundation, either version 3 of the License, or
0009    (at your option) any later version.
0010 
0011    GENFIT is distributed in the hope that it will be useful,
0012    but WITHOUT ANY WARRANTY; without even the implied warranty of
0013    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0014    GNU Lesser General Public License for more details.
0015 
0016    You should have received a copy of the GNU Lesser General Public License
0017    along with GENFIT.  If not, see <http://www.gnu.org/licenses/>.
0018 */
0019 
0020 #ifndef genfit_IO_h
0021 #define genfit_IO_h
0022 
0023 /** @brief Defines for I/O streams used for error and debug printing.
0024  */
0025 
0026 #include <ostream>
0027 
0028 namespace genfit {
0029 
0030 /** Default stream for debug output.  Defaults to std::cout.
0031    Override destination with debugOut.rdbuf(newStream.rdbuf()).  */
0032 extern std::ostream debugOut;
0033 /** Default stream for error output.  Defaults to std::cerr.
0034     Override destination with errorOut.rdbuf(newStream.rdbuf()).  */
0035 extern std::ostream errorOut;
0036 /** Default stream for output of Print calls.  Defaults to std::cout.
0037    Override destination with printOut.rdbuf(newStream.rdbuf()).  */
0038 extern std::ostream printOut;
0039 
0040 }
0041 
0042 #endif