]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSv0hits.h
Adding StepManager function to AliPHOSv0hits class to set the tracknumber
[u/mrichter/AliRoot.git] / PHOS / AliPHOSv0hits.h
CommitLineData
994235dd 1#ifndef ALIPHOSV0HITS_H
2#define ALIPHOSV0HITS_H
3/* Copyright(c) 1998-1999-2000, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5//_________________________________________________________________________
6// Version of AliPHOSv0 which allows for keeping all hits in TreeH
7// This version is NOT recommended for Reconstruction analysis
8//
9//*-- Author: Gines MARTINEZ (SUBATECH)
10
11// --- ROOT system ---
12#include "TClonesArray.h"
13
14// --- AliRoot header files ---
15#include "AliPHOSv0.h"
16#include "AliPHOSReconstructioner.h"
17
18class AliPHOSv0hits : public AliPHOSv0 {
19
20public:
21
22 AliPHOSv0hits(void) ;
23 AliPHOSv0hits(const char *name, const char *title="") ;
24 virtual ~AliPHOSv0hits(void) ;
25
26 virtual void AddHit( Int_t primary, Int_t id, Float_t *hits ) ;
27// adds a hit to the hit tree (any pre=digitalization is done here (so large root file !!)
efd4f707 28 void FinishEvent(void) ; // makes the digits from the hits
29 virtual void StepManager(void) ; // StepManager to keep current tack number in the hit
30
994235dd 31protected:
32
33 ClassDef(AliPHOSv0hits,1) // Class AliPHOSv0 which allows to write ond disk al the information of the hits.
34
35};
36
37#endif // AliPHOSV0HITS_H