ATLAS Offline Software
Loading...
Searching...
No Matches
CaloRec Namespace Reference

Namespace for helper functions. More...

Namespaces

namespace  Helpers
namespace  Lookup
 Stores.

Classes

class  CaloCellPositionShift
 Container for a cell-level rescaling-factors, typically obtained by Z->ee intercalibration. More...
class  ToolConstants
 Container for the tool constants managed by ToolWithConstants. More...
class  Arrayrep
 Representation class for Array's. More...
class  Array
 Read-only multidimensional array. More...
class  WritableArray
 Read-write multidimensional array. More...
class  WritableArrayData
class  ArrayScanner
 Helper class for converting strings to Array's. More...

Typedefs

typedef float Arrayelt
 The type of an element of an Array.

Functions

else if (str=="False") m_data.push_back(0)
 Construct from a string.
 if (s.at_open()) read_array(*this
 if (!s.at_num(elt)) error(context
m_data push_back (elt)
 if (!s.at_end()) error(context
 init_sizes ()

Variables

 else
ArrayScanner s (is)
 context
Number expected
End of vector before end of string

Detailed Description

Namespace for helper functions.

These functions are largely a copy of xAOD::CaloEvent::CaloKineHelper but avoid the proximity stepper which seems to create a problem. Additional functions are added.

Typedef Documentation

◆ Arrayelt

typedef float CaloRec::Arrayelt

The type of an element of an Array.

Definition at line 26 of file Control/CxxUtils/CxxUtils/Arrayrep.h.

Function Documentation

◆ if() [1/4]

CaloRec::if ( !s. at_end())

◆ if() [2/4]

CaloRec::if ( !s. at_numelt)

◆ if() [3/4]

CaloRec::if ( s. at_open())

◆ if() [4/4]

else CaloRec::if ( str = ="False")

Construct from a string.

Parameters
strThe string to convert.
contextAn optional string to use for error reporting.

Parse the string and initialize the array. This string should be like `[[1, 2], [3, 4]]'. */ Arrayrep::Arrayrep (const std::string& str, const std::string& context /*=""

◆ init_sizes()

CaloRec::init_sizes ( )

◆ push_back()

m_data CaloRec::push_back ( elt )

Variable Documentation

◆ context

CaloRec::context

Definition at line 217 of file Arrayrep.cxx.

◆ else

CaloRec::else
Initial value:
{
std::istringstream is (str)

Definition at line 209 of file Arrayrep.cxx.

◆ expected

Number CaloRec::expected

Definition at line 222 of file Arrayrep.cxx.

◆ s

CaloRec::s ( is )

Definition at line 217 of file Arrayrep.cxx.

◆ string

End of vector before end of CaloRec::string

Definition at line 228 of file Arrayrep.cxx.