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