]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGHF/hfe/AliHFEVZEROEventPlane.h
Add components for jet analysis on mc and rec jets
[u/mrichter/AliRoot.git] / PWGHF / hfe / AliHFEVZEROEventPlane.h
index e0f1ac3e17cb2832d3488e623ec04a9367b42cf5..38b41042b25b44b4230319d72e0f468c4a766b5d 100644 (file)
@@ -1,14 +1,32 @@
+/**************************************************************************
+* Copyright(c) 1998-1999, 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.                  *
+**************************************************************************/
+//
 //
 // VZERO event plane task for 2010
+// Gain equalization + Recentering 
+// Need a root file
+//
 //
-#ifndef AliHFEVZEROEVENTPLANE_H
-#define AliHFEVZEROEVENTPLANE_H
+#ifndef ALIHFEVZEROEVENTPLANE_H
+#define ALIHFEVZEROEVENTPLANE_H
 
 #include "TProfile.h"
-#include <AliESDEvent.h>
+#include <AliVEvent.h>
 #include "TString.h"
-#include "TH1F.h"
-#include "TList.h"
+//#include "TH1F.h"
+//#include "TList.h"
 
 
 class AliHFEVZEROEventPlane : public TNamed {
@@ -20,7 +38,7 @@ class AliHFEVZEROEventPlane : public TNamed {
   virtual void Copy(TObject &o) const;
   ~AliHFEVZEROEventPlane();
 
-  void ProcessEvent(AliESDEvent *event);
+  void ProcessEvent(AliVEvent *event);
   
   void  SetNameFile(TString namefile) {fnamefile = namefile;};
   Bool_t OpenInfoCalbration(Int_t run);
@@ -32,13 +50,13 @@ class AliHFEVZEROEventPlane : public TNamed {
   TList *GetOutputList() const {return fOutputList;};
 
  private:
-  virtual void Analyze(AliESDEvent* esdEvent); 
+  virtual void Analyze(AliVEvent* esdEvent); 
 
   Double_t fEventPlaneV0A;          // Corrected event plane V0A
   Double_t fEventPlaneV0C;          // Corrected event plane V0C
   Double_t fEventPlaneV0;           // Corrected event plane V0
 
-  AliESDEvent* fESD;                //! ESD object
+  AliVEvent* fESD;                  //! ESD object
   Int_t        fRun;                // Run number
   TProfile *fMultV0;                //! fMultiplicityV0
   Float_t fV0Cpol,fV0Apol;          // fV0Cpol, fV0Apol