|
susy_cfa
b611ccad937ea179f86a1f5663960264616c0a20
|
#include <map>#include <set>#include <utility>#include <string>#include <vector>#include "TChain.h"Go to the source code of this file.
Classes | |
| struct | Variable |
Typedefs | |
| typedef std::map< std::string, std::vector< std::pair< bool, std::string > > > | Dictionary |
| typedef std::set< std::pair< std::string, std::string > > | Typelist |
| typedef std::vector< std::pair< std::string, std::vector< std::string > > > | RepList |
| typedef std::map< std::pair< std::string, std::string >, std::vector< std::string > > | RepMap |
Functions | |
| void | GetVariables (TChain &chain, const bool is_chain_a, const size_t file, const size_t num_files, Dictionary &vars) |
| void | ClassifyVariables (const Dictionary &all_var, std::vector< Variable > &base_vars, std::vector< Variable > &virtual_vars, std::vector< std::vector< Variable > > &file_vars) |
| void | WriteBaseHeader (const std::vector< Variable > &base_vars, const std::vector< Variable > &virtual_variables) |
| void | WriteBaseSource (const std::vector< Variable > &base_vars, const std::vector< Variable > &virtual_variables) |
| void | WriteDerivedHeader (const std::string &class_name, const std::vector< Variable > &vars) |
| void | WriteDerivedSource (const std::string &class_name, const std::vector< Variable > &vars) |
| void | WriteMergedHeader (const Typelist &typelist, const RepMap &overwritten, const RepMap &new_funcs) |
| void | WriteMergedSource (const Typelist &typelist, const RepMap &overwritten, const RepMap &new_funcs, const std::vector< std::string > &class_names) |
| void | AddToTypelist (const std::vector< Variable > &vars, Typelist &typelist) |
| void | PrintAccessor (const Variable &var, std::ofstream &file, const std::string &class_name) |
| void | GetRules (RepList &reps) |
| void | GetReplacements (const Typelist &typelist, const RepList &pats, RepMap &reps) |
| void | GetOverwritten (const Typelist &typelist, const RepMap &replacements, RepMap &overwritten, RepMap &new_funcs) |
| typedef std::map<std::string, std::vector<std::pair<bool, std::string> > > Dictionary |
Definition at line 38 of file generate_cfa.hpp.
| typedef std::vector<std::pair<std::string, std::vector<std::string> > > RepList |
Definition at line 44 of file generate_cfa.hpp.
| typedef std::map<std::pair<std::string, std::string>, std::vector<std::string> > RepMap |
Definition at line 47 of file generate_cfa.hpp.
| typedef std::set<std::pair<std::string, std::string> > Typelist |
Definition at line 41 of file generate_cfa.hpp.
Definition at line 597 of file generate_cfa.cpp.
Referenced by main().
| void ClassifyVariables | ( | const Dictionary & | all_var, |
| std::vector< Variable > & | base_vars, | ||
| std::vector< Variable > & | virtual_vars, | ||
| std::vector< std::vector< Variable > > & | file_vars | ||
| ) |
Definition at line 130 of file generate_cfa.cpp.
References Variable::name, and Variable::Variable().
Referenced by main().
| void GetOverwritten | ( | const Typelist & | typelist, |
| const RepMap & | replacements, | ||
| RepMap & | overwritten, | ||
| RepMap & | new_funcs | ||
| ) |
Definition at line 698 of file generate_cfa.cpp.
Referenced by main().
| void GetRules | ( | RepList & | reps | ) |
Definition at line 627 of file generate_cfa.cpp.
Referenced by main().
| void GetVariables | ( | TChain & | chain, |
| const bool | is_chain_a, | ||
| const size_t | file, | ||
| const size_t | num_files, | ||
| Dictionary & | vars | ||
| ) |
Definition at line 85 of file generate_cfa.cpp.
Referenced by main().
| void PrintAccessor | ( | const Variable & | var, |
| std::ofstream & | file, | ||
| const std::string & | class_name | ||
| ) |
Definition at line 606 of file generate_cfa.cpp.
References Variable::Converted(), Variable::FromType(), Variable::Name(), and Variable::ToType().
Referenced by WriteBaseSource(), and WriteDerivedSource().
| void WriteBaseHeader | ( | const std::vector< Variable > & | base_vars, |
| const std::vector< Variable > & | virtual_variables | ||
| ) |
Definition at line 185 of file generate_cfa.cpp.
Referenced by main().
| void WriteDerivedHeader | ( | const std::string & | class_name, |
| const std::vector< Variable > & | vars | ||
| ) |
Definition at line 444 of file generate_cfa.cpp.
References anonymous_namespace{generate_cfa.cpp}::AllCaps().
Referenced by main().
| void WriteDerivedSource | ( | const std::string & | class_name, |
| const std::vector< Variable > & | vars | ||
| ) |
1.8.11