PandaRoot
PndLmdTrkQTask.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 // ----- PndLmdTrkQTask header file -----
15 // ----- Created 18/06/13 by A.Karavdina -----
16 // -------------------------------------------------------------------------
17 
24 #ifndef PNDLMDTRKQTASK_H
25 #define PNDLMDTRKQTASK_H
26 
27 // framework includes
28 #include "FairTask.h"
29 #include "TH1.h"
30 #include "TMatrixD.h"
31 #include "TVector3.h"
32 #include "PndGeoHandling.h"
33 #include <vector>
34 #include <map>
35 #include "TDatabasePDG.h"
36 #include "PndLmdTrackQ.h"
37 
38 class TClonesArray;
39 class PndSdsCluster;
40 
41 class PndLmdTrkQTask : public FairTask {
42  public:
44 // PndLmdTrkQTask();
45 #ifndef __CINT__
46  PndLmdTrkQTask(const PndLmdTrkQTask &) = delete;
47 #endif
48 
50  PndLmdTrkQTask(Double_t pBeam = 0, TString geaneBranch = "GeaneTrackFinal", TString trackBranch = "LMDPndTrackFilt");
51 
54 
56  // virtual void SetParContainers();
57  virtual InitStatus Init();
58 
60  virtual void Exec(Option_t *opt);
61 
62  virtual void Finish();
63  void SetWriteMC(bool wr) { fWriteAllMC = wr; }
64 
65  private:
66  // Input Data ----------
67  TString fGeaneName;
68  TString fTrackBranchName;
69  TClonesArray *fMCHits;
70  TClonesArray *fMCTracks;
71  TClonesArray *fRecHits;
72  TClonesArray *fRecCandTracks;
73  TClonesArray *fRecTracks;
74  TClonesArray *fRecBPTracks;
75  // Output Data -------
76  TClonesArray *fTrackQ;
77 
78  int fEventNr;
79  // bool fUseMVDPoint;
80  Double_t fPbeam;
81  // Int_t fPDGid;
82  // TVector3 vtx;
83  bool fWriteAllMC;
84 
85  ClassDef(PndLmdTrkQTask, 2);
86 };
87 
88 #endif
Class to store the Digis which belong to one cluster This class holds the information which Digi belo...
Definition: PndSdsCluster.h:30
void SetWriteMC(bool wr)
PndLmdTrkQTask(const PndLmdTrkQTask &)=delete
virtual void Finish()
virtual void Exec(Option_t *opt)
virtual InitStatus Init()