]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSRecPoint.h
Corrections against violations of coding conventions
[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 }
83974468 40 virtual void AddDigit(AliPHOSDigit & digit, Float_t Energy) = 0 ;
88714635 41 virtual Int_t Compare(TObject * obj) {
42 // check why this is done
43 assert(0==1) ; return 1 ;
44 }
cf239357 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) ;
b2a60966 49 virtual Int_t * GetPrimaries(Int_t & number) ;
88714635 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 }
15605d3c 58 virtual void Paint(Option_t * option="");
88714635 59 virtual void Print(Option_t * opt = "void") {
60 // Print prototype
61 }
d15a28e7 62
c0d5b57d 63 AliPHOSRecPoint & operator = (const AliPHOSRecPoint & rvalue) {
6c370def 64 // assignement operator requested by coding convention
65 // but not needed
66 assert(0==1) ;
67 return *this ;
68 }
69
88714635 70 protected:
9f616d61 71
83974468 72 Int_t fPHOSMod ; // PHOS Module number in which the RecPoint is found
d15a28e7 73
88714635 74
b2a60966 75 ClassDef(AliPHOSRecPoint,1) // RecPoint for PHOS (Base Class)
d15a28e7 76
77};
78
79#endif // AliPHOSRECPOINT_H