// EDeposit.h
// Sept 10,1998 Rob Shanks, Creation of EDeposit class
// Feb 5,1999 Rob Shanks, EDeposit class is remade to simplify Event structure
//                        and speed up event reconstruction.
// 

#ifndef EDEPOSIT
#define EDEPOSIT

#include "TMath.h"
#include "TObject.h"
#include "McPart.h"

class EDeposit : public TObject {
private:
  Int_t m_index; // Index in particle TObjArray of particle making deposit
  Float_t m_EDep; // Energy deposited by the particle in a single interaction

public:
  EDeposit(Int_t index,Float_t EDep);
  EDeposit(Float_t EDep):m_index(-1){m_EDep = EDep;};
  EDeposit();
  ~EDeposit(){};
  Float_t GetEDeposit();
  Int_t GetPart();

ClassDef(EDeposit,1)// Energy deposited by a particle in a single interaction
};

#endif
