]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
* Moved conejetFinderComponent in the cone directory
authorjthaeder <jthaeder@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 30 May 2009 20:47:24 +0000 (20:47 +0000)
committerjthaeder <jthaeder@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 30 May 2009 20:47:24 +0000 (20:47 +0000)
* Enable analysis code in the build
* rm obsolete AliHLTJETJets, BASE/util/AliHLTJets is used instead

HLT/JET/AliHLTJETJets.cxx [deleted file]
HLT/JET/AliHLTJETJets.h [deleted file]
HLT/JET/analysis/AliHLTJETAnalysisComponent.cxx
HLT/JET/analysis/AliHLTJETAnalysisJets.cxx
HLT/JET/analysis/AliHLTJETAnalysisJets.h
HLT/JET/analysis/AliHLTJETAnalysisMerge.cxx
HLT/JET/analysis/AliHLTJETAnalysisMerge.h
HLT/JET/cone/AliHLTJETConeJetComponent.cxx [moved from HLT/JET/AliHLTJETConeJetComponent.cxx with 100% similarity]
HLT/JET/cone/AliHLTJETConeJetComponent.h [moved from HLT/JET/AliHLTJETConeJetComponent.h with 100% similarity]
HLT/libAliHLTJET.pkg

diff --git a/HLT/JET/AliHLTJETJets.cxx b/HLT/JET/AliHLTJETJets.cxx
deleted file mode 100644 (file)
index 9c4e542..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-//-*- Mode: C++ -*-
-// $Id: AliHLTJETJets.cxx  $
-//**************************************************************************
-//* This file is property of and copyright by the ALICE HLT Project        * 
-//* ALICE Experiment at CERN, All rights reserved.                         *
-//*                                                                        *
-//* Primary Authors: Jochen Thaeder <thaeder@kip.uni-heidelberg.de>        *
-//*                  for The ALICE HLT Project.                            *
-//*                                                                        *
-//* 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.                  *
-//**************************************************************************
-
-/** @file   AliHLTJETJets.h
-    @author Jochen Thaeder
-    @date   
-    @brief  Container holding produced Jets
-*/
-
-// see header file for class documentation
-// or
-// refer to README to build package
-// or
-// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
-
-#if __GNUC__>= 3
-   using namespace std;
-#endif
-
-#include "AliHLTJETJets.h"
-#include "TLorentzVector.h"
-
-
-/** ROOT macro for the implementation of ROOT specific class methods */
-ClassImp(AliHLTJETJets)
-
-/*
- * ---------------------------------------------------------------------------------
- *                            Constructor / Destructor
- * ---------------------------------------------------------------------------------
- */
-
-//##################################################################################
-AliHLTJETJets::AliHLTJETJets() :
-  fNAODJets(0),
-  fAODJets(new TClonesArray( "AliAODJet", 20 ) ) {
-  // see header file for class documentation
-  // or
-  // refer to README to build package
-  // or
-  // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
-  
-}
-
-//##################################################################################
-AliHLTJETJets::~AliHLTJETJets() {
-  // see header file for class documentation
-
-  if ( fAODJets ){
-    fAODJets->Clear();
-    delete fAODJets;
-  }
-  fAODJets = NULL;
-}
-
-/*
- * ---------------------------------------------------------------------------------
- *                                   Initialize / Reset
- * ---------------------------------------------------------------------------------
- */
-
-//##################################################################################
-void AliHLTJETJets::Reset() {
-  // see header file for class documentation  
-
-  fAODJets->Clear();
-  fNAODJets = 0;
-
-  return;
-}
-
-/*
- * ---------------------------------------------------------------------------------
- *                                     Getter
- * ---------------------------------------------------------------------------------
- */
-
-//##################################################################################
-AliAODJet* AliHLTJETJets::GetJet( Int_t iter )  { 
-  // see header file for class documentation
-  
-  if ( iter > fNAODJets )
-    return NULL;
-  else
-    return reinterpret_cast<AliAODJet*>((*fAODJets)[iter]); 
-}
-
-/*
- * ---------------------------------------------------------------------------------
- *                                     Setter
- * ---------------------------------------------------------------------------------
- */
-
-//##################################################################################
-void AliHLTJETJets::AddJet( AliHLTJETConeJetCandidate* jet ) {
-  // see header file for class documentation
-  
-  // -- create TLorentzVector
-  TLorentzVector v;
-  v.SetPtEtaPhiE( jet->GetPt(),jet->GetEta(),jet->GetPhi(), jet->GetEt() );
-
-  // -- add AliAODJet
-  new ((*fAODJets)[fNAODJets]) AliAODJet(v);
-  fNAODJets++;
-
-  return;
-}
diff --git a/HLT/JET/AliHLTJETJets.h b/HLT/JET/AliHLTJETJets.h
deleted file mode 100644 (file)
index 992f66b..0000000
+++ /dev/null
@@ -1,115 +0,0 @@
-//-*- Mode: C++ -*-
-
-// $Id: AliHLTJETJets.h  $
-
-#ifndef ALIHLTJETJETS_H
-#define ALIHLTJETJETS_H
-
-/* This file is property of and copyright by the ALICE HLT Project        * 
- * ALICE Experiment at CERN, All rights reserved.                         *
- * See cxx source for full Copyright notice                               */
-
-/** @file   AliHLTJETJets.h
-    @author Jochen Thaeder
-    @date   
-    @brief  Container holding produced Jets
-*/
-
-// see below for class documentation
-// or
-// refer to README to build package
-// or
-// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
-
-#include "TClonesArray.h"
-
-#include "AliAODJet.h"
-
-#include "AliHLTLogging.h"
-#include "AliHLTJETBase.h"
-
-#include "AliHLTJETConeJetCandidate.h"
-
-/**
- * @class AliHLTJETJets
- * This class contains AliAODJets and comments
- *
- * @ingroup alihlt_jet
- */
-
-class AliHLTJETJets : public TObject, public AliHLTLogging {
-public:
-  
-  /*
-   * ---------------------------------------------------------------------------------
-   *                            Constructor / Destructor
-   * ---------------------------------------------------------------------------------
-   */
-
-  /** Constructor */
-  AliHLTJETJets();
-  
-  /** Destructor */
-  ~AliHLTJETJets();
-
-  /*
-   * ---------------------------------------------------------------------------------
-   *                                   Initialize / Reset
-   * ---------------------------------------------------------------------------------
-   */
-
-  /** Reset output array */
-  void Reset();
-
-  /*
-   * ---------------------------------------------------------------------------------
-   *                                     Getter
-   * ---------------------------------------------------------------------------------
-   */
-  
-  /* Get number of AODJets */
-  Int_t         GetNAODJets() { return fNAODJets; }
-
-  /** Get ptr to AODJets */
-  TClonesArray* GetAODJets()  { return fAODJets; }
-
-  /** Get AODHet with idx iter */
-  AliAODJet*    GetJet( Int_t iter );
-
-
-  /*
-   * ---------------------------------------------------------------------------------
-   *                                     Setter
-   * ---------------------------------------------------------------------------------
-   */
-
-  /** Add Jet to Container 
-   * @param  jetCandidate  ptr to AliHLTJetFinderJetSeed
-   */
-  void AddJet( AliHLTJETConeJetCandidate* jet );
-
-  ///////////////////////////////////////////////////////////////////////////////////
-  
- private:
-  /** copy constructor prohibited */
-  AliHLTJETJets(const AliHLTJETJets&);
-  
-  /** assignment operator prohibited */
-  AliHLTJETJets& operator=(const AliHLTJETJets&);
-
-  /*
-   * ---------------------------------------------------------------------------------
-   *                             Members - private
-   * ---------------------------------------------------------------------------------
-   */
-
-  /** Number of AOD jets */
-  Int_t                   fNAODJets;          // see above
-
-  /** Array of AOD jets */
-  TClonesArray*           fAODJets;        // see above
-
-  ClassDef(AliHLTJETJets, 1)
-};
-#endif
index fe0103b2f9f42966d951ca51af49b2ea0e256345..0f08f86b15f287b9fac3ebbb58e6f52ca7d5a8e4 100644 (file)
@@ -204,7 +204,7 @@ Int_t AliHLTJETAnalysisComponent::DoEvent( const AliHLTComponentEventData& /*evt
     for ( iter=GetFirstInputObject(kAliHLTDataTypeJet|kAliHLTDataOriginHLT); 
          iter != NULL && !iResult; iter=GetNextInputObject() ) {
       
-      fAnalysisJets->SetJets(reinterpret_cast<AliHLTJETJets*>(const_cast<TObject*>(iter)));
+      fAnalysisJets->SetJets(reinterpret_cast<AliHLTJets*>(const_cast<TObject*>(iter)));
     }
     
     // -- ADD MC Object -- On-line
index 199a7cf5dd2652b6a47e04658e430d048007e4d9..b8819b73f5920d3fcc22ece389866c6c72d9dec5 100644 (file)
@@ -201,7 +201,7 @@ void AliHLTJETAnalysisJets::SetHLTMC( AliHLTMCEvent* mcEvent ) {
   // -- New MC jets 
   if ( fJetsMC )
     delete fJetsMC;
-  fJetsMC = new AliHLTJETJets();
+  fJetsMC = new AliHLTJets();
   
   AliAODJet* jet = NULL;
 
@@ -224,7 +224,7 @@ void AliHLTJETAnalysisJets::SetMC( AliMCEvent* /*mcEvent*/ ) {
 }
 
 //##################################################################################
-void AliHLTJETAnalysisJets::SetJets( AliHLTJETJets* jets ) {
+void AliHLTJETAnalysisJets::SetJets( AliHLTJets* jets ) {
   // see header file for class documentation
 
   fJets = jets;
index be6d49beeb2f48a8fdb5d5b66496374036710e48..1e5ee7d8a287daf6da8eb239fa8af3d5b73c4269 100644 (file)
@@ -21,9 +21,6 @@
 // or
 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
 
-//#include "TH1.h"
-//#include "TClonesArray.h"
-
 class TH1; 
 class TClonesArray; 
 
@@ -32,9 +29,9 @@ class AliMCEvent;
 
 #include "AliHLTLogging.h"
 #include "AliHLTMCEvent.h"
+#include "AliHLTJets.h"
 
 #include "AliHLTJETBase.h"
-#include "AliHLTJETJets.h"
 
 #include "AliHLTJETAnalysisBase.h"
 
@@ -44,7 +41,7 @@ class AliMCEvent;
  * histograms needed for the Jet Analysis.
  *
  * It need a ptr to MC information (pythia jets) and 
- * reconstructed jets in the form of AliHLTJETJets.
+ * reconstructed jets in the form of AliHLTJets.
  *
  * @ingroup alihlt_jet
  * @ingroup alihlt_jet_analysis
@@ -96,9 +93,9 @@ public:
   void SetMC( AliMCEvent* mcEvent );
 
   /** Set reconstructed jets
-   *  @param jets       Ptr to AliHLTJETJets
+   *  @param jets       Ptr to AliHLTJets
    */
-  void SetJets( AliHLTJETJets* jets );
+  void SetJets( AliHLTJets* jets );
 
   /*
    * ---------------------------------------------------------------------------------
@@ -236,10 +233,10 @@ public:
   // ---------------------------------------------------
 
   /** jets */
-  AliHLTJETJets *fJets;                          //! transient      
+  AliHLTJets    *fJets;                          //! transient      
 
   /** MC jets */
-  AliHLTJETJets *fJetsMC;                        //! transient      
+  AliHLTJets    *fJetsMC;                        //! transient      
 
   /** Array of indices of the matched reconstructed jets */
   TArrayI       *fMatchedJets;                   //! transient      
index 8ccce81aea9e8de7112064b8bf4299d503fbb7a8..36fa97756596cca2ce4f9a92396ebc579db02df1 100644 (file)
@@ -35,8 +35,6 @@
 #include "TCanvas.h"
 #include "TH2F.h"
 
-#include "AliHLTJETJets.h"
-
 #include "AliHLTJETAnalysisMerge.h"
 #include "AliHLTJETAnalysisJets.h"
 
index e801232713913f5bca31d8be4f35cf9660bf817e..38ccdf6acbc245a4b62b01597f75788c54308de2 100644 (file)
@@ -31,9 +31,6 @@ class TH1;
 class TCanvas;
 class TObjArray;
 
-class AliHLTJETJets;
-
-
 /**
  * @class AliHLTJETAnalysisMerge
  * This class merges analysis objects oft the type
index 26293e2b6c7734f3d1273f25bde3349b900aa040..a91a8b3ec833f344a156d24a8c4690797b9b98be 100644 (file)
@@ -2,13 +2,27 @@
 # $Id: libAliHLTJET.pkg 28356 2008-08-30 08:52:32Z hristov $
 
 CLASS_HDRS                 :=  AliHLTJETAgent.h \
+                               AliHLTJETBase.h \
                                AliHLTJETTrackCuts.h \
                                AliHLTJETReader.h \
                                AliHLTJETReaderHeader.h \
-                               AliHLTJETConeJetComponent.h
+                               cone/AliHLTJETConeJetComponent.h \
+                               analysis/AliHLTJETAnalysisBase.h \
+                               analysis/AliHLTJETAnalysisJets.h \
+                               analysis/AliHLTJETAnalysisMerge.h \
+                               analysis/AliHLTJETAnalysisComponent.h
 
 CLASS_HDRS_FJ              :=  AliHLTJETFastJetComponent.h     
 
+#                              AliHLTJETJets.h 
+#                              AliHLTJETJetCuts.h 
+#                              cone/AliHLTJETConeGrid.h 
+#                              cone/AliHLTJETConeEtaPhiCell.h 
+#                              cone/AliHLTJETConeSeedCuts.h 
+#                              cone/AliHLTJETConeHeader.h 
+#                              cone/AliHLTJETConeFinder.h
+#                              cone/AliHLTJETConeJetCandidate.h 
+
 ###############################################################################
 
 include $(MODDIR)/JET/jet.conf
@@ -24,6 +38,8 @@ MODULE_DHDR               :=
 EINCLUDE                    := HLT/BASE \
                                HLT/BASE/util \
                                HLT/JET \
+                               HLT/JET/cone \
+                               HLT/JET/analysis \
                                ANALYSIS \
                                JETAN \
                                STEER