#include <CaloCellGroup.h>
Definition at line 59 of file CaloCellGroup.h.
◆ CaloCellGroupList()
CaloCellGroupList::CaloCellGroupList |
( |
| ) |
|
|
inline |
◆ dump()
Definition at line 283 of file CaloCellGroup.cxx.
285 std::cout <<
"Definitions: " << std::endl;
287 std::cout <<
"Group " <<
i <<
":" << std::endl;
290 std::cout <<
"Results: "<< std::endl;
295 for (std::size_t
i=0;
i<
x.size();
i++)
296 std::cout <<
x[
i] <<
" ";
297 std::cout <<
"]" << std::endl;
◆ getDefaults()
const std::vector<float>& CaloCellGroupList::getDefaults |
( |
| ) |
const |
|
inline |
◆ printDef()
void CaloCellGroupList::printDef |
( |
| ) |
const |
Definition at line 301 of file CaloCellGroup.cxx.
302 std::cout <<
"Definitions: " << std::endl;
304 std::cout <<
"Group " <<
i <<
":" << std::endl;
◆ setDefinition()
bool CaloCellGroupList::setDefinition |
( |
const CaloCell_Base_ID * |
caloCellId, |
|
|
const std::vector< std::string > & |
definitions, |
|
|
MsgStream & |
logStr |
|
) |
| |
Definition at line 225 of file CaloCellGroup.cxx.
231 if (definitions.empty()) {
232 logStr << MSG::WARNING <<
"No definition string found" <<
endmsg;
237 const std::string& defaultValueStr=definitions[0];
239 const char* ptr1=defaultValueStr.c_str();
247 ptr1=
const_cast<const char*
>(ptr2+1);
252 m_groups.resize(definitions.size()-1);
254 bool s=
m_groups[
i].setDefinition(caloCellId,definitions[
i+1],logStr);
255 if (!
s)
return false;
257 logStr << MSG::ERROR <<
"Incosistent number of values!" <<
endmsg;
◆ valuesForCell()
Definition at line 266 of file CaloCellGroup.cxx.
274 std::vector<CaloCellGroup>::const_iterator
it=
m_groups.begin();
275 std::vector<CaloCellGroup>::const_iterator it_e=
m_groups.end();
276 for(;
it!=it_e;++
it) {
278 if (
it->inGroup(
id))
result=&(
it->getValue());
◆ m_defaults
std::vector<float> CaloCellGroupList::m_defaults |
|
private |
◆ m_groups
◆ m_initialized
bool CaloCellGroupList::m_initialized |
|
private |
The documentation for this class was generated from the following files: