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"
20 class AliPHOSQAIntCheckable ;
21 class AliPHOSQAFloatCheckable ;
23 class AliPHOSv1 : public AliPHOSv0 {
28 AliPHOSv1(const char *name, const char *title="") ;
29 AliPHOSv1(const AliPHOSv1 & phos) {
30 // cpy ctor: no implementation yet
31 // requested by the Coding Convention
34 virtual ~AliPHOSv1(void) ;
36 virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits) ;
37 virtual void FinishEvent() ;
38 virtual void FinishPrimary() ;
39 virtual Int_t IsVersion(void) const {
40 // Gives the version number
44 virtual void StepManager(void) ;
45 virtual TString Version(void){
46 // returns the version number
47 return TString("v1") ;
50 AliPHOSv1 & operator = (const AliPHOSv1 & rvalue) {
51 // assignement operator requested by coding convention but not needed
56 void CPVDigitize (TLorentzVector p, Float_t *xy, Int_t moduleNumber, TClonesArray *digits) ;
57 Float_t CPVPadResponseFunction(Float_t qhit, Float_t zg, Float_t xg) ;
58 Double_t CPVCumulPadResponse(Double_t x, Double_t y) ;
63 AliPHOSQAIntCheckable * fQAHitsMul ; // QA Hits Multiplicity checkable
64 TClonesArray * fQAHitsMulB ; // QA Hits Multiplicity / Block checkable
65 AliPHOSQAFloatCheckable * fQATotEner ; // QA Total Energy checkable
66 TClonesArray * fQATotEnerB ; // QA Total Energy / Block checkable
68 ClassDef(AliPHOSv1,1) // Implementation of PHOS manager class for layout EMC+PPSD