#pragma link C++ class AliAODPmdCluster+;
#pragma link C++ class AliAODFmdCluster+;
#pragma link C++ class AliAODJet+;
+#pragma link C++ class AliAODPWG4JetEventBackground+;
#pragma link C++ class AliAODPhoton+;
#pragma link C++ class AliAODRedCov<3>+;
#pragma link C++ class AliAODRedCov<4>+;
--- /dev/null
+/**************************************************************************
+ * Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
+ * *
+ * Author: The ALICE Off-line Project. *
+ * Contributors are mentioned in the code where appropriate. *
+ * *
+ * Permission to use, copy, modify and distribute this software and its *
+ * documentation strictly for non-commercial purposes is hereby granted *
+ * without fee, provided that the above copyright notice appears in all *
+ * copies and that both the copyright notice and this permission notice *
+ * appear in the supporting documentation. The authors make no claims *
+ * about the suitability of this software for any purpose. It is *
+ * provided "as is" without express or implied warranty. *
+ **************************************************************************/
+
+//-------------------------------------------------------------------------
+// AOD class for PWG4 jet backgrounds
+// Author: Christian Klein-Boesing IKP Muenster
+//-------------------------------------------------------------------------
+
+
+#include "AliAODPWG4JetEventBackground.h"
+
+using namespace std;
+
+ClassImp(AliAODPWG4JetEventBackground)
+
+TString AliAODPWG4JetEventBackground::fgkStdBranchName("jeteventbackground");
+
+
+
+//______________________________________________________________________________
+AliAODPWG4JetEventBackground::AliAODPWG4JetEventBackground() :
+ TObject()
+{
+ for(int i = 0;i < kMaxBackground;++i){
+ fBackground[i] = 0;
+ }
+}
+
+//______________________________________________________________________________
+AliAODPWG4JetEventBackground::~AliAODPWG4JetEventBackground()
+{
+ //
+ // destructor
+ //
+}
+
+//______________________________________________________________________________
+AliAODPWG4JetEventBackground::AliAODPWG4JetEventBackground(const AliAODPWG4JetEventBackground& back) :
+ TObject(back)
+{
+ //
+ // Copy constructor
+ //
+ for(int i = 0;i < kMaxBackground;++i){
+ fBackground[i] = back.fBackground[i];
+ }
+
+}
+
+//______________________________________________________________________________
+AliAODPWG4JetEventBackground& AliAODPWG4JetEventBackground::operator=(const AliAODPWG4JetEventBackground& back)
+{
+ //
+ // Assignment operator
+ //
+
+ if(this!=&back) {
+ TObject::operator=(back);
+ for(int i = 0;i < kMaxBackground;++i){
+ fBackground[i] = back.fBackground[i];
+ }
+ }
+
+ return *this;
+}
+
+void AliAODPWG4JetEventBackground::Print(Option_t* /*option*/) const
+{
+ //
+ // Print information of all data members
+ //
+
+ printf("Jet EventBackground :\n");
+ for(int i = 0;i < kMaxBackground;++i){
+ printf("%d: %3.E GeV \n",i,fBackground[i]);
+ }
+}
--- /dev/null
+#ifndef AliPWG4AODJETBACKGROUND_H
+#define AliPWG4AODJETBACKGROUND_H
+/* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice */
+
+//-------------------------------------------------------------------------
+// AOD jet background class
+// Stores Different background calculations on an event by event level
+// Author: Christian Klein-Boesing, IKP Muenster
+//-------------------------------------------------------------------------
+
+#include "TObject.h"
+#include "TString.h";
+
+
+class AliAODPWG4JetEventBackground : public TObject {
+
+ public:
+ AliAODPWG4JetEventBackground();
+ virtual ~AliAODPWG4JetEventBackground();
+ AliAODPWG4JetEventBackground(const AliAODPWG4JetEventBackground& jet);
+ AliAODPWG4JetEventBackground& operator=(const AliAODPWG4JetEventBackground& jet);
+
+
+ virtual void SetBackground(Int_t i,Double_t back){
+ fBackground[i] = back;
+ }
+
+ virtual Double_t GetBackground(Int_t i){
+ if(i>=0&&i<kMaxBackground)return fBackground[i];
+ return 0;
+ }
+
+ static const char* StdBranchName(){return fgkStdBranchName.Data();}
+ virtual void Print(Option_t* /*option*/) const;
+
+ enum { kSmallR = 0,
+ kOnlyCharged,
+ kOutOfCone,
+ kStatistical,
+ kMaxBackground};
+
+ private:
+ static TString fgkStdBranchName; // Standard branch name
+ Double32_t fBackground[kMaxBackground]; // Background from different schemes, normalized to area
+ ClassDef(AliAODPWG4JetEventBackground,1);
+
+};
+
+
+#endif
AliAODEvent.cxx AliAODHeader.cxx
AliAODTrack.cxx AliAODPid.cxx AliAODVertex.cxx
AliAODCluster.cxx AliAODCaloCluster.cxx AliAODPmdCluster.cxx AliAODFmdCluster.cxx
- AliAODJet.cxx AliAODPhoton.cxx AliAODRedCov.cxx AliAODRecoDecay.cxx
+ AliAODJet.cxx AliAODPWG4JetEventBackground.cxx AliAODPhoton.cxx AliAODRedCov.cxx AliAODRecoDecay.cxx
AliAODHandler.cxx AliAODTracklets.cxx AliAODTagCreator.cxx
AliAODv0.cxx AliAODcascade.cxx AliAODCaloCells.cxx AliAODInputHandler.cxx
AliMultiAODInputHandler.cxx AliAODDiJet.cxx AliAODMCParticle.cxx AliAODMCHeader.cxx
SRCS = AliAODEvent.cxx AliAODHeader.cxx \
AliAODTrack.cxx AliAODPid.cxx AliAODVertex.cxx \
AliAODCluster.cxx AliAODCaloCluster.cxx AliAODPmdCluster.cxx AliAODFmdCluster.cxx \
- AliAODJet.cxx AliAODPhoton.cxx AliAODRedCov.cxx AliAODRecoDecay.cxx \
+ AliAODJet.cxx AliAODPWG4JetEventBackground.cxx AliAODPhoton.cxx AliAODRedCov.cxx AliAODRecoDecay.cxx \
AliAODHandler.cxx AliAODTracklets.cxx AliAODTagCreator.cxx \
AliAODv0.cxx AliAODcascade.cxx AliAODCaloCells.cxx AliAODInputHandler.cxx \
AliMultiAODInputHandler.cxx AliAODDiJet.cxx AliAODMCParticle.cxx AliAODMCHeader.cxx