Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
6 #include "CaloDetDescr/CaloDetDescrElement.h"
8 #include "Identifier/Identifier.h"
37 m_tree =
new TTree(
"mytree",
"Calo Noise ntuple");
50 ATH_MSG_INFO (
" end of CaloCellPosition2Ntuple::initialize " );
51 return StatusCode::SUCCESS;
59 return StatusCode::SUCCESS;
68 int ncell=fcalmax-emmin;
82 return StatusCode::SUCCESS;
91 m_OffId = (
int)(
id.get_identifier32().get_compact());
106 return StatusCode::SUCCESS;
111 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
virtual StatusCode stop() override
standard Athena-Algorithm method
SG::ReadCondHandleKey< CaloRec::CaloCellPositionShift > m_cellPosKey
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.
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Container for a cell-level rescaling-factors, typically obtained by Z->ee intercalibration.
void calo_cell_hash_range(const Identifier id, IdentifierHash &caloCellMin, IdentifierHash &caloCellMax) const
to loop on 'global' cell hashes of one sub-calorimeter alone
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode finalize() override
standard Athena-Algorithm method
const CaloCell_ID * m_calo_id
float volume() const
cell volume
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,...
This class provides the client interface for accessing the detector description information common to...
#define ATH_MSG_WARNING(x)
CaloCellPosition2Ntuple(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
float eta() const
cell eta
float phi() const
cell phi
virtual StatusCode initialize() override
standard Athena-Algorithm method
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
virtual StatusCode execute() override
standard Athena-Algorithm method
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
ServiceHandle< ITHistSvc > m_thistSvc