Class Reference

Complete API reference for AnalysisG.

This section provides comprehensive documentation for all classes, structs, and functions in the framework. The documentation is automatically generated from the source code using Doxygen.

Overview

For detailed class documentation, please see the individual module pages:

All Classes and Structures

Note

The complete API documentation with all classes, functions, and variables is generated by Doxygen. Due to the large number of entities (308 source files), we provide narrative descriptions in the module pages above.

For comprehensive code-level documentation including all function signatures, parameters, and implementation details, you can build the Doxygen HTML documentation locally:

cd docs
doxygen Doxyfile
# Open build/doxygen/html/index.html in your browser

Core Data Structures

element_t Structure

struct element_t

Public Functions

bool next()
void set_meta()
bool boundary()
template<typename g>
inline bool get(std::string key, g *var)

Public Members

std::string tree = ""
long event_index = -1
std::string filename = ""
std::map<std::string, data_t*> handle = {}

variable_t Structure

struct variable_t : public bsc_t

Public Functions

variable_t()
variable_t(bool use_external)
~variable_t() override
void create_meta(meta_t *mt)
void build_switch(size_t s, torch::Tensor *tx)
void process(torch::Tensor *data, std::string *varname, TTree *tr)
void process(std::vector<std::vector<float>> *data, std::string *varname, TTree *tr)
void process(std::vector<std::vector<double>> *data, std::string *varname, TTree *tr)
void process(std::vector<std::vector<long>> *data, std::string *varname, TTree *tr)
void process(std::vector<std::vector<int>> *data, std::string *varname, TTree *tr)
void process(std::vector<std::vector<bool>> *data, std::string *varname, TTree *tr)
void process(std::vector<float> *data, std::string *varname, TTree *tr)
void process(std::vector<double> *data, std::string *varname, TTree *tr)
void process(std::vector<long> *data, std::string *varname, TTree *tr)
void process(std::vector<int> *data, std::string *varname, TTree *tr)
void process(std::vector<bool> *data, std::string *varname, TTree *tr)
void process(float *data, std::string *varname, TTree *tr)
void process(double *data, std::string *varname, TTree *tr)
void process(long *data, std::string *varname, TTree *tr)
void process(int *data, std::string *varname, TTree *tr)
void process(bool *data, std::string *varname, TTree *tr)

Public Members

std::string variable_name = ""
bool failed_branch = false

data_t Structure

struct data_t : public bsc_t

Public Functions

data_t()
~data_t() override
void initialize()
void flush()
bool next()

Public Members

std::string leaf_name = ""
std::string branch_name = ""
std::string tree_name = ""
std::string leaf_type = ""
std::string path = ""
std::string *fname = nullptr
TLeaf *leaf = nullptr
TBranch *branch = nullptr
TTree *tree = nullptr
TFile *file = nullptr
int file_index = 0
std::vector<std::string> *files_s = nullptr
std::vector<long> *files_i = nullptr
std::vector<TFile*> *files_t = nullptr

write_t Structure

struct write_t

Public Functions

variable_t *process(std::string *name)
void write()
void create(std::string tr_name, std::string path)
void close()

Public Members

TFile *file = nullptr
TTree *tree = nullptr
meta_t *mtx = nullptr
std::map<std::string, variable_t*> *data = nullptr