13 std::vector<std::string> strConfig = config.
getParameter< std::vector<std::string> >(
"Configurations" );
14 std::vector<std::string>::iterator itConfig;
15 for ( itConfig = strConfig.begin(); itConfig != strConfig.end(); ++itConfig )
22 edm::LogInfo(
"Alignment") <<
"@SUB=MultiMetricsUpdator::MultiMetricsUpdator "
23 <<
"\nInstance of MultiMetricsUpdator created.";;
29 std::vector< SimpleMetricsUpdator* >::const_iterator it;
38 std::vector< SimpleMetricsUpdator* >::const_iterator it;
41 (*it)->update( alignables );
46 const std::vector< Alignable* >
49 std::set< Alignable* > alignableSet;
51 std::vector< SimpleMetricsUpdator* >::const_iterator it;
54 const std::vector< Alignable* > additional = (*it)->additionalAlignables( alignables );
55 alignableSet.insert( additional.begin(), additional.end() );
58 std::vector< Alignable* >
result;
59 result.insert( result.end(), alignableSet.begin(), alignableSet.end() );
64 const std::vector< Alignable* >
67 std::set< Alignable* > alignableSet;
69 std::vector< SimpleMetricsUpdator* >::const_iterator it;
72 const std::vector< Alignable* >
alignables = (*it)->alignables();
73 alignableSet.insert( alignables.begin(), alignables.end() );
76 std::vector< Alignable* >
result;
77 result.insert( result.end(), alignableSet.begin(), alignableSet.end() );
T getParameter(std::string const &) const
MultiMetricsUpdator(const edm::ParameterSet &config)
virtual ~MultiMetricsUpdator(void)
virtual void update(const std::vector< Alignable * > &alignables)
virtual const std::vector< Alignable * > alignables(void) const
#define DEFINE_EDM_PLUGIN(factory, type, name)
virtual const std::vector< Alignable * > additionalAlignables(const std::vector< Alignable * > &alignables)
std::vector< SimpleMetricsUpdator * > theMetricsUpdators