|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include "Identifier/Identifier.h"
70 ATH_MSG_INFO (
" end of CaloNoise2Ntuple::initialize " );
71 return StatusCode::SUCCESS;
82 return StatusCode::SUCCESS;
87 return StatusCode::SUCCESS;
95 const EventContext& ctx = Gaudi::Hive::currentContext();
137 int ii = (
int) (idSubHash);
142 m_OffId = (
int)(
id.get_identifier32().get_compact());
149 if (subCalo<3)
ngain=3;
178 return StatusCode::SUCCESS;
183 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
SG::ReadCondHandleKey< CaloNoise > m_elecNoiseKey
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
bool is_em_endcap(const Identifier id) const
test if the id belongs to the EM Endcap
int pos_neg(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
const CaloDetDescrElement * get_element(const Identifier &cellId) const
get element by its identifier
int calo_sample(const Identifier id) const
returns an int taken from Sampling enum and describing the subCalo to which the Id belongs.
bool is_tile(const Identifier id) const
test if the id belongs to the Tiles
float getNoise(const IdentifierHash h, const int gain) const
Accessor by IdentifierHash and gain.
bool is_hec(const Identifier id) const
test if the id belongs to the HEC
uint32_t runNumber() const
The current event's run number.
float eta_raw() const
cell eta_raw
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
SG::ReadCondHandleKey< CaloNoise > m_totalNoiseKey
bool is_em(const Identifier id) const
test if the id belongs to LArEM
This class initializes the Calo (LAr and Tile) offline identifiers.
const CaloCell_ID * m_calo_id
bool is_fcal(const Identifier id) const
test if the id belongs to the FCAL - true also for MiniFCAL
::StatusCode StatusCode
StatusCode definition for legacy code.
ServiceHandle< ITHistSvc > m_thistSvc
virtual StatusCode execute() override
standard Athena-Algorithm method
IdentifierHash subcalo_cell_hash(const Identifier cellId, int &subCalo) const
create hash id from 'global' cell id
uint32_t lumiBlock() const
The current event's luminosity block number.
bool is_em_barrel(const Identifier id) const
test if the id belongs to the EM barrel
StatusCode initialize(bool used=true)
Identifier cell_id(const int subCalo, const int barec_or_posneg, const int sampling_or_fcalmodule, const int region_or_dummy, const int eta, const int phi) const
Make a cell (== channel) ID from constituting fields and subCalo index; for (Mini)FCAL,...
Class describing the basic event information.
virtual StatusCode initialize() override
standard Athena-Algorithm method
This class provides the client interface for accessing the detector description information common to...
#define ATH_MSG_WARNING(x)
virtual StatusCode finalize() override
standard Athena-Algorithm method
virtual ~CaloNoise2Ntuple()
Default Destructor.
SG::ReadCondHandleKey< CaloNoise > m_pileupNoiseKey
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
virtual StatusCode stop() override
standard Athena-Algorithm method
CaloNoise2Ntuple(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
float phi_raw() const
cell phi_raw
size_type calo_cell_hash_max(void) const
cell 'global' hash table max size
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey