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