PandaRoot
PndMvdPidIdealTask.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 // -------------------------------------------------------------------------
17 
25 #ifndef PNDMVDPIDIDEALTASK_H
26 #define PNDMVDPIDIDEALTASK_H
27 
28 // Root includes
29 #include "TVector3.h"
30 #include "TGeoPolygon.h"
31 #include "TRandom.h"
32 #include "TObject.h"
33 #include "TH1.h"
34 #include "TH2.h"
35 #include "TCanvas.h"
36 
37 // framework includes
38 #include "FairTask.h"
39 #include "FairField.h"
40 #include "PndMvdPidCand.h"
41 
42 class TClonesArray;
43 
44 class PndMvdPidIdealTask : public FairTask {
45  public:
47  PndMvdPidIdealTask(const TString algoName = "ideal");
49  // virtual ~PndMvdPidIdealTask();
52  virtual void SetParContainers();
53  virtual InitStatus Init();
54 
56  virtual void Exec(Option_t *opt);
57 
58  private:
59  TString fBranchName;
60  TString fAlgoName;
61 
63  TClonesArray *fPointArray;
64  TClonesArray *fMcArray;
66  TClonesArray *fTrackOutputArray;
67 
68  void Register();
69 
70  void Reset();
71 
72  void ProduceHits();
73 
74  ClassDef(PndMvdPidIdealTask, 1);
75 };
76 
77 #endif
PndMvdPidIdealTask(const TString algoName="ideal")
virtual void SetParContainers()
PndMvdPidIdealTask & operator=(PndMvdPidIdealTask &)=delete
virtual InitStatus Init()
virtual void Exec(Option_t *opt)