|
ATLAS Offline Software
|
Go to the documentation of this file.
14 typedef CaloSamplingData::variable_store_type::size_type var_size_type;
18 for (var_size_type
i=0;
i<nVar;++
i) {
21 CaloSamplingData::variable_store_type::const_iterator
pos =
41 for (
size_t i=0;
i<nVar;++
i) {
60 unsigned int ncluster,
70 std::vector<unsigned int>::const_iterator
it =
72 std::vector<unsigned int>::const_iterator
end =
91 <<
"Corrupted persistent data seen: "
92 << ncluster <<
" clusters != "
99 else if (nPersVars == 0 || (pers->
m_dataStore.size() % nPersVars) != 0) {
101 <<
"Corrupted persistent data seen: "
102 << pers->
m_dataStore.size() <<
" stored values is not a multiple of "
103 << nPersVars <<
" stored variables.";
JetConstituentVector::iterator iterator
static unsigned int getAllVariableBits()
std::vector< unsigned int > m_varTypePatterns
void persToTrans(const CaloSamplingDataContainer_p1 *pers, CaloSamplingData *trans, State &state) const
unsigned int m_varTypePattern
bool removeVariable(variable_key_type theVariable, sampling_key_type theSampling)
Remove a certain variable.
std::vector< unsigned int >::const_iterator m_varTypePatternsIterator
CaloSamplingDataContainer_p1::const_iterator m_samplingStoreIterator
size_t getNumberOfVariableTypes() const
Return number of variable types.
void fill(H5::Group &out_file, size_t iterations)
#define REPORT_MESSAGE_WITH_CONTEXT(LVL, CONTEXT_NAME)
Report a message, with an explicitly specified context name.
Helpers for checking error return status codes and reporting errors.
void transToPers(const CaloSamplingData *trans, CaloSamplingDataContainer_p1 *pers, MsgStream &log) const
variable_store_type m_dataStore
bool setState(const CaloSamplingDataContainer_p1 *pers, unsigned int ncluster, State &state) const
std::vector< float > m_dataStore
Simple data object to store all variables in calorimeter samplings.
size_t index(size_t theVariable, size_t theSampling) const