Cosmetics only
[u/mrichter/AliRoot.git] / PHOS / AliPHOSHit.h
CommitLineData
49cd54c0 1#ifndef ALIPHOSHIT_H
2#define ALIPHOSHIT_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6////////////////////////////////////////////////
7// Hits class for PHOS //
8// Version SUBATECH //
9// Author M. Volkov, RRC KI //
10// october 1999: //
11// Modified by Y. Schutz SUBATECH //
12////////////////////////////////////////////////
13
6ad0bfa0 14/* $Id$ */
15
49cd54c0 16// --- ROOT system ---
17
18// --- AliRoot header files ---
19#include "AliHit.h"
9f616d61 20
21// --- Standard library ---
22
23#include <iostream>
49cd54c0 24
25class AliPHOSHit : public AliHit {
26
27protected:
28
29 Int_t fId ; // Absolute Id number of PHOS Xtal or PPSD pad
30 Float_t fELOS ; // Energy deposited
31
32public:
33
34 AliPHOSHit() {}
35 AliPHOSHit(Int_t shunt, Int_t track, Int_t id, Float_t *hits) ;
36 virtual ~AliPHOSHit(void) {}
37
38 Float_t GetEnergy(void) const { return fELOS ; }
39 Int_t GetId(void) const { return fId ; }
40
41 Bool_t operator == (AliPHOSHit const &rValue) const ;
42 AliPHOSHit operator + (const AliPHOSHit& rValue) const ;
43
44 friend ostream& operator << (ostream&, const AliPHOSHit&) ;
45
46 ClassDef(AliPHOSHit,1) // Hits object for PHOS
47
48} ;
49
50//////////////////////////////////////////////////////////////////////////////
51
52#endif // ALIPHOSHIT_H