the MIXT geometry (IHEP+GPS2) has been introduced
[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 */
5
b2a60966 6//_________________________________________________________________________
7// Base Class for PHOS Reconstructed Points
8//
9//*-- Author: Gines Martinez (SUBATECH)
d15a28e7 10
ed4205d8 11#include <assert.h>
12
d15a28e7 13// --- ROOT system ---
14
9f616d61 15#include "TMarker.h"
16#include "TGraph.h"
17#include "TPaveText.h"
18
d15a28e7 19// --- Standard library ---
20
d15a28e7 21// --- AliRoot header files ---
22
23#include "AliRecPoint.h"
83974468 24#include "AliPHOSDigit.h"
ed4205d8 25#include "AliPHOSGeometry.h"
26class AliPHOSGeometry;
83974468 27
d15a28e7 28class AliPHOSRecPoint : public AliRecPoint {
29
88714635 30 public:
7609878c 31
32 typedef TObjArray RecPointsList ;
d15a28e7 33
34 AliPHOSRecPoint() ; // ctor
6c370def 35 AliPHOSRecPoint(const AliPHOSRecPoint & rp) {
36 // cpy ctor requested by Coding Convention
37 // but not yet needed
38 assert(0==1) ;
39 }
40
88714635 41 virtual ~AliPHOSRecPoint(){
42 // dtor
43 }
0a6d52e3 44 virtual void AddDigit(AliDigitNew &){
45 // do not use this definition but the one below
46 assert(0==1) ;
47 }
83974468 48 virtual void AddDigit(AliPHOSDigit & digit, Float_t Energy) = 0 ;
88714635 49 virtual Int_t Compare(TObject * obj) {
50 // check why this is done
51 assert(0==1) ; return 1 ;
52 }
cf239357 53 virtual Int_t DistancetoPrimitive(Int_t px, Int_t py);
54 virtual void Draw(Option_t * option="") ;
55 virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) ;
56 virtual Int_t GetPHOSMod(void) ;
b2a60966 57 virtual Int_t * GetPrimaries(Int_t & number) ;
88714635 58 virtual Bool_t IsEmc(void){
59 // says that this is a EMC
60 return kTRUE ;
61 }
62 virtual Bool_t IsSortable() const {
63 // tells that this is a sortable object
64 return kTRUE ;
65 }
15605d3c 66 virtual void Paint(Option_t * option="");
88714635 67 virtual void Print(Option_t * opt = "void") {
68 // Print prototype
69 }
d15a28e7 70
c0d5b57d 71 AliPHOSRecPoint & operator = (const AliPHOSRecPoint & rvalue) {
6c370def 72 // assignement operator requested by coding convention
73 // but not needed
74 assert(0==1) ;
75 return *this ;
76 }
77
ed4205d8 78protected:
9f616d61 79
83974468 80 Int_t fPHOSMod ; // PHOS Module number in which the RecPoint is found
b73f246d 81// AliPHOSGeometry * fGeom ; // pointer to the PHOS geometry class
ed4205d8 82
b2a60966 83 ClassDef(AliPHOSRecPoint,1) // RecPoint for PHOS (Base Class)
d15a28e7 84
85};
86
87#endif // AliPHOSRECPOINT_H