Commit 678973a4 authored by Viktor's avatar Viktor
Browse files

add simple Hades qa

parent ee75cfcf
......@@ -8,7 +8,10 @@ add_executable(shine_qa shine_qa.cpp)
add_dependencies(shine_qa AnalysisTreeQA)
target_link_libraries(shine_qa AnalysisTreeQA ${ROOT_LIBRARIES})
add_executable(hades_qa hades_qa.cpp)
add_dependencies(hades_qa AnalysisTreeQA)
target_link_libraries(hades_qa AnalysisTreeQA ${ROOT_LIBRARIES})
install (TARGETS shine_qa RUNTIME DESTINATION bin)
\ No newline at end of file
install (TARGETS shine_qa RUNTIME DESTINATION bin)
install (TARGETS hades_qa RUNTIME DESTINATION bin)
\ No newline at end of file
// Created by vklochkov on 5/28/20.
#include "AnalysisTree/Cuts.h"
#include "AnalysisTree/SimpleCut.h"
#include "CbmCuts.h"
#include "src/Manager.h"
#include "constants.h"
using namespace AnalysisTree;
void VertexTracksQA(QA::Manager& man);
int main(int argc, char** argv)
if(argc <= 1) {
std::cout << "Not enough arguments! Please use:" << std::endl;
std::cout << " ./cbm_qa filelist" << std::endl;
return -1;
const std::string& filelist = argv[1];
QA::Manager man(filelist, "hades_analysis_tree");
return 0;
void VertexTracksQA(QA::Manager& man)
for(const auto& var : p_)
man.AddEntry({var.title_, "mdc_vtx_tracks", var.name_}, var.axis_);
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment