3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 //_________________________________________________________________________
7 // Implementation version v1 of PHOS Manager class
8 // Layout EMC + PPSD has name GPS2
9 // Layout EMC + CPV has name IHEP
11 //*-- Author: Yves Schutz (SUBATECH)
13 // --- ROOT system ---
15 class TLorentzVector ;
18 // --- AliRoot header files ---
19 #include "AliPHOSv0.h"
21 class AliPHOSv1 : public AliPHOSv0 {
26 AliPHOSv1(const char *name, const char *title="") ;
27 AliPHOSv1(const AliPHOSv1 & phos) {
28 // cpy ctor: no implementation yet
29 // requested by the Coding Convention
32 virtual ~AliPHOSv1(void) ;
34 virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits) ;
35 virtual Int_t IsVersion(void) const {
36 // Gives the version number
40 virtual void StepManager(void) ;
41 virtual TString Version(void){
42 // returns the version number
43 return TString("v1") ;
46 AliPHOSv1 & operator = (const AliPHOSv1 & rvalue) {
47 // assignement operator requested by coding convention but not needed
52 void CPVDigitize (TLorentzVector p, Float_t *xy, Int_t moduleNumber, TClonesArray *digits) ;
53 Float_t CPVPadResponseFunction(Float_t qhit, Float_t zg, Float_t xg) ;
54 Double_t CPVCumulPadResponse(Double_t x, Double_t y) ;
59 ClassDef(AliPHOSv1,1) // Implementation of PHOS manager class for layout EMC+PPSD