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