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

/* $Id$ */

//////////////////////////////////////////////////////////
// implements fast simulation 
/////////////////////////////////////////////////////////
//

#include <TMath.h>

#include "AliITSsimulation.h"
class TClonesArray;
class AliITSmodule;
class TRandom;

class AliITSsimulationFastPoints : public AliITSsimulation
{

public:
  AliITSsimulationFastPoints(); // default constructor  
  virtual ~AliITSsimulationFastPoints() {;} 
  //  virtual AliITSsimulation& operator=(const AliITSsimulation&){return *this;}
  void CreateFastRecPoints(AliITSmodule *mod,Int_t module,TRandom *rndm, 
			   TClonesArray* recp);
  void CreateFastRecPoints(Int_t module,TClonesArray* recp);

  virtual void SetSegmentationModel(Int_t dt, AliITSsegmentation *seg){fDetType->SetSegmentationModel(dt,seg);}
  virtual AliITSsegmentation* GetSegmentationModel(Int_t dt){return fDetType->GetSegmentationModel(dt);}

 private:

    
    virtual void SetSigmaRPhi(Double_t sigmarphi[6]);  
    virtual void SetSigmaZ(Double_t sigmaz[6]);  
    virtual void SetSigmaDe(Double_t sigmade[6]);  
    virtual void SetThrDe(Double_t thrde[6]); 
    Double_t SigmaRPhi(Int_t layer) const {return fSigmaRPhi[layer-1];}  
    Double_t SigmaZ(Int_t layer) const  {return fSigmaZ[layer-1];}  
    Double_t SigmaDe(Int_t layer) const {return fSigmaDe[layer-1];} 
    Double_t ThrDe(Int_t layer) const {return fThrDe[layer-1];} 


    Double_t fSigmaRPhi[6];              // Sigmas in rphi for the 6 layers
    Double_t fSigmaZ[6];                 // Sigmas in Z for the 6 layers
    Double_t fSigmaDe[6];                // Sigmas in energy loss for the 6 layers
    Double_t fThrDe[6];                  // Energy thresholds for the 6 layers


  ClassDef(AliITSsimulationFastPoints,1) // Fast point simulator.

};

#endif
 AliITSsimulationFastPoints.h:1
 AliITSsimulationFastPoints.h:2
 AliITSsimulationFastPoints.h:3
 AliITSsimulationFastPoints.h:4
 AliITSsimulationFastPoints.h:5
 AliITSsimulationFastPoints.h:6
 AliITSsimulationFastPoints.h:7
 AliITSsimulationFastPoints.h:8
 AliITSsimulationFastPoints.h:9
 AliITSsimulationFastPoints.h:10
 AliITSsimulationFastPoints.h:11
 AliITSsimulationFastPoints.h:12
 AliITSsimulationFastPoints.h:13
 AliITSsimulationFastPoints.h:14
 AliITSsimulationFastPoints.h:15
 AliITSsimulationFastPoints.h:16
 AliITSsimulationFastPoints.h:17
 AliITSsimulationFastPoints.h:18
 AliITSsimulationFastPoints.h:19
 AliITSsimulationFastPoints.h:20
 AliITSsimulationFastPoints.h:21
 AliITSsimulationFastPoints.h:22
 AliITSsimulationFastPoints.h:23
 AliITSsimulationFastPoints.h:24
 AliITSsimulationFastPoints.h:25
 AliITSsimulationFastPoints.h:26
 AliITSsimulationFastPoints.h:27
 AliITSsimulationFastPoints.h:28
 AliITSsimulationFastPoints.h:29
 AliITSsimulationFastPoints.h:30
 AliITSsimulationFastPoints.h:31
 AliITSsimulationFastPoints.h:32
 AliITSsimulationFastPoints.h:33
 AliITSsimulationFastPoints.h:34
 AliITSsimulationFastPoints.h:35
 AliITSsimulationFastPoints.h:36
 AliITSsimulationFastPoints.h:37
 AliITSsimulationFastPoints.h:38
 AliITSsimulationFastPoints.h:39
 AliITSsimulationFastPoints.h:40
 AliITSsimulationFastPoints.h:41
 AliITSsimulationFastPoints.h:42
 AliITSsimulationFastPoints.h:43
 AliITSsimulationFastPoints.h:44
 AliITSsimulationFastPoints.h:45
 AliITSsimulationFastPoints.h:46
 AliITSsimulationFastPoints.h:47
 AliITSsimulationFastPoints.h:48
 AliITSsimulationFastPoints.h:49
 AliITSsimulationFastPoints.h:50
 AliITSsimulationFastPoints.h:51
 AliITSsimulationFastPoints.h:52
 AliITSsimulationFastPoints.h:53
 AliITSsimulationFastPoints.h:54
 AliITSsimulationFastPoints.h:55
 AliITSsimulationFastPoints.h:56
 AliITSsimulationFastPoints.h:57