star-travex
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
StiHifyAnalysisTreeMaker.h
Go to the documentation of this file.
1 #ifndef StiHifyAnalysisTreeMaker_h
2 #define StiHifyAnalysisTreeMaker_h
3 
4 #include "TTree.h"
5 
6 #include "StiHify/StiHifyEvent.h"
9 
10 
12 {
13 public:
14 
16 
17  struct errorInfo_t {
18  float errorMag;
19  float pull;
20  float residual;
21  float eta;
22  float pT;
23  float phi;
24  float z;
25  };
26 
30 
31  void FillTree(const StiHifyEvent &event, StiNodeHitStatus hitStatus=StiNodeHitStatus::Any, bool onlyNodesWithCandidates=false);
32  void FillTree(const TStiKalmanTrackNode &trkNode, errorInfo_t &eI );
33  virtual void createTree();
34  void writeTree();
35  void clearTreeStructs();
36 
37 protected:
38 
39  // These are only aliases to created tree
40  TTree* aTree;
41 
42 private:
43 
45 };
46 
47 #endif
void FillTree(const StiHifyEvent &event, StiNodeHitStatus hitStatus=StiNodeHitStatus::Any, bool onlyNodesWithCandidates=false)
const StiHifyPrgOptions & fPrgOptions
Command line arguments and options requested by the user.
Processes and controls user options provided in the command line.
StiNodeHitStatus
StiHifyAnalysisTreeMaker(const StiHifyPrgOptions &)