pueoAnalysisTools
Loading...
Searching...
No Matches
effective_area.h
Go to the documentation of this file.
1
5
6#include "ROOT/RDataFrame.hxx"
7#include "TChain.h"
8
9#include <string>
10#include <filesystem>
11#include <iostream>
12
26class effective_area{
27
28public:
29 effective_area(std::filesystem::path p);
30
53 std::filesystem::path PUEO_MC_DATA;
54
61
62private:
68 std::unique_ptr<TChain> allTree_chain_ptr;
77
83 std::unique_ptr<TChain> passTree_chain_ptr;
93
99 std::unique_ptr<ROOT::RDataFrame> df;
100
101
118
119
134
135
159
163 const double ICE_VOLUME = 26859227.0607;
164
165};
double effective_area_score
The combined effective areas of all the runs in PUEO_MC_DATA.
const double ICE_VOLUME
Antarctica ice volume [km ].
std::unique_ptr< TChain > allTree_chain_ptr
A chain that combines the allTrees in all the IceFinal files in PUEO_MC_DATA.
void compute_total_weight()
Computes total_num_weighted_passEvents by going through the DataFrame df.
std::filesystem::path PUEO_MC_DATA
Path to where the run/ directories are stored.
void compute_mean_interaction_length()
Computes the mean interaction_length by going through the DataFrame df.
std::unique_ptr< TChain > passTree_chain_ptr
A chain that combines the passTree in all the IceFinal files in PUEO_MC_DATA.
double total_num_weighted_passEvents
The (combined) total number of passed events (weighted) in PUEO_MC_DATA.
int passTree_length
Similar to total_num_neutrino_simulated; this is the length of passTree_chain_ptr.
int total_num_neutrino_simulated
The (combined) total number of neutrinos thrown in PUEO_MC_DATA.
void compute_effective_area()
Computes effective_area_score based on all runs in PUEO_MC_DATA.
double interaction_length
Interaction length in kilometers.
std::unique_ptr< ROOT::RDataFrame > df
CERN ROOT DataFrame built based on passTree_chain_ptr.