Skip to content
Snippets Groups Projects

User Qa histograms added

Merged Misha Mamaev requested to merge user_qa_histo into master
3 files
+ 15
1
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -161,6 +161,7 @@ void CorrectionTask::FillTracksQvectors(){
/**
* Adding QA histograms to CorrectionManager
*/
void CorrectionTask::AddQAHisto() //TODO make it automatic
{
for(const auto& qvec: global_config_->GetQvectorsConfig()) {
@@ -180,6 +181,14 @@ void CorrectionTask::AddQAHisto() //TODO make it automatic
manager_.AddHisto1D(qvec.GetName(), {qvec.GetName()+"_signal", 100, 0, 5}, "Ones");
manager_.AddHisto1D(qvec.GetName(), {qvec.GetName()+"_phi", 500, -4, 4}, "Ones");
}
for(const auto& histo : qa_histos){
auto [name, axis] = histo;
if( axis.size() == 1 )
manager_.AddHisto1D(name, axis.at(0));
if( axis.size() == 2 )
manager_.AddHisto2D(name, axis);
}
}
void CorrectionTask::Finish() {
Loading