|
ATLAS Offline Software
|
Go to the documentation of this file.
6 #ifndef CALOCONDITIONS_CALONOISE_H
7 #define CALOCONDITIONS_CALONOISE_H
9 #include <boost/multi_array.hpp>
30 CaloNoise(
const size_t nLArCells,
const size_t nLArGains,
const size_t nTileCells,
const size_t nTileGains,
109 #include "AthenaKernel/CondCont.h"
NOISETYPE
Conditions Data Object holding the calorimeter noise per cell and per gain.
float getEffectiveSigma(const Identifier id, const int gain, const float energy) const
IdentifierHash calo_cell_hash(const Identifier cellId) const
create hash id from 'global' cell id
Class for storing a number of floats (Flt) and functions on those.
const boost::multi_array< float, 2 > & larStorage() const
Const accessor to underlying storage for GPU data structures.
const boost::multi_array< float, 2 > & tileStorage() const
void setTileBlob(const CaloCondBlobFlt *flt, const float lumi)
float calcSig(const IdentifierHash tilehash, const int gain, const float energy) const
NOISETYPE getNoiseType() const
float getNoise(const Identifier id, const int gain) const
Accessor by Identifier and gain.
boost::multi_array< float, 2 > m_larNoise
float getNoise(const IdentifierHash h, const int gain) const
Accessor by IdentifierHash and gain.
boost::multi_array< float, 2 > m_tileNoise
const CaloCell_Base_ID * m_caloCellId
float getEffectiveSigma(const IdentifierHash h, const int gain, const float energy) const
float getTileEffSigma(const IdentifierHash subHash, const int gain, const float e) const
static unsigned int getDbCaloGain(int caloGain)
Returns the non-negative gainId to be used with the COOL DB.
boost::multi_array< float, 2 > & tileStorage()
unsigned m_tileHashOffset
boost::multi_array< float, 2 > & larStorage()
Non-const accessor to underlying storage for filling:
CONDCONT_MIXED_DEF(CaloNoise, 51500196)
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
float getNoise(const HWIdentifier, const int) const =delete
Safety net: Disallow access by HWIdentifier.
const CaloCondBlobFlt * getTileBlob() const
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Helper base class for offline cell identifiers.
const CaloCondBlobFlt * m_tileBlob
macros to associate a CLID to a type