]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/AliFMDEdepHitPair.h
extra bit for TPC and Global constrained flagging
[u/mrichter/AliRoot.git] / FMD / AliFMDEdepHitPair.h
index 33bf40690fe9e3bf1f225c06d612f67a24943273..6c6b41cef84bf3d388d524bb0178356cb1c52570 100644 (file)
 #ifndef ROOT_Rtypes
 # include <Rtypes.h>
 #endif 
+#ifndef ROOT_TArrayI
+# include <TArrayI.h>
+#endif
+
 //____________________________________________________________________
 /** @brief Cache of Energy deposited, hit information per strip.
     Contains a pair of energy deposited @c fEdep and 
 class AliFMDEdepHitPair 
 {
 public:
-  Float_t  fEdep; // summed energy deposition
-  UShort_t fN;    // Number of hits
+  Float_t  fEdep;   // summed energy deposition
+  UShort_t fN;      // Number of hits
+  UShort_t fNPrim;  // Number of primaries;
+  TArrayI  fLabels; // Track labels.
+  
   /** CTOR  */
-  AliFMDEdepHitPair() : fEdep(0), fN(0) {}
+  AliFMDEdepHitPair() : fEdep(0), fN(0), fNPrim(0), fLabels(0) {}
   /** DTOR */
   virtual ~AliFMDEdepHitPair() {}
   /** Assignment operator 
       @param o Object to assign from 
       @return Reference to this object */
   AliFMDEdepHitPair& operator=(const AliFMDEdepHitPair& o) 
-  { fEdep = o.fEdep; fN    = o.fN; return *this; }
+  { 
+    fEdep   = o.fEdep; 
+    fN      = o.fN; 
+    fNPrim  = o.fNPrim;
+    fLabels = o.fLabels;
+    return *this; 
+  }
   /** Copy CTOR 
       @param o Object to copy from */
-  AliFMDEdepHitPair(const AliFMDEdepHitPair& o) : fEdep(o.fEdep), fN(o.fN) {}
-  ClassDef(AliFMDEdepHitPair, 1)
+  AliFMDEdepHitPair(const AliFMDEdepHitPair& o) 
+    : fEdep(o.fEdep), fN(o.fN), fNPrim(o.fNPrim), fLabels(o.fLabels)
+  {}
+  ClassDef(AliFMDEdepHitPair, 3)
 };
 
 #endif