3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 ////////////////////////////////////////////////
7 // Manager class for PHOS //
9 // Author Y. Schutz SUBATECH //
10 // This is the class to be used for //
11 // fast simulations //
12 ////////////////////////////////////////////////
16 // --- ROOT system ---
17 #include "TClonesArray.h"
19 // --- AliRoot header files ---
21 #include "AliPHOSGeometry.h"
22 #include "AliPHOSPID.h"
25 class AliPHOSvFast : public AliPHOS {
30 AliPHOSvFast(const char *name, const char *title="") ;
31 virtual ~AliPHOSvFast(void) ;
33 void AddRecParticle(Int_t primary) ; // adds primary particle to the RecParticles list
34 virtual void BuildGeometry(void) ; // creates the geometry for the ROOT display
35 virtual void CreateGeometry(void) ; // creates the geometry for GEANT
36 Float_t GetBigBox(Int_t index) ;
37 virtual AliPHOSGeometry * GetGeometry() { return fGeom ; }
38 virtual void Init(void) ; // does nothing
39 Int_t IsVersion(void) const { return -1 ; }
40 void MakeBranch(Option_t* opt) ;
41 RecParticlesList * RecParticles() { return fRecParticles ; } // gets TClonesArray of reconstructed particles
42 void SetBigBox(Int_t index, Float_t value) ;
43 virtual void StepManager(void) ; // does the tracking through PHOS and a preliminary digitalization
47 Float_t fBigBoxX ; // main box containing all PHOS (EMC+PPSD)
48 Float_t fBigBoxY ; // main box containing all PHOS (EMC+PPSD)
49 Float_t fBigBoxZ ; // main box containing all PHOS (EMC+PPSD)
50 AliPHOSGeometry * fGeom ; // geometry definition
51 Int_t fNRecParticles ; // number of detected particles
52 RecParticlesList * fRecParticles ; // list of detected particles
54 ClassDef(AliPHOSvFast,1) // PHOS main class , version for fast simulation
58 #endif // AliPHOSVFAST_H