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