public:
- AliPHOSv0(void) ;
+ AliPHOSv0() {
+ //ctor
+ fGeom=0;
+ }
AliPHOSv0(const char *name, const char *title="") ;
- AliPHOSv0(AliPHOSReconstructioner * Reconstructioner, const char *name, const char *title="") ;
- virtual ~AliPHOSv0(void) ;
+ AliPHOSv0(const AliPHOSv0 & phos) {
+ // cpy ctor: no implementation yet
+ // requested by the Coding Convention
+ assert(0==1) ;
+ }
+ virtual ~AliPHOSv0(void){
+ // dtor
+ }
- virtual void AddHit( Int_t primary, Int_t id, Float_t *hits ) ; // adds a pre-digitilized hit to the hit tree
+ virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits ) {
+ // useless since there are no hits
+ assert(0==1) ;
+ }
virtual void BuildGeometry(void) ; // creates the geometry for the ROOT display
void BuildGeometryforPHOS(void) ; // creates the PHOS geometry for the ROOT display
void BuildGeometryforPPSD(void) ; // creates the PPSD geometry for the ROOT display
virtual void CreateGeometry(void) ; // creates the geometry for GEANT
void CreateGeometryforPHOS(void) ; // creates the PHOS geometry for GEANT
void CreateGeometryforPPSD(void) ; // creates the PPSD geometry for GEANT
- Int_t Digitize(Float_t Energy);
- void FinishEvent(void) ; // makes the digits from the hits
- virtual AliPHOSGeometry * GetGeometry() { return fGeom ; }
+ virtual AliPHOSGeometry * GetGeometry() {
+ // gets the pointer to the AliPHOSGeometry unique instance
+ return fGeom ;
+ }
virtual void Init(void) ; // does nothing
- Int_t IsVersion(void) const { return 0 ; }
- void MakeBranch(Option_t* opt) ;
- virtual AliPHOSRecPoint::RecPointsList* PpsdRecPoints(Int_t evt=0) ; // gets Array of clusters in the PPSD
- void Reconstruction(AliPHOSReconstructioner * Reconstructioner) ;
- void ResetClusters(){} ;
- virtual void ResetDigits() ;
- void SetReconstructioner(AliPHOSReconstructioner& Reconstructioner) {fReconstructioner = &Reconstructioner ;}
- void SetDigitThreshold(Float_t th) { fDigitThreshold = th ; }
- virtual void StepManager(void) ; // does the tracking through PHOS and a preliminary digitalization
- virtual TString Version(void){ return TString("v0"); }
-protected:
-
- Float_t fDigitThreshold ; // Threshold for the digit registration
+ Int_t IsVersion(void) const {
+ // Gives the version number
+ return 0 ;
+ }
+ virtual TString Version(void){
+ // As above
+ return TString("v0") ;
+ }
+
+ AliPHOSv0 & operator = (const AliPHOSv0 & rvalue) {
+ // assignement operator requested by coding convention
+ // but not needed
+ assert(0==1) ;
+ return *this ;
+ }
+
+ protected:
+
AliPHOSGeometry * fGeom ; // Geometry definition
- Int_t fNTmpHits ; //! Used internally for digitalization
- Float_t fPinElectronicNoise ; // Electronic Noise in the PIN
- RecPointsList * fPpsdRecPoints ; // The RecPoints (clusters) list in PPSD
- virtual void ResetReconstruction() ; // Reset reconstructed objects
- AliPHOSReconstructioner * fReconstructioner ; // Reconstrutioner of the PHOS event: Clusterization and subtracking procedures
- TClonesArray * fTmpHits ; //! Used internally for digitalization
- AliPHOSTrackSegmentMaker * fTrackSegmentMaker ; // Reconstructioner of the PHOS track segment: 2 x PPSD + 1 x EMC
-
+
ClassDef(AliPHOSv0,1) // Implementation of PHOS manager class for layout EMC+PPSD
-
-};
-
+
+ };
+
#endif // AliPHOSV0_H