|
ATLAS Offline Software
|
Go to the documentation of this file.
15 #include "CaloEvent/CaloCluster.h"
30 (
const std::string&
type,
31 const std::string&
name,
36 "Should energies be written?");
38 "Should eta values be written?");
40 "Should phi values be written?");
42 "List of samplings to write (in the range 0-3). "
43 "An empty list means to write everything.");
66 return StatusCode::FAILURE;
70 std::ostringstream ename;
71 ename <<
"Es" << samp;
76 std::ostringstream etaname;
77 etaname <<
"etas" << samp;
82 std::ostringstream phiname;
83 phiname <<
"phis" << samp;
88 return StatusCode::SUCCESS;
103 return StatusCode::SUCCESS;
118 return StatusCode::SUCCESS;
134 *
m_Es[samp] =
static_cast<float> (
p.energyBE (samp));
136 *
m_etas[samp] =
static_cast<float> (
p.etaBE (samp));
140 *
m_phis[samp] =
static_cast<float> (
p.phiBE (samp));
145 return StatusCode::SUCCESS;
virtual StatusCode addVariable(const std::string &name, const std::type_info &ti, void *&ptr, const std::string &docstring="", const void *defval=0)
Add a variable to the tuple.
Description of a calorimeter cluster.
Block filler tool for noisy FEB information.
::StatusCode StatusCode
StatusCode definition for legacy code.
Principal data class for CaloCell clusters.
#define CHECK(...)
Evaluate an expression and check for errors.
Helpers for checking error return status codes and reporting errors.
#define REPORT_MESSAGE(LVL)
Report a message.