]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSRecPoint.h
New SetTrack interface added, added check for unfilled particles in FinishEvent ...
[u/mrichter/AliRoot.git] / PHOS / AliPHOSRecPoint.h
CommitLineData
d15a28e7 1#ifndef ALIPHOSRECPOINT_H
2#define ALIPHOSRECPOINT_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
b2a60966 5//_________________________________________________________________________
6// Base Class for PHOS Reconstructed Points
2f04ed65 7// A recpoint being equivalent to a cluster in encal terminology
b2a60966 8//*-- Author: Gines Martinez (SUBATECH)
d15a28e7 9
ed4205d8 10#include <assert.h>
11
d15a28e7 12// --- ROOT system ---
13
9f616d61 14#include "TMarker.h"
15#include "TGraph.h"
16#include "TPaveText.h"
17
d15a28e7 18// --- Standard library ---
19
d15a28e7 20// --- AliRoot header files ---
21
22#include "AliRecPoint.h"
83974468 23#include "AliPHOSDigit.h"
ed4205d8 24#include "AliPHOSGeometry.h"
25class AliPHOSGeometry;
83974468 26
d15a28e7 27class AliPHOSRecPoint : public AliRecPoint {
28
88714635 29 public:
7609878c 30
31 typedef TObjArray RecPointsList ;
d15a28e7 32
33 AliPHOSRecPoint() ; // ctor
6c370def 34 AliPHOSRecPoint(const AliPHOSRecPoint & rp) {
35 // cpy ctor requested by Coding Convention
36 // but not yet needed
37 assert(0==1) ;
38 }
39
88714635 40 virtual ~AliPHOSRecPoint(){
41 // dtor
42 }
0a6d52e3 43 virtual void AddDigit(AliDigitNew &){
44 // do not use this definition but the one below
45 assert(0==1) ;
46 }
83974468 47 virtual void AddDigit(AliPHOSDigit & digit, Float_t Energy) = 0 ;
2a941f4e 48 virtual Int_t Compare(const TObject * obj) const {
88714635 49 // check why this is done
50 assert(0==1) ; return 1 ;
51 }
cf239357 52 virtual Int_t DistancetoPrimitive(Int_t px, Int_t py);
53 virtual void Draw(Option_t * option="") ;
54 virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) ;
55 virtual Int_t GetPHOSMod(void) ;
b2a60966 56 virtual Int_t * GetPrimaries(Int_t & number) ;
88714635 57 virtual Bool_t IsEmc(void){
58 // says that this is a EMC
59 return kTRUE ;
60 }
61 virtual Bool_t IsSortable() const {
62 // tells that this is a sortable object
63 return kTRUE ;
64 }
15605d3c 65 virtual void Paint(Option_t * option="");
88714635 66 virtual void Print(Option_t * opt = "void") {
67 // Print prototype
68 }
d15a28e7 69
2f04ed65 70 AliPHOSRecPoint & operator = (const AliPHOSRecPoint & ) {
6c370def 71 // assignement operator requested by coding convention
72 // but not needed
73 assert(0==1) ;
74 return *this ;
75 }
76
ed4205d8 77protected:
9f616d61 78
83974468 79 Int_t fPHOSMod ; // PHOS Module number in which the RecPoint is found
b73f246d 80// AliPHOSGeometry * fGeom ; // pointer to the PHOS geometry class
ed4205d8 81
b2a60966 82 ClassDef(AliPHOSRecPoint,1) // RecPoint for PHOS (Base Class)
d15a28e7 83
84};
85
86#endif // AliPHOSRECPOINT_H