Fixes for coverity.
[u/mrichter/AliRoot.git] / JETAN / AliJetReaderHeader.cxx
1 /**************************************************************************
2  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3  *                                                                        *
4  * Author: The ALICE Off-line Project.                                    *
5  * Contributors are mentioned in the code where appropriate.              *
6  *                                                                        *
7  * Permission to use, copy, modify and distribute this software and its   *
8  * documentation strictly for non-commercial purposes is hereby granted   *
9  * without fee, provided that the above copyright notice appears in all   *
10  * copies and that both the copyright notice and this permission notice   *
11  * appear in the supporting documentation. The authors make no claims     *
12  * about the suitability of this software for any purpose. It is          *
13  * provided "as is" without express or implied warranty.                  *
14  **************************************************************************/
15
16 /* $Id$ */
17  
18 //-------------------------------------------------------------------------
19 // base class for Jet Reader Header 
20 // Author: jgcn@mda.cinvestav.mx
21 //-------------------------------------------------------------------------
22
23 #include <TMath.h>
24
25 #include "AliJetReaderHeader.h"
26 #include "AliEMCALRecoUtils.h"
27
28 ClassImp(AliJetReaderHeader)
29
30 ////////////////////////////////////////////////////////////////////////
31
32 AliJetReaderHeader::AliJetReaderHeader():  
33   TNamed("AliJetReaderHeader", "Jet Reader Header"),
34   fOption(0),
35   fCluster(0),
36   fDebug(0),
37   fFiducialEtaMin(-0.9),
38   fFiducialEtaMax(0.9),
39   fFiducialPhiMin(0.),
40   fFiducialPhiMax(2*TMath::Pi()),
41   fPtCut(2.0),
42   fEtCellCut(0.0),
43   fComment("No comment"),
44   fDir(""),
45   fMatricesEMCAL("survey11"),
46   fGeomEMCAL("EMCAL_COMPLETEV1"),
47   fMyOADBfile(""),
48   fTestFilterMask(0),
49   fFilterType(0),
50   fReadSignalOnly(kFALSE),
51   fReadBkgdOnly(kFALSE),
52   fDataType(""),
53   fIsHighMult(kFALSE)
54 {
55   // Default constructor
56 }
57
58 //-----------------------------------------------------------------------
59 AliJetReaderHeader::AliJetReaderHeader(Int_t det):
60   TNamed("AliJetReaderHeader", "Jet Reader Header"),
61   fOption(det),
62   fCluster(0),
63   fDebug(0),
64   fFiducialEtaMin(-0.9),
65   fFiducialEtaMax(0.9),
66   fFiducialPhiMin(0.),
67   fFiducialPhiMax(2*TMath::Pi()),
68   fPtCut(2.0),
69   fEtCellCut(0.0),
70   fComment("No comment"),
71   fDir(""),
72   fMatricesEMCAL("survey11"),
73   fGeomEMCAL("EMCAL_COMPLETEV1"),
74   fMyOADBfile(""),
75   fTestFilterMask(0),
76   fFilterType(0),
77   fReadSignalOnly(kFALSE),
78   fReadBkgdOnly(kFALSE),
79   fDataType(""),
80   fIsHighMult(kFALSE)
81 {
82   // Constructor 
83
84 }
85
86 //-----------------------------------------------------------------------
87 AliJetReaderHeader::AliJetReaderHeader(const char * name):
88   TNamed(name, "Jet Reader Header"),
89   fOption(0),
90   fCluster(0),
91   fDebug(0),
92   fFiducialEtaMin(-0.9),
93   fFiducialEtaMax(0.9),
94   fFiducialPhiMin(0.),
95   fFiducialPhiMax(2*TMath::Pi()),
96   fPtCut(2.0),
97   fEtCellCut(0.0),
98   fComment("No comment"),
99   fDir(""),
100   fMatricesEMCAL("survey11"),
101   fGeomEMCAL("EMCAL_COMPLETEV1"),
102   fMyOADBfile(""),
103   fTestFilterMask(0),
104   fFilterType(0),
105   fReadSignalOnly(kFALSE),
106   fReadBkgdOnly(kFALSE),
107   fDataType(""),
108   fIsHighMult(kFALSE)
109 {
110   // Constructor 2
111
112 }
113
114
115 //-----------------------------------------------------------------------
116 AliJetReaderHeader::~AliJetReaderHeader()
117 {
118   // destructor
119
120 }