PandaRoot
PndLmdDigiQTask.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 // ----- PndLmdDigiQTask header file -----
15 // ----- Created 19/09/14 by A.Karavdina -----
16 // -------------------------------------------------------------------------
17 
24 #ifndef PNDLMDDIGIQTASK_H
25 #define PNDLMDDIGIQTASK_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 "PndLmdDigiQ.h"
37 
38 class TClonesArray;
39 class PndSdsCluster;
41 
42 class PndLmdDigiQTask : public FairTask {
43  public:
45  // PndLmdDigiQTask();
46 #ifndef __CINT__
47  PndLmdDigiQTask(const PndLmdDigiQTask &) = delete;
48 #endif
49  PndLmdDigiQTask(TString digiBranch = "LMDPixelDigis");
50 
53 
55  // virtual void SetParContainers();
56  virtual InitStatus Init();
57 
59  virtual void Exec(Option_t *opt);
60 
61  virtual void Finish();
62  void SetWriteMC(bool wr) { fWriteAllMC = wr; }
63 
64  private:
65  // Input Data ----------
66  TString fDigiName;
67  TClonesArray *fMCHits;
68  TClonesArray *fMCTracks;
69  TClonesArray *fDigis;
70  /* TClonesArray* fClusters; */
71  /* TClonesArray* fRecHits; */
72  /* TClonesArray* fRecCandTracks; */
73  /* TClonesArray* fRecTracks; */
74  /* TClonesArray* fRecBPTracks; */
75  /* TClonesArray* fMCHeader; */
76  // Output Data -------
77  TClonesArray *fDigiQ;
78 
79  int fEventNr;
80  // bool fUseMVDPoint;
81  // Double_t fPbeam;
82  // Int_t fPDGid;
83  // TVector3 vtx;
84  bool fWriteAllMC;
85 
86  PndLmdGeometryHelper &lmd_geo_helper;
87  ClassDef(PndLmdDigiQTask, 2);
88 };
89 
90 #endif
virtual InitStatus Init()
Class to store the Digis which belong to one cluster This class holds the information which Digi belo...
Definition: PndSdsCluster.h:30
PndLmdDigiQTask(const PndLmdDigiQTask &)=delete
virtual void Finish()
void SetWriteMC(bool wr)
virtual void Exec(Option_t *opt)