Back to home page

EIC code displayed by LXR

 
 

    


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 void postprocess_phi_crosscheck(
0007     TString infile="out/phi.crosscheck.root"
0008 ) {
0009 
0010   // cleanup old image files
0011   gROOT->ProcessLine(".! rm -v out/phi.crosscheck.images/*.png");
0012 
0013   // setup postprocessor ========================================
0014   PostProcessor *P = new PostProcessor(infile);
0015 
0016   // lambdas =====================================================
0017   P->Op()->Payload(
0018       [&P](Histos *H) {
0019         P->DrawSingle(H,"phiH","hist");
0020       });
0021 
0022   //P->Op()->PrintBreadth("HistosDAG Final Setup");
0023 
0024   // execution ===================================================
0025   P->Execute();
0026   P->Finish(); 
0027 };