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 Duane Byer
0003 
0004 R__LOAD_LIBRARY(EpicAnalysis)
0005 
0006 void postprocess_asymmetry(
0007     TString infile="out/asymmetry.dire_5x41.brian.hiDiv.root"
0008 ) {
0009 
0010   // setup
0011   PostProcessor *P = new PostProcessor(infile);
0012 
0013   // payload operator: execute PostProcessor::DrawSingle for each bin defined in analysis_asymmetry.C
0014   P->Op()->Payload( [&P](Histos *H) {
0015     P->DrawSingle(H,"phiH","");
0016     P->DrawSingle(H,"phiS","");
0017     P->DrawSingle(H,"phiSivers","");
0018     P->DrawSingle(H,"phiCollins","");
0019   });
0020 
0021   // execution and cleanup
0022   P->Execute();
0023   P->Finish();
0024 };