laura is hosted by Hepforge, IPPP Durham
Laura++  3.6.0
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauPrint.hh
Go to the documentation of this file.
1 
2 /*
3 Copyright 2004 University of Warwick
4 
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8 
9  http://www.apache.org/licenses/LICENSE-2.0
10 
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16 */
17 
18 /*
19 Laura++ package authors:
20 John Back
21 Paul Harrison
22 Thomas Latham
23 */
24 
29 #ifndef LAU_PRINT
30 #define LAU_PRINT
31 
32 #include "Rtypes.h"
33 
34 #include <iosfwd>
35 
40 enum class LauOutputLevel {
41  None = -1,
42  Quiet = 0,
43  Standard = 1,
44  Verbose = 2,
45  ExtraVerbose = 3
46 };
47 
54 class LauPrint {
55 
56  public:
58  LauPrint();
59 
61  virtual ~LauPrint();
62 
64 
68  void printFormat( std::ostream& stream, Double_t value ) const;
69 
70  private:
72  LauPrint( const LauPrint& rhs );
73 
75  LauPrint& operator=( const LauPrint& rhs );
76 
77  ClassDef( LauPrint, 0 )
78 };
79 
80 #endif
@ Verbose
Verbose printout.
@ Standard
Normal level of printout.
@ ExtraVerbose
Highly verbose printout.
LauPrint & operator=(const LauPrint &rhs)
Copy assignment operator (not implemented)
@ Quiet
Reduced printout.
@ None
Zero printout.
LauOutputLevel
Enumeration to define verbosity level for various printouts.
Definition: LauPrint.hh:40
virtual ~LauPrint()
Destructor.
Definition: LauPrint.cc:39
Class to define various output print commands.
Definition: LauPrint.hh:54
LauPrint(const LauPrint &rhs)
Copy constructor (not implemented)
LauPrint()
Constructor.
Definition: LauPrint.cc:35
void printFormat(std::ostream &stream, Double_t value) const
Method to choose the printing format to a specified level of precision.
Definition: LauPrint.cc:43