|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include "Identifier/Identifier.h"
13 #include "CoolKernel/types.h"
14 #include "CoolKernel/Record.h"
15 #include "CoralBase/AttributeListSpecification.h"
23 m_FolderName(
"/LAR/CellCorrOfl/EnergyCorr"),
43 ATH_MSG_DEBUG (
"CaloCellEnergyCorr2Ntuple destructor called" );
60 m_tree =
new TTree(
"mytree",
"Calo Noise ntuple");
70 ATH_MSG_INFO (
" end of CaloCellEnergyCorr2Ntuple::initialize " );
71 return StatusCode::SUCCESS;
82 return StatusCode::SUCCESS;
87 return StatusCode::SUCCESS;
98 int nobj=
flt->getNObjs();
114 m_OffId = (
int)(
id.get_identifier32().get_compact());
142 return StatusCode::SUCCESS;
147 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
bool is_em_endcap_outer(const Identifier id) const
test if the id belongs to the EM Endcap outer wheel
const CaloCell_ID * m_calo_id
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
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
CaloCellEnergyCorr2Ntuple(const std::string &name, ISvcLocator *pSvcLocator) ATLAS_CTORDTOR_NOT_THREAD_SAFE
Standard Athena-Algorithm Constructor.
const DataHandle< AthenaAttributeList > m_AttrListColl
int calo_sample(const Identifier id) const
returns an int taken from Sampling enum and describing the subCalo to which the Id belongs.
~CaloCellEnergyCorr2Ntuple() ATLAS_CTORDTOR_NOT_THREAD_SAFE
Default Destructor.
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< CaloDetDescrManager > m_caloMgrKey
bool is_em(const Identifier id) const
test if the id belongs to LArEM
This class initializes the Calo (LAr and Tile) offline identifiers.
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.
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
virtual StatusCode finalize() override
standard Athena-Algorithm method
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.
ServiceHandle< ITHistSvc > m_thistSvc
This class provides the client interface for accessing the detector description information common to...
static CaloCondBlobFlt * getInstance(coral::Blob &blob)
Returns a pointer to a non-const CaloCondBlobFlt.
#define ATH_MSG_WARNING(x)
virtual StatusCode execute() 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...
float phi_raw() const
cell phi_raw
size_type calo_cell_hash_max(void) const
cell 'global' hash table max size