// #include "AliITS.h" #include "AliITSdigit.h" #include "AliRun.h" //////////////////////////////////////////////////////////////////////// // Version: 0 // Written by Rene Brun, Federico Carminati, and Roberto Barbera // Minor modifications made and documented by Bjorn S. Nilsen // July 11 1999 // // The default ITS digit structure. This should either be replaced // or added on to later with the proper digit structure defined for // each detector type. See the proposed Digit structure defined by // Bjorn S. Nilsen for an example. //Begin_Html /*

This show the relasionships between the ITS digit class' and the rest of Aliroot.

*/
//End_Html
//_____________________________________________________________________________
ClassImp(AliITSdigit)

AliITSdigit::AliITSdigit(Int_t *tracks, Int_t *digits):
  AliDigit(tracks){
  //
  // Create ITS digit
  //     The creator for the AliITSdigit class. This routine fills the
  // AliITSdigit data members from the array digits. The array of track
  // numbers are passed to the AliDigit creator. The order of the elements
  // in the digits array are fEvent = digits[0], fLayer = digits[1],
  // fLadder = digits[2], fDet = digits[3], and fNoverl = digits[4].
  // Therefore the array digits is expected to be at least 5 elements long.
  //
  fEvent      = digits[0];
  fLayer      = digits[1];
  fLadder     = digits[2];
  fDet        = digits[3];
  fNoverl     = digits[4];
}