]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSCPVModule.h
AliPHOSCPVHit inherits from AliHit
[u/mrichter/AliRoot.git] / PHOS / AliPHOSCPVModule.h
1 #ifndef ALIPHOSCPVMODULE_H
2 #define ALIPHOSCPVMODULE_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7
8 ////////////////////////////////////////////////
9 //  Manager class for one CPV module          //
10 //                                            //
11 //  Author: Yuri Kharlov, IHEP, Protvino      //
12 //  e-mail: Yuri.Kharlov@cern.ch              //
13 //  Last modified: 7 November 2000            //
14 ////////////////////////////////////////////////
15  
16 #include <assert.h> 
17
18 // --- ROOT system ---
19 #include <TClonesArray.h> 
20 #include <TLorentzVector.h>
21
22 // --- galice header files ---
23
24 class AliPHOSCPVModule : public TObject {
25
26 public:
27
28   virtual ~AliPHOSCPVModule(void);
29            AliPHOSCPVModule(void);
30            AliPHOSCPVModule(const AliPHOSCPVModule & cpv);
31   
32   AliPHOSCPVModule & operator = (const AliPHOSCPVModule  & rvalue);
33
34   void     Copy(AliPHOSCPVModule &module) const;
35   void     Clear(Option_t *opt="");
36   void     Print(Option_t *opt="");
37   void     AddHit(Int_t shunt, Int_t track, TLorentzVector p, Float_t *xy, Int_t ipart);
38   void     MakeBranch(Int_t i);
39   void     SetTreeAddress(Int_t i);
40   
41   TClonesArray *Hits         (void) {return fHits;}
42
43 private:
44   
45   TClonesArray *fHits;              // List of hits in the Module per one current track
46
47   ClassDef(AliPHOSCPVModule,1)      // CPV Module
48 };
49  
50 #endif