Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SvtxEvalStack.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file SvtxEvalStack.h
1 #ifndef G4EVAL_SVTXEVALSTACK_H
2 #define G4EVAL_SVTXEVALSTACK_H
3 
4 #include "SvtxVertexEval.h"
5 
6 class PHCompositeNode;
7 class SvtxClusterEval;
8 class SvtxHitEval;
9 class SvtxTrackEval;
10 class SvtxTruthEval;
11 
12 #include <string> // for string
13 
14 // This user class provides pointers to the
15 // full set of tracking evaluators and
16 // protects the user from future introduction
17 // of new eval heirachies (new eval objects can
18 // be introduced without rewrites)
19 
21 {
22  public:
24  virtual ~SvtxEvalStack() {}
25 
26  void next_event(PHCompositeNode* topNode);
27  void do_caching(bool do_cache) { _vertexeval.do_caching(do_cache); }
28  void set_strict(bool strict) { _vertexeval.set_strict(strict); }
29  // void set_over_write_vertexmap(bool over_write) {_vertexeval.set_over_write_vertexmap(over_write);}
30  void set_use_initial_vertex(bool use_init_vtx) { _vertexeval.set_use_initial_vertex(use_init_vtx); }
31  void set_use_genfit_vertex(bool use_genfit_vtx) { _vertexeval.set_use_genfit_vertex(use_genfit_vtx); }
33 
39 
40  unsigned int get_errors() { return _vertexeval.get_errors(); }
41 
43 
44  private:
45  SvtxVertexEval _vertexeval; // right now this is the top-level eval
46 };
47 
48 #endif // G4EVAL_SVTXEVALSTACK_H