]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSsimulationFastPoints.h
Adding new classes AliMUONClusterFinderPeakFit, AliMUONClusterFinderPeakCOG
[u/mrichter/AliRoot.git] / ITS / AliITSsimulationFastPoints.h
CommitLineData
b0f5e3fc 1#ifndef ALIITSSIMULATIONFASTPOINTS_H
2#define ALIITSSIMULATIONFASTPOINTS_H
090026bf 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
b0f5e3fc 7
d2f55a22 8//////////////////////////////////////////////////////////
9// implements fast simulation
10/////////////////////////////////////////////////////////
11//
090026bf 12
13#include <TMath.h>
14
15#include "AliITSsimulation.h"
7d62fb64 16class TClonesArray;
b0f5e3fc 17class AliITSmodule;
e8189707 18class TRandom;
b0f5e3fc 19
20class AliITSsimulationFastPoints : public AliITSsimulation
21{
22
23public:
7537d03c 24 AliITSsimulationFastPoints(); // default constructor
d2f55a22 25 virtual ~AliITSsimulationFastPoints() {;}
7537d03c 26 virtual AliITSsimulation& operator=(const AliITSsimulation&){return *this;}
7d62fb64 27 void CreateFastRecPoints(AliITSmodule *mod,Int_t module,TRandom *rndm,
28 TClonesArray* recp);
29 void CreateFastRecPoints(Int_t module,TClonesArray* recp);
8ba39da9 30
31 virtual void SetSegmentationModel(Int_t dt, AliITSsegmentation *seg){fDetType->SetSegmentationModel(dt,seg);}
32 virtual AliITSsegmentation* GetSegmentationModel(Int_t dt){return fDetType->GetSegmentationModel(dt);}
33
e56160b8 34 private:
d2f55a22 35
e56160b8 36
e8189707 37 virtual void SetSigmaRPhi(Double_t sigmarphi[6]);
38 virtual void SetSigmaZ(Double_t sigmaz[6]);
39 virtual void SetSigmaDe(Double_t sigmade[6]);
40 virtual void SetThrDe(Double_t thrde[6]);
d2f55a22 41 Double_t SigmaRPhi(Int_t layer) const {return fSigmaRPhi[layer-1];}
42 Double_t SigmaZ(Int_t layer) const {return fSigmaZ[layer-1];}
43 Double_t SigmaDe(Int_t layer) const {return fSigmaDe[layer-1];}
44 Double_t ThrDe(Int_t layer) const {return fThrDe[layer-1];}
e8189707 45
b0f5e3fc 46
e8189707 47 Double_t fSigmaRPhi[6]; // Sigmas in rphi for the 6 layers
48 Double_t fSigmaZ[6]; // Sigmas in Z for the 6 layers
49 Double_t fSigmaDe[6]; // Sigmas in energy loss for the 6 layers
50 Double_t fThrDe[6]; // Energy thresholds for the 6 layers
51
b0f5e3fc 52
53 ClassDef(AliITSsimulationFastPoints,1) // Fast point simulator.
54
55};
56
57#endif