#include <CaloCellGroup.h>
Definition at line 59 of file CaloCellGroup.h.
◆ CaloCellGroupList()
CaloCellGroupList::CaloCellGroupList |
( |
| ) |
|
|
inline |
◆ dump()
Definition at line 284 of file CaloCellGroup.cxx.
286 std::cout <<
"Definitions: " << std::endl;
288 std::cout <<
"Group " <<
i <<
":" << std::endl;
291 std::cout <<
"Results: "<< std::endl;
296 for (std::size_t
i=0;
i<
x.size();
i++)
297 std::cout <<
x[
i] <<
" ";
298 std::cout <<
"]" << std::endl;
◆ getDefaults()
const std::vector<float>& CaloCellGroupList::getDefaults |
( |
| ) |
const |
|
inline |
◆ printDef()
void CaloCellGroupList::printDef |
( |
| ) |
const |
Definition at line 302 of file CaloCellGroup.cxx.
303 std::cout <<
"Definitions: " << std::endl;
305 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 226 of file CaloCellGroup.cxx.
232 if (definitions.empty()) {
233 logStr << MSG::WARNING <<
"No definition string found" <<
endmsg;
238 const std::string& defaultValueStr=definitions[0];
240 const char* ptr1=defaultValueStr.c_str();
248 ptr1=
const_cast<const char*
>(ptr2+1);
253 m_groups.resize(definitions.size()-1);
255 bool s=
m_groups[
i].setDefinition(caloCellId,definitions[
i+1],logStr);
256 if (!
s)
return false;
258 logStr << MSG::ERROR <<
"Incosistent number of values!" <<
endmsg;
◆ valuesForCell()
Definition at line 267 of file CaloCellGroup.cxx.
275 std::vector<CaloCellGroup>::const_iterator
it=
m_groups.begin();
276 std::vector<CaloCellGroup>::const_iterator it_e=
m_groups.end();
277 for(;
it!=it_e;++
it) {
279 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: