]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSCPVModule.h
BuildGeometry of AliMUON for trigger chambers delegated to AliMUONSegmentationTrigger...
[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              // cpy ctor requested by Coding Convention but not yet needed
32              assert(0==1) ;
33            } 
34   
35   AliPHOSCPVModule & operator = (const AliPHOSCPVModule  & rvalue) {
36     // assignement operator requested by coding convention but not needed
37     assert(0==1) ;
38     return *this ; 
39   }
40   void     Clear(Option_t *opt="");
41   void     Print(Option_t *opt="");
42   void     AddHit(TLorentzVector p, Float_t *xy, Int_t ipart);
43   void     MakeBranch(Int_t i);
44   void     SetTreeAddress(Int_t i);
45   
46   TClonesArray *Hits(void) {return fHits;}
47
48 private:
49   
50   TClonesArray *fHits;              // List of hits in the Module
51
52   ClassDef(AliPHOSCPVModule,1)      // CPV Module
53 };
54  
55 #endif