// ----------------------------------------------------------------------------
// $Id: LCDTracker_Hit.cxx,v 1.1 2001/05/10 17:25:11 toshi Exp $
// ----------------------------------------------------------------------------
//
// $Log: LCDTracker_Hit.cxx,v $
// Revision 1.1  2001/05/10 17:25:11  toshi
// Rename *.C to *.cxx.
//
// Revision 1.2  2001/04/28 23:47:24  toshi
// Start to use CVS.
//
//
///////////////////////////////////////////////////////////////////////////
//                                                                        
// LCDTracker_Hit                                                            
//                                                                        
// The Tracker_Hit class is used to store the data from the Tracker
// section of the detector. The data includes a binary tag as well as
// position, energy deposit, and the index of the corresponding McPart
// object in the list of McParts in the Event class.
//                                                                        
///////////////////////////////////////////////////////////////////////////

#include "LCDTracker_Hit.h"

ClassImp(LCDTracker_Hit)

///________________________________________________________________________
 LCDTracker_Hit::LCDTracker_Hit() {
  // Default constructor
  m_index = 0;
}
///________________________________________________________________________
 LCDTracker_Hit::LCDTracker_Hit(LCDTkID* ID,Double_t *position, Double_t Eloss,
			 Double_t time, Int_t index) {
  // Create a record of an energy deposition in the tracker
  m_ID = LCDTkID(ID->GetTag());
  for(Int_t i=0; i<3; i++){
    m_position[i] = position[i];
  }
  m_Eloss = Eloss;
  m_time = time;
  m_index = index;
}







ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.