1 #ifndef ALIPHOSIMPACT_H
2 #define ALIPHOSIMPACT_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 //_________________________________________________________________________
9 // Hit impact class for PHOS
10 // A hit impact in PHOS is a set of parameters of a track which
11 // enters the detector for the first time.
12 // Track parameters are:
14 // - primary particle number
15 // - type of a particle
16 // - impact coordinate
17 // - impact 4-momentum
19 //*-- Author: Yuri Kharlov (IHEP, Protvino/SUBATECH, Nantes)
21 // --- ROOT system ---
22 #include <TLorentzVector.h>
24 // --- AliRoot header files ---
27 // --- Standard library ---
29 class AliPHOSImpact : public AliHit {
33 AliPHOSImpact() { } // default ctor
34 AliPHOSImpact(const AliPHOSImpact & hit) ;
35 AliPHOSImpact(Int_t shunt, Int_t primary, Int_t track, Int_t pid, TLorentzVector p, Float_t *xyz);
36 virtual ~AliPHOSImpact(void) { } // dtor
38 Int_t GetPid(void) const {
39 // returns the particle PDG code which initiates this hit
42 Int_t GetPrimary(void) const {
43 // returns the primary particle id at the origin of this hit
46 TLorentzVector GetMomentum() const {
47 // returns momentum of the particle which initiated this hit
54 Int_t fPid ; // type of the particle that initiates that hit
55 Int_t fPrimary ; // Primary particles at the origine of the hit
56 TLorentzVector fMomentum; // 4-momentum of the particle
58 ClassDef(AliPHOSImpact,1) // Hit impact for PHOS
62 //////////////////////////////////////////////////////////////////////////////
64 #endif // ALIPHOSIMPACT_H