PandaRoot
PndHypIdealTrackingTask.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 // ----- PndMvdIdealTrackingTask header file -----
15 // ----- Created 20/03/07 by R.Kliemt -----
16 // -------------------------------------------------------------------------
17 
25 #ifndef PNDHYPIDEALTRACKINGTASK_H
26 #define PNDHYPIDEALTRACKINGTASK_H
27 
28 // Root includes
29 #include "TVector3.h"
30 #include "TRandom.h"
31 
32 // framework includes
33 #include "FairTask.h"
34 #include "FairField.h"
35 class PndMCTrack;
36 class TClonesArray;
37 
38 class PndHypIdealTrackingTask : public FairTask {
39  public:
42 
45 
47  virtual void SetParContainers();
48  virtual InitStatus Init();
49 
51  virtual void Exec(Option_t *opt);
52 
53  Double_t GetTrackDip(PndMCTrack *myTrack);
54  Double_t GetTrackCurvature(PndMCTrack *myTrack);
55 
56  private:
57  TString fBranchName;
59  TClonesArray *fHitArray;
60  TClonesArray *fDigiStripArray;
61  TClonesArray *fMctruthArray;
62  TClonesArray *fClusterStripArray;
63  TClonesArray *fPointArray;
64 
66  TClonesArray *fTrackOutputArray;
67 
68  void Register();
69 
70  void Reset();
71 
72  void ProduceHits();
73 
74  ClassDef(PndHypIdealTrackingTask, 1);
75 };
76 
77 #endif
virtual InitStatus Init()
virtual void Exec(Option_t *opt)
virtual void SetParContainers()
Double_t GetTrackDip(PndMCTrack *myTrack)
Double_t GetTrackCurvature(PndMCTrack *myTrack)