#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