]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALPID.h
Coding convention: GC2 violation -> suppression
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALPID.h
index d29c3e975573f242be453eab473fa51f757e8399..b4fcf06563ccb28fdefd34ba568a592057eef46b 100644 (file)
@@ -5,6 +5,15 @@
 /* History of cvs commits:
  *
  * $Log$
+ * Revision 1.13  2007/07/11 13:43:29  hristov
+ * New class AliESDEvent, backward compatibility with the old AliESD (Christian)
+ *
+ * Revision 1.12  2007/02/20 20:17:43  hristov
+ * Corrected array size, removed warnings (icc)
+ *
+ * Revision 1.11  2006/12/19 08:49:35  gustavo
+ * New PID class for EMCAL, bayesian analysis done with ESD data, PID information filled when calling AliEMCALPID in AliEMCALReconstructor::FillESD()
+ *
  *
  */
 
@@ -14,7 +23,7 @@
 
 #include "TTask.h"
 #include "TArrayD.h"
-#include "AliESD.h"
+#include "AliESDEvent.h"
 #include "AliPID.h" 
 
 class AliEMCALPID : public TTask {
@@ -24,7 +33,7 @@ public:
   AliEMCALPID();
   virtual ~AliEMCALPID() { }
   
-  void     RunPID(AliESD *esd);
+  void     RunPID(AliESDEvent *esd);
   void     ComputePID(Double_t energy, Double_t lambda0); // give the PID of a cluster
   TArrayD  DistLambda0(Double_t energy, Int_t nature); // compute lambda0 distributions
   
@@ -50,7 +59,7 @@ public:
   
   Float_t fPID[3];
   
-  Float_t fPIDFinal[AliPID::kSPECIESN];  // final PID format
+  Float_t fPIDFinal[AliPID::kSPECIESN+1];  // final PID format
   Float_t fPIDWeight[3];                 // order: gamma, pi0, hadrons,
   Double_t fProbGamma;                 // probility to be a Gamma
   Double_t fProbPiZero;                        // probility to be a PiO
@@ -61,3 +70,4 @@ public:
 };
 
 #endif // ALIEMCALPID_H
+