#include <CaloCellContainerCorrectorTool.h>
◆ initialize()
StatusCode CaloCellContainerCorrectorTool::initialize |
( |
| ) |
|
|
overridevirtual |
Definition at line 28 of file CaloCellContainerCorrectorTool.cxx.
41 msg(MSG::WARNING) <<
" no calo specified for correction. Will do nothing. " <<
endmsg;
42 return StatusCode::SUCCESS;
44 msg(MSG::ERROR) <<
" More than "
45 << nSubCalo <<
" calo specified. Must be wrong. Stop." <<
endmsg;
46 return StatusCode::FAILURE;
54 return StatusCode::FAILURE;
63 return StatusCode::SUCCESS;
◆ process()
StatusCode CaloCellContainerCorrectorTool::process |
( |
CaloCellContainer * |
theCellContainer, |
|
|
const EventContext & |
ctx |
|
) |
| const |
|
overridevirtual |
Definition at line 68 of file CaloCellContainerCorrectorTool.cxx.
78 msg(MSG::WARNING) <<
"Failure from processOnCellIterators" <<
endmsg ;
82 for (std::vector<int>::const_iterator itrCalo=
m_caloNums.begin();itrCalo!=
m_caloNums.end();++itrCalo){
89 if (!theCont->hasCalo(caloNum))
91 msg(MSG::WARNING) <<
" Attempt to apply correction but CaloCellContainer has not been filled for this calo : "
97 msg(MSG::WARNING) <<
"Failure from processOnCellIterators for calo "
98 <<
static_cast<int> (caloNum)
110 return StatusCode::SUCCESS ;
◆ processOnCellIterators()
Definition at line 115 of file CaloCellContainerCorrectorTool.cxx.
125 for (itrCell=itrCellBeg;itrCell!=itrCellEnd;++itrCell) {
126 tool->MakeCorrection (*itrCell, ctx);
129 for (itrCell=itrCellBeg;itrCell!=itrCellEnd;++itrCell) {
131 tool->MakeCorrection (*itrCell, ctx);
136 return StatusCode::SUCCESS;
◆ m_caloNums
Gaudi::Property<std::vector<int> > CaloCellContainerCorrectorTool::m_caloNums {this,"CaloNums",{1,static_cast<int>(CaloCell_ID::NSUBCALO)} } |
|
private |
◆ m_caloSelection
bool CaloCellContainerCorrectorTool::m_caloSelection =false |
|
private |
◆ m_cellCorrectionTools
ToolHandleArray<CaloCellCorrection> CaloCellContainerCorrectorTool::m_cellCorrectionTools {this,"CellCorrectionToolNames",{}} |
|
private |
The documentation for this class was generated from the following files: