EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PndTrackArrayMerger.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PndTrackArrayMerger.h
1 
2 #include "FairTask.h"
3 
4 #include "TString.h"
5 #include "TClonesArray.h"
6 #include <vector>
7 
9 {
10 
11 public:
13  PndTrackArrayMerger(TString s);
14  virtual ~PndTrackArrayMerger();
15 
16  virtual void SetParContainers();
17  virtual InitStatus Init();
18  virtual InitStatus ReInit();
19  virtual void Exec(Option_t* opt);
20  virtual void FinishEvent();
21 
22  void SetPersistance(Bool_t p=kTRUE) {fPersistance = p;}
23  void AddInputBranch(TString s) {fInputBranchList.push_back(s);}
24  void SetOutputBranch(TString s) {fOutputBranch = s;}
25 
26 private:
27  Bool_t fPersistance;
28  TString fOutputBranch;
29  TClonesArray* fOutputArray;
30  std::vector<TString> fInputBranchList;
31  std::vector<TClonesArray*> fInputArrayList;
32 
35 
36 public:
38 
39 };