ROOT logo
#ifndef ALIITSRECPOINTU_H
#define ALIITSRECPOINTU_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice                               */


/////////////////////////////////////////////////////////////////
//  Class to set the local coordinates in ITS Upgrade recpoint //
/////////////////////////////////////////////////////////////////

#include <AliITSRecPoint.h>


class AliITSRecPointU : public AliITSRecPoint {

public :
  AliITSRecPointU();
  virtual ~AliITSRecPointU() {}; // distructor
  AliITSRecPointU(const AliITSRecPointU& pt);
  AliITSRecPointU& operator=(const AliITSRecPointU &source);

  void SetLocalCoord(Float_t x, Float_t z) {fXloc=x; fZloc=z;}
  void SetModule(Int_t i){fModule=i;} 
  void SetNTracksIdMC(Int_t nLabels) {fNTracksIdMC = nLabels;}
  void AddTrackID(Int_t tid); 

  Int_t GetModule() const {return fModule;}
  Int_t GetNTracksIdMC() const {return fNTracksIdMC;}
  Int_t GetTrackID(Int_t ipart) const {if(ipart<0 || ipart >=kMaxLab) return -1; else return fTrackIdMC[ipart];}

  enum {kMaxLab=24}; // maximum number of MC labels associated to the cluster
  void CleanLabels() {SetNTracksIdMC(0); for(Int_t i=0; i<kMaxLab ; i++) fTrackIdMC[i]=-3; }

  virtual void Print(Option_t* option = "") const;

 protected:

  Int_t fModule;         // segmentation element within the same layer
  Int_t fNTracksIdMC;     // total number of associated MC labels (could be more than 3!)
  Int_t fTrackIdMC[kMaxLab];  // MC track labels 

  ClassDef(AliITSRecPointU,1)  // AliITSRecPointU class

};
#endif
 AliITSRecPointU.h:1
 AliITSRecPointU.h:2
 AliITSRecPointU.h:3
 AliITSRecPointU.h:4
 AliITSRecPointU.h:5
 AliITSRecPointU.h:6
 AliITSRecPointU.h:7
 AliITSRecPointU.h:8
 AliITSRecPointU.h:9
 AliITSRecPointU.h:10
 AliITSRecPointU.h:11
 AliITSRecPointU.h:12
 AliITSRecPointU.h:13
 AliITSRecPointU.h:14
 AliITSRecPointU.h:15
 AliITSRecPointU.h:16
 AliITSRecPointU.h:17
 AliITSRecPointU.h:18
 AliITSRecPointU.h:19
 AliITSRecPointU.h:20
 AliITSRecPointU.h:21
 AliITSRecPointU.h:22
 AliITSRecPointU.h:23
 AliITSRecPointU.h:24
 AliITSRecPointU.h:25
 AliITSRecPointU.h:26
 AliITSRecPointU.h:27
 AliITSRecPointU.h:28
 AliITSRecPointU.h:29
 AliITSRecPointU.h:30
 AliITSRecPointU.h:31
 AliITSRecPointU.h:32
 AliITSRecPointU.h:33
 AliITSRecPointU.h:34
 AliITSRecPointU.h:35
 AliITSRecPointU.h:36
 AliITSRecPointU.h:37
 AliITSRecPointU.h:38
 AliITSRecPointU.h:39
 AliITSRecPointU.h:40
 AliITSRecPointU.h:41
 AliITSRecPointU.h:42
 AliITSRecPointU.h:43
 AliITSRecPointU.h:44
 AliITSRecPointU.h:45