PandaRoot
PndSttHitProducerIdeal.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 // -------------------------------------------------------------------------
14 // ----- CbmStsHitProducerIdel header file -----
15 // ----- Created 10/01/06 by V. Friese -----
16 // -------------------------------------------------------------------------
17 
28 #ifndef PNDSTTHITPRODUCERIDEAL_H
29 #define PNDSTTHITPRODUCERIDEAL_H
30 
31 #include <PndPersistencyTask.h>
32 #include "PndGeoSttPar.h"
33 
34 #include "TVector3.h"
35 //#include "TRandom.h"
36 
37 class TClonesArray;
38 
40  public:
43 
46 
48  virtual InitStatus Init();
49 
51  virtual void Exec(Option_t *opt);
52 
53  void SetPersistence(Bool_t persistence) { SetPersistency(persistence); }
54 
55  private:
64  void GetClostestApproachToWire(Double_t &closestDistance, Double_t &closestDistanceError, TVector3 inPos, TVector3 outPos);
65  void FoldZPosWithResolution(Double_t &zpos, Double_t &zposError, TVector3 localInPos, TVector3 localOutPos);
66 
67  Double_t GetRadialResolution(Double_t radius);
68  Double_t GetLongitudinalResolution(Double_t zpos);
69 
70  void SetParContainers();
71 
73  TClonesArray *fPointArray;
74 
76  TClonesArray *fHitArray;
77 
79  TClonesArray *fHitInfoArray;
80  // CHECK added
82  TClonesArray *fTubeArray;
83 
84  PndGeoSttPar *fSttParameters; // CHECK added
85 
86  ClassDef(PndSttHitProducerIdeal, 1);
87 };
88 
89 #endif
void SetPersistency(Bool_t val=kTRUE)
virtual void Exec(Option_t *opt)
void SetPersistence(Bool_t persistence)
virtual InitStatus Init()