PandaRoot
PndHypPidIdealTask.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- PndMvdPidIdealTask header file -----
3 // ----- Created 20/03/07 by R.Kliemt -----
4 // ----- Modified 12.12.08 for hyp purpose by A. Sanchez -----
5 // -------------------------------------------------------------------------
6 
14 #ifndef PNDHYPPIDIDEALTASK_H
15 #define PNDHYPPIDIDEALTASK_H
16 
17 // Root includes
18 #include "TVector3.h"
19 #include "TGeoPolygon.h"
20 #include "TRandom.h"
21 #include "TObject.h"
22 #include "TH1.h"
23 #include "TH2.h"
24 #include "TCanvas.h"
25 
26 // framework includes
27 #include "FairTask.h"
28 #include "FairField.h"
29 #include "PndHypPidCand.h"
30 
31 class TClonesArray;
32 
33 class PndHypPidIdealTask : public FairTask {
34  public:
36  PndHypPidIdealTask(const TString algoName = "ideal");
37  // virtual ~PndHypPidIdealTask();
39  virtual void SetParContainers();
40  virtual InitStatus Init();
41 
43  virtual void Exec(Option_t *opt);
44 
45  private:
46  TString fBranchName;
47  TString fAlgoName;
48 
50  TClonesArray *fPointArray;
51  TClonesArray *fMcArray;
53  TClonesArray *fTrackOutputArray;
54 
55  void Register();
56 
57  void Reset();
58 
59  void ProduceHits();
60 
61  ClassDef(PndHypPidIdealTask, 1);
62 };
63 
64 #endif
virtual InitStatus Init()
virtual void SetParContainers()
virtual void Exec(Option_t *opt)
PndHypPidIdealTask(const TString algoName="ideal")