]> git.uio.no Git - u/mrichter/AliRoot.git/blob - JETAN/AliJetHeader.cxx
Protections for coverity: DIVIDE_BY_ZERO
[u/mrichter/AliRoot.git] / JETAN / AliJetHeader.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 //---------------------------------------------------------------------
17 // Jet header base class 
18 // Stores a comment which describes the jet analysis
19 // Author: jgcn@mda.cinvestav.mx
20 //---------------------------------------------------------------------
21
22 #include "AliJetHeader.h"
23 ClassImp(AliJetHeader)
24  
25  
26 ////////////////////////////////////////////////////////////////////////
27
28 AliJetHeader::AliJetHeader():
29   TNamed("AliJetHeader", "Jet Header"),
30   fComment("No comment"),
31   fJetEtaMax(0.5),
32   fJetEtaMin(-0.5),
33   fJetPhiMax(2*TMath::Pi()),
34   fJetPhiMin(0.),
35   fDebug(0)
36 {
37   //
38   // Default constructor
39   //
40
41 }
42  
43 ////////////////////////////////////////////////////////////////////////
44
45 AliJetHeader::AliJetHeader(const char * name):
46   TNamed(name, "Jet Header"),
47   fComment("No comment"),
48   fJetEtaMax(0.5),
49   fJetEtaMin(-0.5),
50   fJetPhiMax(2*TMath::Pi()),
51   fJetPhiMin(0.),
52   fDebug(0)
53 {
54   //
55   // Constructor
56   //
57
58 }
59
60 ////////////////////////////////////////////////////////////////////////
61
62