![]() |
![]() |
#include <vector>
#include <string>
#include "TPRegexp.h"
Go to the source code of this file.
Enumerations | |
enum | { do_nothing = 0, do_hide = 1, do_remove = 2 } |
Functions | |
void | apply_filter (TEveElement *node, int simplify=do_hide, bool verbose=false) |
void | dump (void) |
TEveElement * | get_root_object (const char *name) |
void | init_filter (const std::vector< std::pair< std::string, Color_t > > &elements) |
TPRegexp | make_filter (const std::string &token) |
TPRegexp | make_filter (const std::vector< std::string > &tokens) |
void | node_filter (TEveElement *node, int simplify=do_hide, bool verbose=false) |
void | split_path (const std::string &path, std::string &name, std::vector< std::string > &parents) |
anonymous enum |
Enumerator | |
---|---|
do_nothing | |
do_hide | |
do_remove |
Definition at line 12 of file eve_filter.h.
void apply_filter | ( | TEveElement * | node, |
int | simplify = do_hide , |
||
bool | verbose = false |
||
) |
Definition at line 175 of file eve_filter.cc.
References gather_cfg::cout, get_name(), matching_nodes, and node_filter().
void dump | ( | void | ) |
Definition at line 168 of file eve_filter.cc.
References gather_cfg::cout, filters, mps_fire::i, and parents.
TEveElement* get_root_object | ( | const char * | name | ) |
Definition at line 189 of file eve_filter.cc.
References get_name(), mps_fire::i, gen::n, and or.
Referenced by calo_filter().
void init_filter | ( | const std::vector< std::pair< std::string, Color_t > > & | elements | ) |
Definition at line 146 of file eve_filter.cc.
References allElectronIsolations_cfi::elements, filters, plotBeamSpotDB::first, mps_fire::i, make_filter(), matching_nodes, parents, edm::second(), split_path(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by calo_filter().
TPRegexp make_filter | ( | const std::string & | token | ) |
Definition at line 39 of file eve_filter.cc.
References ALCARECOTkAlBeamHalo_cff::filter, ns_name_index(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by init_filter().
TPRegexp make_filter | ( | const std::vector< std::string > & | tokens | ) |
Definition at line 51 of file eve_filter.cc.
References ALCARECOTkAlBeamHalo_cff::filter, mps_fire::i, ns_name_index(), and AlCaHLTBitMon_QueryRunRegistry::string.
void node_filter | ( | TEveElement * | node, |
int | simplify = do_hide , |
||
bool | verbose = false |
||
) |
Definition at line 73 of file eve_filter.cc.
References gather_cfg::cout, do_hide, do_nothing, do_remove, expand_node(), filters, runEdmFileComparison::found, mps_fire::i, summarizeEdmComparisonLogfiles::indent, matching_nodes, node_filter(), and parents.
Referenced by apply_filter(), and node_filter().
void split_path | ( | const std::string & | path, |
std::string & | name, | ||
std::vector< std::string > & | parents | ||
) |
Definition at line 26 of file eve_filter.cc.
References ns_name_index(), and split.
Referenced by init_filter().