ROOT logo
#ifndef ALIT0hit_H
#define ALIT0hit_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice                               */

/* $Id$ */
////////////////////////////////////////////////
//  Manager and hits classes for set:T0     //
////////////////////////////////////////////////
 
#include "AliHit.h"
 
class AliT0hit : public AliHit {
public:

  AliT0hit();//Empty ctor
  AliT0hit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits);
  virtual ~AliT0hit(){}//Empty virtual dtor

  AliT0hit& operator=(const AliT0hit&)  { return *this; }
  AliT0hit(const AliT0hit& o):AliHit(),
    fVolume(0),
    fPmt(0),
    fParticle(0),
    fEtot(0),
    fTime(0)
    { ((AliT0hit &) o).Copy(*this);}
  

  Int_t Volume() const {return fVolume;}
  Int_t Pmt() const {return fPmt;}
  Float_t Particle() const {return fParticle;} 
  Double_t Etot() const {return fEtot;}
  Float_t Time() const {return fTime;}

private:
  Int_t      fVolume;   //T0 arm mark
  Int_t      fPmt;      //PMT number in the arm  
  Int_t      fParticle; //Primary particle ID
  Double_t    fEtot;     //Energy of primary particle at the entrance to radiator 
  Float_t    fTime;     //Primary particle TOF 
 
   
   ClassDef(AliT0hit,3)  //Hits for detector T0
};

typedef AliT0hit AliSTARThit; // for backward compatibility

#endif//ALIT0hit_H
 AliT0hit.h:1
 AliT0hit.h:2
 AliT0hit.h:3
 AliT0hit.h:4
 AliT0hit.h:5
 AliT0hit.h:6
 AliT0hit.h:7
 AliT0hit.h:8
 AliT0hit.h:9
 AliT0hit.h:10
 AliT0hit.h:11
 AliT0hit.h:12
 AliT0hit.h:13
 AliT0hit.h:14
 AliT0hit.h:15
 AliT0hit.h:16
 AliT0hit.h:17
 AliT0hit.h:18
 AliT0hit.h:19
 AliT0hit.h:20
 AliT0hit.h:21
 AliT0hit.h:22
 AliT0hit.h:23
 AliT0hit.h:24
 AliT0hit.h:25
 AliT0hit.h:26
 AliT0hit.h:27
 AliT0hit.h:28
 AliT0hit.h:29
 AliT0hit.h:30
 AliT0hit.h:31
 AliT0hit.h:32
 AliT0hit.h:33
 AliT0hit.h:34
 AliT0hit.h:35
 AliT0hit.h:36
 AliT0hit.h:37
 AliT0hit.h:38
 AliT0hit.h:39
 AliT0hit.h:40
 AliT0hit.h:41
 AliT0hit.h:42
 AliT0hit.h:43
 AliT0hit.h:44
 AliT0hit.h:45
 AliT0hit.h:46
 AliT0hit.h:47
 AliT0hit.h:48
 AliT0hit.h:49