Typo
[u/mrichter/AliRoot.git] / PHOS / AliPHOSv2.h
CommitLineData
bea63bea 1#ifndef ALIPHOSV2_H
2#define ALIPHOSV2_H
5f20d3fb 3/* Copyright(c) 1998-1999-2000, ALICE Experiment at CERN, All rights reserved. *
bea63bea 4 * See cxx source for full Copyright notice */
702ab87e 5
6/* $Id$ */
7
8/* History of cvs commits:
9 *
10 * $Log$
9bb95b92 11 * Revision 1.18 2005/05/28 14:19:05 schutz
12 * Compilation warnings fixed by T.P.
13 *
702ab87e 14 */
15
bea63bea 16//_________________________________________________________________________
5f20d3fb 17// Version of AliPHOSv0 which keeps all hits in TreeH
2f04ed65 18// I mean real hits not cumulated hits
5f20d3fb 19// This version is NOT recommended for Reconstruction analysis
bea63bea 20//
5f20d3fb 21//*-- Author: Gines MARTINEZ (SUBATECH)
bea63bea 22
23// --- ROOT system ---
bea63bea 24
25// --- AliRoot header files ---
5f20d3fb 26#include "AliPHOSv1.h"
bea63bea 27
5f20d3fb 28class AliPHOSv2 : public AliPHOSv1 {
bea63bea 29
30public:
31
5f20d3fb 32 AliPHOSv2(void) ;
bea63bea 33 AliPHOSv2(const char *name, const char *title="") ;
780fda6d 34 AliPHOSv2(AliPHOSv2 & phos) : AliPHOSv1(phos){
35 phos.Copy(*this) ;
36 }
5f20d3fb 37 virtual ~AliPHOSv2(void) ;
38
702ab87e 39 virtual void Copy(TObject &phos) const;
9bb95b92 40 using AliPHOSv1::AddHit;
2af5445a 41 virtual void AddHit( Int_t shunt, Int_t primary, Int_t id, Float_t *hits);
e04976bd 42 virtual Int_t IsVersion(void) const {
43 // Gives the version number
44 return 2 ;
45 }
bd46a237 46 virtual const TString Version(void)const {
e04976bd 47 // returns the version number
48 return TString("v2") ;
49 }
5f20d3fb 50
51protected:
52
53 ClassDef(AliPHOSv2,1) // Class AliPHOSv0 which allows to write ond disk al the information of the hits.
bea63bea 54
55};
56
57#endif // AliPHOSV2_H