Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Trkr_QA.C
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file Trkr_QA.C
1 #ifndef MACRO_TRKRQA_C
2 #define MACRO_TRKRQA_C
3 
4 #include <GlobalVariables.C>
5 #include <G4_TrkrVariables.C>
6 #include <Trkr_TruthTables.C>
7 #include <QA.C>
9 #include <qa_modules/QAG4SimulationMvtx.h>
10 #include <qa_modules/QAG4SimulationIntt.h>
11 #include <qa_modules/QAG4SimulationTpc.h>
12 #include <qa_modules/QAG4SimulationMicromegas.h>
13 #include <qa_modules/QAG4SimulationTracking.h>
14 #include <qa_modules/QAG4SimulationUpsilon.h>
15 #include <qa_modules/QAG4SimulationVertex.h>
16 #include <qa_modules/QAG4SimulationDistortions.h>
17 
18 R__LOAD_LIBRARY(libqa_modules.so)
19 
20 void Mvtx_QA()
21 {
23 
26  qa->Verbosity(verbosity);
27  se->registerSubsystem(qa);
28 }
29 
30 void Intt_QA()
31 {
33 
36  qa->Verbosity(verbosity);
37  se->registerSubsystem(qa);
38 }
39 
40 void TPC_QA()
41 {
43 
46  qa->Verbosity(verbosity);
47  se->registerSubsystem(qa);
48 }
49 
51 {
52  auto se = Fun4AllServer::instance();
53  auto qa_mm = new QAG4SimulationMicromegas;
55  se->registerSubsystem(qa_mm);
56 }
57 
58 
60 {
62 
63  //---------------
64  // Fun4All server
65  //---------------
66 
68 
70 
72  // qa->addEmbeddingID(2);
73  qa->Verbosity(verbosity);
74  se->registerSubsystem(qa);
75 
77  // qa2->addEmbeddingID(2);
78  qa2->Verbosity(verbosity);
79  se->registerSubsystem(qa2);
80 
81  // Acts Kalman Filter vertex finder
82  //=================================
84  // qav->addEmbeddingID(2);
85  qav->Verbosity(verbosity);
86  qav->setVertexMapName("SvtxVertexMapActs");
87  se->registerSubsystem(qav);
88 
89  if (Input::UPSILON)
90  {
92 
93  for (int id : Input::UPSILON_EmbedIds)
94  {
95  qa->addEmbeddingID(id);
96  }
97  se->registerSubsystem(qa);
98  }
99 }
100 
102 {
104 
105  //---------------
106  // Fun4All server
107  //---------------
108 
110 
111  auto qa = new QAG4SimulationDistortions();
112  qa->Verbosity(verbosity);
113  se->registerSubsystem(qa);
114 }
115 
116 #endif