41 const std::map< std::string, double >& parameters,
42 const std::map< std::string, std::string>& stringParameters,
43 const std::map< std::string, double >& greenThresholds,
44 const std::map< std::string, double >& redThresholds,
50 m_parameters = parameters;
51 m_generic_parameters = stringParameters;
52 m_green_thresholds = greenThresholds;
53 m_red_thresholds = redThresholds;
92 typedef std::map< std::string, double >::value_type ParsVal_t;
93 typedef std::map< std::string, double >::value_type ThrVal_t;
101 parName = std::string( par->GetName() );
102 ParsVal_t parMapVal( parName, par->GetValue() );
103 m_parameters.insert( std::move(parMapVal) );
107 while( (strPar =
dynamic_cast<HanConfigParMap*
>( nextStrPar() )) != 0 ) {
115 limName = std::string( lim->
GetName() );
116 ThrVal_t greenMapVal( limName, lim->
GetGreen() );
117 m_green_thresholds.insert( std::move(greenMapVal) );
118 ThrVal_t redMapVal( limName, lim->
GetRed() );
119 m_red_thresholds.insert( std::move(redMapVal) );
123 if( refName !=
"" ) {
126 std::cout <<
"ERROR: can't find reference " << refName << std::endl;
129 TMap*
map =
dynamic_cast<TMap*
>(key->ReadObj());
131 std::cerr <<
"Problem reading TMap input for regex" << std::endl;
134 std::cout <<
"Get reference for " << hca.
GetHistPath() << std::endl;
139 m_ref = key->ReadObj();