+++ /dev/null
-//-*- 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;
-}
+++ /dev/null
-//-*- 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
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
// -- New MC jets
if ( fJetsMC )
delete fJetsMC;
- fJetsMC = new AliHLTJETJets();
+ fJetsMC = new AliHLTJets();
AliAODJet* jet = NULL;
}
//##################################################################################
-void AliHLTJETAnalysisJets::SetJets( AliHLTJETJets* jets ) {
+void AliHLTJETAnalysisJets::SetJets( AliHLTJets* jets ) {
// see header file for class documentation
fJets = jets;
// or
// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
-//#include "TH1.h"
-//#include "TClonesArray.h"
-
class TH1;
class TClonesArray;
#include "AliHLTLogging.h"
#include "AliHLTMCEvent.h"
+#include "AliHLTJets.h"
#include "AliHLTJETBase.h"
-#include "AliHLTJETJets.h"
#include "AliHLTJETAnalysisBase.h"
* 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
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 );
/*
* ---------------------------------------------------------------------------------
// ---------------------------------------------------
/** 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
#include "TCanvas.h"
#include "TH2F.h"
-#include "AliHLTJETJets.h"
-
#include "AliHLTJETAnalysisMerge.h"
#include "AliHLTJETAnalysisJets.h"
class TCanvas;
class TObjArray;
-class AliHLTJETJets;
-
-
/**
* @class AliHLTJETAnalysisMerge
* This class merges analysis objects oft the type
# $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
EINCLUDE := HLT/BASE \
HLT/BASE/util \
HLT/JET \
+ HLT/JET/cone \
+ HLT/JET/analysis \
ANALYSIS \
JETAN \
STEER