]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/JET/AliHLTJETBase.cxx
Enlarging window for DCS DPs retrieval for short runs for GRP + Keeping connection...
[u/mrichter/AliRoot.git] / HLT / JET / AliHLTJETBase.cxx
index 10a8ba8d13cc0a512a7b1ed17318b6895f78b41b..c014acd5363371f6b486e06efd92655a8f56b302 100644 (file)
 // or
 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
 
-#if __GNUC__>= 3
-   using namespace std;
-#endif
-
 #include "AliHLTJETBase.h"
 
+using namespace std;
+
 /** ROOT macro for the implementation of ROOT specific class methods */
 ClassImp(AliHLTJETBase)
 
@@ -57,8 +55,29 @@ AliHLTJETBase::~AliHLTJETBase() {
   // see header file for class documentation
 }
 
+/*
+ * ---------------------------------------------------------------------------------
+ *                              Initialize static const
+ * ---------------------------------------------------------------------------------
+ */
+
+//##################################################################################
+const Char_t *AliHLTJETBase::fgkJetAlgorithmType[] = { 
+  "Anti Kt", 
+  "Kt",
+  "FFSC SquareCell",
+  "FFSC RadiusCell"
+};
+
 #if 0
 
+//################################################################################## 
+Float_t AliHLTJETBase::GetDistance2( const Float_t eta1, const Float_t phi1, 
+                                    const Float_t eta2, const Float_t phi2) {
+  // see header file for class documentation
+  
+  return ( (eta1-eta2)*(eta1-eta2) ) + ( (phi1-phi2)*(phi1-phi2) );
+}
 
 //##################################################################################
 void AliHLTJETBase::XYZtoRPhiEta( const Double_t *xyz, Double_t *rpe ) {
@@ -199,13 +218,6 @@ Double_t AliHLTJETBase::GetEtaFromXYZ( const Float_t *xyz ) {
   return 0.5 * TMath::Log( (r+z)/(r-z) );
 }
 
-//################################################################################## 
-Double_t AliHLTJETBase::GetDistance2( const Double_t eta1, const Double_t phi1, 
-                                            const Double_t eta2, const Double_t phi2) {
-  // see header file for class documentation
-  
-  return ( (eta1-eta2)*(eta1-eta2) ) + ( (phi1-phi2)*(phi1-phi2) );
-}
 
 
 #endif