PandaRoot
PndHypPidIdealTask.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 // ----- PndMvdPidIdealTask header file -----
15 // ----- Created 20/03/07 by R.Kliemt -----
16 // ----- Modified 12.12.08 for hyp purpose by A. Sanchez -----
17 // -------------------------------------------------------------------------
18 
26 #ifndef PNDHYPPIDIDEALTASK_H
27 #define PNDHYPPIDIDEALTASK_H
28 
29 // Root includes
30 #include "TVector3.h"
31 #include "TGeoPolygon.h"
32 #include "TRandom.h"
33 #include "TObject.h"
34 #include "TH1.h"
35 #include "TH2.h"
36 #include "TCanvas.h"
37 
38 // framework includes
39 #include "FairTask.h"
40 #include "FairField.h"
41 #include "PndHypPidCand.h"
42 
43 class TClonesArray;
44 
45 class PndHypPidIdealTask : public FairTask {
46  public:
48  PndHypPidIdealTask(const TString algoName = "ideal");
49  // virtual ~PndHypPidIdealTask();
51  virtual void SetParContainers();
52  virtual InitStatus Init();
53 
55  virtual void Exec(Option_t *opt);
56 
57  private:
58  TString fBranchName;
59  TString fAlgoName;
60 
62  TClonesArray *fPointArray;
63  TClonesArray *fMcArray;
65  TClonesArray *fTrackOutputArray;
66 
67  void Register();
68 
69  void Reset();
70 
71  void ProduceHits();
72 
73  ClassDef(PndHypPidIdealTask, 1);
74 };
75 
76 #endif
virtual InitStatus Init()
virtual void SetParContainers()
virtual void Exec(Option_t *opt)
PndHypPidIdealTask(const TString algoName="ideal")