EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PndGFTrackToPndTrackConvertorTask.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PndGFTrackToPndTrackConvertorTask.h
1 //-----------------------------------------------------------
2 // Task which coverts TClonesArray of GFTrack to TClonesArray of PndTrack
3 //-----------------------------------------------------------
4 
5 #ifndef PNDGFTRACKTOPNDTRACKCONVERTORTASK_HH
6 #define PNDGFTRACKTOPNDTRACKCONVERTORTASK_HH
7 
8 // Base Class Headers ----------------
9 #include "FairTask.h"
10 
11 // Collaborating Class Headers -------
12 #include "TString.h"
13 
14 // Collaborating Class Declarations --
15 class TClonesArray;
16 
18 public:
19 
20  // Constructors/Destructors ---------
21  PndGFTrackToPndTrackConvertorTask(const char* name = "Track Convertor", Int_t iVerbose = 0);
23 
24  // Operators
25 
26 
27  // Accessors -----------------------
28 
29  // Modifiers -----------------------
30  void SetTrackInBranchName(const TString& name) { fTrackInBranchName = name; }
31  void SetTrackOutBranchName(const TString& name) { fTrackOutBranchName = name; }
32 
33  // Operations ----------------------
34  virtual InitStatus Init();
35  virtual void Exec(Option_t* opt);
36 
37 private:
38 
39  // Private Data Members ------------
40  TClonesArray* fInTrackArray;
41  TClonesArray* fOutTrackArray;
42 
45 
47 
48 };
49 
50 #endif