]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - ITS/AliITSsimulationFastPoints.h
Adding a reminder for coders
[u/mrichter/AliRoot.git] / ITS / AliITSsimulationFastPoints.h
... / ...
CommitLineData
1#ifndef ALIITSSIMULATIONFASTPOINTS_H
2#define ALIITSSIMULATIONFASTPOINTS_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8//////////////////////////////////////////////////////////
9// implements fast simulation
10/////////////////////////////////////////////////////////
11//
12
13#include <TMath.h>
14
15#include "AliITSsimulation.h"
16class TClonesArray;
17class AliITSmodule;
18class TRandom;
19
20class AliITSsimulationFastPoints : public AliITSsimulation
21{
22
23public:
24 AliITSsimulationFastPoints(); // default constructor
25 virtual ~AliITSsimulationFastPoints() {;}
26 // virtual AliITSsimulation& operator=(const AliITSsimulation&){return *this;}
27 void CreateFastRecPoints(AliITSmodule *mod,Int_t module,TRandom *rndm,
28 TClonesArray* recp);
29 void CreateFastRecPoints(Int_t module,TClonesArray* recp);
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
34 private:
35
36
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]);
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];}
45
46
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
52
53 ClassDef(AliITSsimulationFastPoints,1) // Fast point simulator.
54
55};
56
57#endif