]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSv1.h
overlapp between PUCP and PTCB corrected
[u/mrichter/AliRoot.git] / PHOS / AliPHOSv1.h
CommitLineData
7587f5a5 1#ifndef ALIPHOSV1_H
2#define ALIPHOSV1_H
5f20d3fb 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
7587f5a5 4 * See cxx source for full Copyright notice */
5f20d3fb 5
b2a60966 6//_________________________________________________________________________
5f20d3fb 7// Implementation version v1 of PHOS Manager class
8// Layout EMC + PPSD has name GPS2
a3dfe79c 9// Layout EMC + CPV has name IHEP
10//*--
5f20d3fb 11//*-- Author: Yves Schutz (SUBATECH)
7587f5a5 12
13// --- ROOT system ---
13add4de 14class TClonesArray ;
15class TLorentzVector ;
2ab0c725 16class TFile;
17
7587f5a5 18// --- AliRoot header files ---
19#include "AliPHOSv0.h"
7587f5a5 20
21class AliPHOSv1 : public AliPHOSv0 {
22
23public:
24
bea63bea 25 AliPHOSv1(void) ;
7587f5a5 26 AliPHOSv1(const char *name, const char *title="") ;
5f20d3fb 27 AliPHOSv1(const AliPHOSv1 & phos) {
28 // cpy ctor: no implementation yet
29 // requested by the Coding Convention
13add4de 30 abort() ;
5f20d3fb 31 }
bea63bea 32 virtual ~AliPHOSv1(void) ;
33
b37750a6 34 virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits) ;
85dfebc7 35 virtual Int_t IsVersion(void) const {
037cc66d 36 // Gives the version number
37 return 1 ;
38 }
39
0a6d52e3 40 virtual void StepManager(void) ;
41 virtual TString Version(void){
42 // returns the version number
43 return TString("v1") ;
44 }
5f20d3fb 45
46 AliPHOSv1 & operator = (const AliPHOSv1 & rvalue) {
a3dfe79c 47 // assignement operator requested by coding convention but not needed
13add4de 48 abort() ;
5f20d3fb 49 return *this ;
50 }
bea63bea 51
fa412d9b 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) ;
55
bea63bea 56protected:
57
fa412d9b 58
5f20d3fb 59 ClassDef(AliPHOSv1,1) // Implementation of PHOS manager class for layout EMC+PPSD
7587f5a5 60
61};
62
63#endif // AliPHOSV1_H