Modifications needed to run analysis with proof.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 5 Apr 2007 16:30:21 +0000 (16:30 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 5 Apr 2007 16:30:21 +0000 (16:30 +0000)
JETAN/AliJetHadronCorrection.h
JETAN/AliJetHadronCorrectionv0.h
JETAN/AliJetHadronCorrectionv1.h
JETAN/AliJetReader.h
JETAN/AliUA1JetFinderV1.h

index 3a7635b..26c65ab 100644 (file)
 class AliJetHadronCorrection : public TNamed {
 
   public:
-  AliJetHadronCorrection(const char *name="name", const char *title="title");
-  virtual ~AliJetHadronCorrection() {} 
+    AliJetHadronCorrection();
+    AliJetHadronCorrection(const char *name, const char *title);
+    virtual ~AliJetHadronCorrection() {} 
 
   // Add for particle
-  virtual Double_t GetEnergy(Double_t pmom, Double_t eta, Int_t gid)=0; 
+    virtual Double_t GetEnergy(Double_t pmom, Double_t eta, Int_t gid)=0; 
 
-  ClassDef(AliJetHadronCorrection,1) // Hadron correction for EMC (abstract class)
+    ClassDef(AliJetHadronCorrection,1) // Hadron correction for EMC (abstract class)
 };
 
 #endif // ALIJETHADRONCORRECTION_H
index 68d53eb..998fbc1 100644 (file)
@@ -16,7 +16,8 @@ class AliJetHadronCorrectionv0: public AliJetHadronCorrection {
   static AliJetHadronCorrectionv0* fHadrCorr;
 
   protected:
-  AliJetHadronCorrectionv0(const char *name="HadronCorrectionv0", const char *title="title");
+  AliJetHadronCorrectionv0() {;}
+  AliJetHadronCorrectionv0(const char *name, const char *title);
 
   public:
   static  AliJetHadronCorrectionv0* Instance();
index 73630d1..b8da7fc 100644 (file)
@@ -18,27 +18,28 @@ class AliJetDummyGeo;
 class AliJetHadronCorrectionv1 : public AliJetHadronCorrection 
 {
  public:
-  static  AliJetHadronCorrectionv1* Instance();
-  virtual Double_t GetEnergy(Double_t pmom, Double_t eta, Int_t gid); 
-  Double_t GetEnergy(Double_t pmom, Double_t eta) {return GetEnergy(pmom,eta,7);}
-  
-  void SetGeometry(TString name, Double_t fs = 1.); 
-  virtual ~AliJetHadronCorrectionv1() {}
-
+    AliJetHadronCorrectionv1(){;}
+    static  AliJetHadronCorrectionv1* Instance();
+    virtual Double_t GetEnergy(Double_t pmom, Double_t eta, Int_t gid); 
+    Double_t GetEnergy(Double_t pmom, Double_t eta) {return GetEnergy(pmom,eta,7);}
+    
+    void SetGeometry(TString name, Double_t fs = 1.); 
+    virtual ~AliJetHadronCorrectionv1() {}
+    
  protected:
-  AliJetHadronCorrectionv1(const char *name="HadronCorrectionv1", const char *title="Hadron Correction");
-  //    AliJetHadronCorrectionv1(const char *name="HadronCorrectionv1", const char *title="Hadron Correction",AliJetGeometry *geometry = NULL);
-  void SetGeometry(AliJetDummyGeo *geometry);
+    AliJetHadronCorrectionv1(const char *name, const char *title);
+    void SetGeometry(AliJetDummyGeo *geometry);
     
  private:
-  void SetParameters(TString name = "") {Warning("SetParameter","Dummy method with argument %s",name.Data());}
+    void SetParameters(TString name = "") {Warning("SetParameter","Dummy method with argument %s",name.Data());}
     
-  static AliJetHadronCorrectionv1* fgHadrCorr;  // Pointer to global instance (singleton)
-  static Double_t fgParLookup[HCPARAMETERS][HCPARAMETERSETS]; // Global array with parameters for hadronic response
-  Double_t fPar[6];
-  Float_t  fSamplingFraction;  // Sampling fraction
-      
-  ClassDef(AliJetHadronCorrectionv1,2) // Hadron correction for EMC (version for MDC)
+    static AliJetHadronCorrectionv1* fgHadrCorr;  // Pointer to global instance (singleton)
+    static Double_t fgParLookup[HCPARAMETERS][HCPARAMETERSETS]; // Global array with parameters for hadronic response
+    Double_t fPar[6];
+    Float_t  fSamplingFraction;  // Sampling fraction
+    
+    ClassDef(AliJetHadronCorrectionv1,2) // Hadron correction for EMC (version for MDC)
 };
-
+       
 #endif // ALIJETHADRONCORRECTIONV1_H
+       
index 300d04a..0c08ee9 100755 (executable)
@@ -62,14 +62,14 @@ class AliJetReader : public TObject
   AliJetReader(const AliJetReader& rJetReader);
   AliJetReader& operator = (const AliJetReader& rhsr);
   TClonesArray            *fMomentumArray;    // array of particle momenta
-  TClonesArray            *fArrayMC;          // array of mc particles
-  TTask                   *fFillUnitArray;    // task list for filling the UnitArray
+  TClonesArray            *fArrayMC;          //! array of mc particles
+  TTask                   *fFillUnitArray;    //! task list for filling the UnitArray
   AliJetReaderHeader      *fReaderHeader;     // pointer to header
   TArrayI                  fSignalFlag;       // to flag if a particle comes from pythia or
                                               // from the underlying event
   TArrayI                  fCutFlag;          // to flag if a particle passed the pt cut or not
-  AliJetUnitArray         *fUnitArray;        // array of digit position and energy 
-  AliJetUnitArray         *fUnitArrayNoCuts;  // array of digit position and energy 
+  AliJetUnitArray         *fUnitArray;        //! array of digit position and energy 
+  AliJetUnitArray         *fUnitArrayNoCuts;  //! array of digit position and energy 
   Bool_t                   fArrayInitialised; // To check that array of units is initialised  
   ClassDef(AliJetReader,1)
 };
index a7b2a17..342b022 100644 (file)
@@ -55,7 +55,7 @@ class AliUA1JetFinderV1 : public AliJetFinder
  protected:
   AliUA1JetFinderV1(const AliUA1JetFinderV1& rJetF1);
   AliUA1JetFinderV1& operator = (const AliUA1JetFinderV1& rhsf);
-  TH2F           * fLego;           //! Lego Histo
+  TH2F           * fLego;           // Lego Histo
 
   ClassDef(AliUA1JetFinderV1,1)
 };