File indexing completed on 2024-04-06 12:11:48
0001 #include <vector>
0002 #include <string>
0003
0004 #include "Rtypes.h"
0005
0006 #include "eve_filter.h"
0007
0008
0009 void calo_filter(void) {
0010 std::vector< std::pair< std::string, Color_t> > elements;
0011 elements.push_back( std::make_pair(std::string("/cms:World/cms:CMSE/caloBase:CALO/eregalgo:ECAL/eregalgo:EREG/eealgo:ENCA/eealgo:E[EO][0-9][0-9]"), kCyan) );
0012 elements.push_back( std::make_pair(std::string("/cms:World/cms:CMSE/caloBase:CALO/eregalgo:ECAL/eregalgo:EBAR/ebalgo:ESPM/eregalgo:EFAW/eregalgo:EHAWR/ebalgo:EWAL"), kCyan) );
0013 elements.push_back( std::make_pair(std::string("/cms:World/cms:CMSE/caloBase:CALO/hcalalgo:HCal/hcalbarrelalgo:HB"), kRed) );
0014 elements.push_back( std::make_pair(std::string("/cms:World/cms:CMSE/caloBase:CALO/hcalalgo:HCal/hcalendcapalgo:HE"), kRed) );
0015
0016 TEveElement * node = get_root_object("cms:World_1");
0017 if (node) {
0018 init_filter(elements);
0019 apply_filter( node, do_hide, true );
0020 }
0021 }