PandaRoot
PndLmdTrkQTask.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- PndLmdTrkQTask header file -----
3 // ----- Created 18/06/13 by A.Karavdina -----
4 // -------------------------------------------------------------------------
5 
12 #ifndef PNDLMDTRKQTASK_H
13 #define PNDLMDTRKQTASK_H
14 
15 // framework includes
16 #include "FairTask.h"
17 #include "TH1.h"
18 #include "TMatrixD.h"
19 #include "TVector3.h"
20 #include "PndGeoHandling.h"
21 #include <vector>
22 #include <map>
23 #include "TDatabasePDG.h"
24 #include "PndLmdTrackQ.h"
25 
26 class TClonesArray;
27 class PndSdsCluster;
28 
29 class PndLmdTrkQTask : public FairTask {
30  public:
32 // PndLmdTrkQTask();
33 #ifndef __CINT__
34  PndLmdTrkQTask(const PndLmdTrkQTask &) = delete;
35 #endif
36 
38  PndLmdTrkQTask(Double_t pBeam = 0, TString geaneBranch = "GeaneTrackFinal", TString trackBranch = "LMDPndTrackFilt");
39 
42 
44  // virtual void SetParContainers();
45  virtual InitStatus Init();
46 
48  virtual void Exec(Option_t *opt);
49 
50  virtual void Finish();
51  void SetWriteMC(bool wr) { fWriteAllMC = wr; }
52 
53  private:
54  // Input Data ----------
55  TString fGeaneName;
56  TString fTrackBranchName;
57  TClonesArray *fMCHits;
58  TClonesArray *fMCTracks;
59  TClonesArray *fRecHits;
60  TClonesArray *fRecCandTracks;
61  TClonesArray *fRecTracks;
62  TClonesArray *fRecBPTracks;
63  // Output Data -------
64  TClonesArray *fTrackQ;
65 
66  int fEventNr;
67  // bool fUseMVDPoint;
68  Double_t fPbeam;
69  // Int_t fPDGid;
70  // TVector3 vtx;
71  bool fWriteAllMC;
72 
73  ClassDef(PndLmdTrkQTask, 2);
74 };
75 
76 #endif
Class to store the Digis which belong to one cluster This class holds the information which Digi belo...
Definition: PndSdsCluster.h:18
void SetWriteMC(bool wr)
PndLmdTrkQTask(const PndLmdTrkQTask &)=delete
virtual void Finish()
virtual void Exec(Option_t *opt)
virtual InitStatus Init()