PandaRoot
PndLmdHitMergeTask.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 // ----- PndLmdHitMergeTask header file -----
15 // -------------------------------------------------------------------------
16 
17 #ifndef PNDLMDHITMERGETASK_H
18 #define PNDLMDHITMERGETASK_H
19 
20 #include "FairTask.h"
21 
22 #include <string>
23 #include <vector>
24 
25 class TH2;
26 class TClonesArray;
27 
28 class PndLmdHitMergeTask: public FairTask {
29 public:
33  PndLmdHitMergeTask(const char* name);
34 
36  virtual ~PndLmdHitMergeTask();
37 
39  virtual InitStatus Init();
40 
42  virtual void Exec(Option_t* opt);
43 
44  void Finish();
45 
46 protected:
47  TClonesArray* fHitArray; // Input array of PndSdsHits
48  TClonesArray* fMergedHitArray; // Output array of PndSdsHits
49 
50  TString fHitBranchName;
51 
52  TH2* hdxdy;
53 
55 };
56 
57 #endif /* PNDLMDHITMERGETASK_H */
TClonesArray * fHitArray
ClassDef(PndLmdHitMergeTask, 0)
virtual ~PndLmdHitMergeTask()
TClonesArray * fMergedHitArray
virtual InitStatus Init()
virtual void Exec(Option_t *opt)