1 /**************************************************************************
2 * Copyright(c) 1998-2007, 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 **************************************************************************/
16 //-------------------------------------------------------------------------
17 // AOD class for jet backgrounds
18 // Author: Christian Klein-Boesing IKP Muenster
19 //-------------------------------------------------------------------------
22 #include "AliAODJetEventBackground.h"
26 ClassImp(AliAODJetEventBackground)
28 TString AliAODJetEventBackground::fgkStdBranchName("jeteventbackground");
32 //______________________________________________________________________________
33 AliAODJetEventBackground::AliAODJetEventBackground() :
36 for(int i = 0;i < kMaxBackground;++i){
41 //______________________________________________________________________________
42 AliAODJetEventBackground::~AliAODJetEventBackground()
49 //______________________________________________________________________________
50 AliAODJetEventBackground::AliAODJetEventBackground(const AliAODJetEventBackground& back) :
56 for(int i = 0;i < kMaxBackground;++i){
57 fBackground[i] = back.fBackground[i];
62 //______________________________________________________________________________
63 AliAODJetEventBackground& AliAODJetEventBackground::operator=(const AliAODJetEventBackground& back)
66 // Assignment operator
70 TNamed::operator=(back);
71 for(int i = 0;i < kMaxBackground;++i){
72 fBackground[i] = back.fBackground[i];
79 void AliAODJetEventBackground::Print(Option_t* /*option*/) const
82 // Print information of all data members
85 printf("Jet EventBackground :\n");
86 for(int i = 0;i < kMaxBackground;++i){
87 printf("%d: %3.E GeV \n",i,fBackground[i]);
91 void AliAODJetEventBackground::Reset()
94 // reset information of all data members
96 for(int i = 0;i < kMaxBackground;++i){