pueoAnalysisTools
Loading...
Searching...
No Matches
util.h File Reference

Contains only one utility function currently. More...

#include <filesystem>
#include <regex>
#include <iostream>
#include "TChain.h"

Go to the source code of this file.

Functions

int prepare_icefinal_chain (std::filesystem::path PUEO_MC_DATA, std::unique_ptr< TChain > &passTree_chain_ptr, std::unique_ptr< TChain > &allTree_chain_ptr)
 Prepares two TChains that combine all the IceFinal_*_allTree.root files in the simulation output directory.
 

Detailed Description

Contains only one utility function currently.

Note
NiceMC is implicitly needed in order to read the IceFinal files. (see the corresponding CMakeLists.txt to see how this is done)

Definition in file util.h.

Function Documentation

◆ prepare_icefinal_chain()

int prepare_icefinal_chain ( std::filesystem::path PUEO_MC_DATA,
std::unique_ptr< TChain > & passTree_chain_ptr,
std::unique_ptr< TChain > & allTree_chain_ptr )
inline

Prepares two TChains that combine all the IceFinal_*_allTree.root files in the simulation output directory.

Parameters
[in]PUEO_MC_DATASee effective_area.PUEO_MC_DATA
[in]allTree_chain_ptrSee effective_area.allTree_chain_ptr
[in]passTree_chain_ptrSee effective_area.passTree_chain_ptr

Definition at line 21 of file util.h.