PandaRoot
PndFtsHitProducerIdeal.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 PNDFTSHITPRODUCERIDEAL_H
29 #define PNDFTSHITPRODUCERIDEAL_H
30 
31 #include <PndPersistencyTask.h>
32 #include "PndGeoFtsPar.h"
33 #include "PndFtsMapCreator.h"
34 
35 #include "TVector3.h"
36 //#include "TRandom.h"
37 
38 class TClonesArray;
39 
41  public:
44 
47 
49  virtual InitStatus Init();
50 
52  virtual void Exec(Option_t *opt);
53 
54  void SetPersistence(Bool_t persistence) { SetPersistency(persistence); }
55 
56  private:
65  void GetClostestApproachToWire(Double_t &closestDistance, Double_t &closestDistanceError, TVector3 inPos, TVector3 outPos);
66  void FoldZPosWithResolution(Double_t &zpos, Double_t &zposError, TVector3 localInPos, TVector3 localOutPos);
67 
68  Double_t GetRadialResolution(Double_t radius);
69  Double_t GetLongitudinalResolution(Double_t zpos);
70 
71  void SetParContainers();
72 
74  TClonesArray *fPointArray;
75 
77  TClonesArray *fHitArray;
78 
80  TClonesArray *fHitInfoArray;
81  // CHECK added
83  TClonesArray *fTubeArray;
84 
85  PndGeoFtsPar *fFtsParameters; // CHECK added
86 
88  PndFtsHitProducerIdeal &operator=(const PndFtsHitProducerIdeal &) { return *this; }
89 
90  ClassDef(PndFtsHitProducerIdeal, 1);
91 };
92 
93 #endif
virtual void Exec(Option_t *opt)
void SetPersistency(Bool_t val=kTRUE)
virtual InitStatus Init()
void SetPersistence(Bool_t persistence)