|
||||
File indexing completed on 2024-06-01 07:07:10
0001 // SPDX-License-Identifier: LGPL-3.0-or-later 0002 // Copyright (C) 2023 Christopher Dilks 0003 0004 R__LOAD_LIBRARY(EpicAnalysis) 0005 0006 // make kinematics coverage plots, such as eta vs. p in bins of (x,Q2) 0007 void postprocess_coverage( 0008 TString infile="out/coverage.example_5x41.root" 0009 ) { 0010 0011 // setup postprocessor ======================================== 0012 PostProcessor *P = new PostProcessor(infile); 0013 0014 P->Op()->PrintBreadth("HistosDAG Initial Setup"); 0015 0016 // lambdas ===================================================== 0017 0018 // payload: draw a few plots, using PostProcessor::DrawSingle 0019 P->Op()->Payload( 0020 [&P](Histos *H) { 0021 P->DrawSingle(H,"Q2vsX","COLZ"); 0022 P->DrawSingle(H,"etaVsP","COLZ"); 0023 //P->DrawSingle(H,"x_Res",""); 0024 //P->DrawSingle(H,"x_RvG","COLZ"); 0025 //P->DrawSingle(H,"phiH_RvG","COLZ"); 0026 //P->DrawSingle(H,"phiS_RvG","COLZ"); 0027 } 0028 ); 0029 0030 P->Op()->PrintBreadth("HistosDAG Final Setup"); 0031 0032 // execution =================================================== 0033 P->Execute(); 0034 0035 // finish =================================================== 0036 P->Finish(); 0037 0038 };
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.5 LXR engine. The LXR team |