Add a protection to avoid crash in QA (Julian)
[u/mrichter/AliRoot.git] / JETAN / AliJetReaderHeader.cxx
CommitLineData
99e5fe42 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
83a444b1 16//-------------------------------------------------------------------------
17//-------------------------------------------------------------------------
99e5fe42 18// base class for Jet Reader Header
19// Author: jgcn@mda.cinvestav.mx
83a444b1 20//-------------------------------------------------------------------------
99e5fe42 21
ee7de0dd 22#include <TMath.h>
23
99e5fe42 24#include "AliJetReaderHeader.h"
25
26ClassImp(AliJetReaderHeader)
27
28////////////////////////////////////////////////////////////////////////
29
30AliJetReaderHeader::AliJetReaderHeader():
31 TNamed("AliJetReaderHeader", "Jet Reader Header"),
1b7d5d7e 32 fFirst(0),
33 fLast(-1),
4faf4c3d 34 fOption(0),
8838ab7a 35 fCluster(0),
9e4cc50d 36 fDebug(0),
ee7de0dd 37 fDZ(0),
4faf4c3d 38 fSignalPerBg(0),
1b7d5d7e 39 fFiducialEtaMin(-0.9),
40 fFiducialEtaMax(0.9),
ee7de0dd 41 fFiducialPhiMin(0.),
42 fFiducialPhiMax(2*TMath::Pi()),
1b7d5d7e 43 fPtCut(2.0),
1b7d5d7e 44 fComment("No comment"),
45 fDir(""),
4faf4c3d 46 fBgDir(""),
f45e6f72 47 fPattern(""),
48 fMatricesEMCAL("survey11"),
49 fGeomEMCAL("EMCAL_COMPLETEV1"),
50 fMyOADBfile("")
99e5fe42 51{
1b7d5d7e 52 // Default constructor
99e5fe42 53}
54
55////////////////////////////////////////////////////////////////////////
56
57AliJetReaderHeader::AliJetReaderHeader(const char * name):
58 TNamed(name, "Jet Reader Header"),
1b7d5d7e 59 fFirst(0),
60 fLast(-1),
4faf4c3d 61 fOption(0),
8838ab7a 62 fCluster(0),
ee7de0dd 63 fDebug(0),
9e4cc50d 64 fDZ(0),
4faf4c3d 65 fSignalPerBg(0),
1b7d5d7e 66 fFiducialEtaMin(-0.9),
67 fFiducialEtaMax(0.9),
ee7de0dd 68 fFiducialPhiMin(0.),
69 fFiducialPhiMax(2*TMath::Pi()),
1b7d5d7e 70 fPtCut(2.0),
1b7d5d7e 71 fComment("No comment"),
72 fDir(""),
4faf4c3d 73 fBgDir(""),
f45e6f72 74 fPattern(""),
75 fMatricesEMCAL("survey11"),
76 fGeomEMCAL("EMCAL_COMPLETEV1"),
77 fMyOADBfile("")
99e5fe42 78{
99e5fe42 79 // Constructor
99e5fe42 80}
81
82////////////////////////////////////////////////////////////////////////
83
84AliJetReaderHeader::~AliJetReaderHeader()
85{
86 // destructor
83a444b1 87
99e5fe42 88}