]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSv2.h
New versions by Prashant
[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$
11 */
12
bea63bea 13//_________________________________________________________________________
5f20d3fb 14// Version of AliPHOSv0 which keeps all hits in TreeH
2f04ed65 15// I mean real hits not cumulated hits
5f20d3fb 16// This version is NOT recommended for Reconstruction analysis
bea63bea 17//
5f20d3fb 18//*-- Author: Gines MARTINEZ (SUBATECH)
bea63bea 19
20// --- ROOT system ---
bea63bea 21
22// --- AliRoot header files ---
5f20d3fb 23#include "AliPHOSv1.h"
bea63bea 24
5f20d3fb 25class AliPHOSv2 : public AliPHOSv1 {
bea63bea 26
27public:
28
5f20d3fb 29 AliPHOSv2(void) ;
bea63bea 30 AliPHOSv2(const char *name, const char *title="") ;
780fda6d 31 AliPHOSv2(AliPHOSv2 & phos) : AliPHOSv1(phos){
32 phos.Copy(*this) ;
33 }
5f20d3fb 34 virtual ~AliPHOSv2(void) ;
35
702ab87e 36 virtual void Copy(TObject &phos) const;
2af5445a 37 virtual void AddHit( Int_t shunt, Int_t primary, Int_t id, Float_t *hits);
e04976bd 38 virtual Int_t IsVersion(void) const {
39 // Gives the version number
40 return 2 ;
41 }
bd46a237 42 virtual const TString Version(void)const {
e04976bd 43 // returns the version number
44 return TString("v2") ;
45 }
5f20d3fb 46
47protected:
48
49 ClassDef(AliPHOSv2,1) // Class AliPHOSv0 which allows to write ond disk al the information of the hits.
bea63bea 50
51};
52
53#endif // AliPHOSV2_H