1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
17 //---------------------------------------------------------------------
18 // Service class for jet production data
19 // Author: Andreas Morsch
20 // andreas.morsch@cern.ch
21 //---------------------------------------------------------------------
24 #include "AliJetProductionData.h"
27 ClassImp(AliJetProductionData)
30 ////////////////////////////////////////////////////////////////////////
32 AliJetProductionData::AliJetProductionData()
40 ////////////////////////////////////////////////////////////////////////
42 AliJetProductionData::~AliJetProductionData()
50 void AliJetProductionData::GetPtHardLimits(Int_t bin, Float_t& ptmin, Float_t& ptmax)
52 // Get pt_hard limits for given bin
53 if (bin >= 0 && bin < fNbins) {
54 ptmin = fPtHardLimits[bin];
55 ptmax = fPtHardLimits[bin + 1];
57 AliFatal("Bin out of range !");
61 TString AliJetProductionData::GetRunTitle(Int_t bin)
63 // Get run title for given bin
65 if (bin < 0 || bin >= fNbins)
66 AliFatal("Bin out of range !");
68 return fRunTitles[bin];
71 Float_t AliJetProductionData::GetWeight(Int_t bin)
73 // Get weight for given bin
74 if (bin < 0 || bin >= fNbins)
75 AliFatal("Bin out of range !");