|
ATLAS Offline Software
|
Go to the documentation of this file.
13 #include "CaloDetDescr/CaloDetDescrElement.h"
17 , m_initialized(false)
25 , m_FEBTempTool(
"LArFEBTempTool")
34 ATH_MSG_ERROR(
"Need to set variable 'm_ntpath' and 'm_ntTitle' in constructor of deriving class!" );
35 return StatusCode::FAILURE;
39 if (
i==std::string::npos) {
41 return StatusCode::FAILURE;
48 return StatusCode::FAILURE;
56 return StatusCode::FAILURE;
74 return StatusCode::FAILURE;
84 msg(MSG::ERROR) <<
"Could not get LArOnlineID helper !" <<
endmsg;
85 return StatusCode::FAILURE;
99 return StatusCode::FAILURE;
103 return StatusCode::FAILURE;
107 return StatusCode::FAILURE;
113 if (
sc!=StatusCode::SUCCESS) {
128 if (
sc!=StatusCode::SUCCESS) {
130 return StatusCode::FAILURE;
136 if (
sc!=StatusCode::SUCCESS) {
138 return StatusCode::FAILURE;
142 if (
sc!=StatusCode::SUCCESS) {
144 return StatusCode::FAILURE;
148 if (
sc!=StatusCode::SUCCESS) {
150 return StatusCode::FAILURE;
154 if (
sc!=StatusCode::SUCCESS) {
156 return StatusCode::FAILURE;
160 if (
sc!=StatusCode::SUCCESS){
162 return StatusCode::FAILURE;
168 if (
sc!=StatusCode::SUCCESS) {
170 return StatusCode::FAILURE;
175 if (
sc!=StatusCode::SUCCESS) {
177 return StatusCode::FAILURE;
184 if (
sc!=StatusCode::SUCCESS) {
186 return StatusCode::FAILURE;
190 if (
sc!=StatusCode::SUCCESS) {
192 return StatusCode::FAILURE;
197 if (
sc!=StatusCode::SUCCESS) {
199 return StatusCode::FAILURE;
208 if (
sc!=StatusCode::SUCCESS) {
210 return StatusCode::FAILURE;
214 if (
sc!=StatusCode::SUCCESS) {
216 return StatusCode::FAILURE;
221 if (
sc!=StatusCode::SUCCESS) {
223 return StatusCode::FAILURE;
226 if (
sc!=StatusCode::SUCCESS) {
228 return StatusCode::FAILURE;
232 if (
sc!=StatusCode::SUCCESS) {
234 return StatusCode::FAILURE;
237 if (
sc!=StatusCode::SUCCESS) {
239 return StatusCode::FAILURE;
243 if (
sc!=StatusCode::SUCCESS) {
245 return StatusCode::FAILURE;
248 if (
sc!=StatusCode::SUCCESS) {
250 return StatusCode::FAILURE;
257 if (
sc!=StatusCode::SUCCESS) {
259 return StatusCode::FAILURE;
265 if (
sc!=StatusCode::SUCCESS) {
267 return StatusCode::FAILURE;
270 if (
sc!=StatusCode::SUCCESS) {
272 return StatusCode::FAILURE;
277 return StatusCode::SUCCESS;
341 const std::vector<HWIdentifier>& calibLineV=clCont->
calibSlotLine(hwid);
362 bool connected=
false;
368 dd_man = *caloSuperCellMgrHandle;
372 dd_man = *caloMgrHandle;
377 if (
cabling->isOnlineConnected(hwid)) {
425 FEBTemp::const_iterator itb = tv.begin();
426 FEBTemp::const_iterator ite = tv.end();
427 for(;itb!=ite;++itb) {
def retrieve(aClass, aKey=None)
NTuple::Array< double > m_phi
NTuple::Array< double > m_region
int phi(const Identifier id) const
return phi according to :
NTuple::Array< double > m_layer
IdentifierHash channel_Hash(HWIdentifier channelId) const
Create channel_hash from channel_Id.
IdentifierHash calo_cell_hash(const Identifier cellId) const
create hash id from 'global' cell id
StoreGateSvc * m_detStore
const LArFCAL_Base_ID * m_fcalId
int eta(const Identifier id) const
return eta [0,9] outer part [0,3] inner part
NTuple::Array< double > m_oflHash
NTuple::Array< double > m_chanHash
bool is_lar_fcal(Identifier id) const
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
NTuple::Array< double > m_slot
NTuple::Array< double > m_FT
Conditions-Data class holding LAr Bad Channel or Bad Feb information.
const std::vector< HWIdentifier > & calibSlotLine(const HWIdentifier id) const
Gaudi::Property< bool > m_OffId
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
NTuple::Array< double > m_eta
int slot(const HWIdentifier id) const
Return the slot number of a hardware cell identifier: slot = [1,15] Slot-ID in top part of the crat...
Identifier32 get_identifier32() const
Get the 32-bit version Identifier, will be invalid if >32 bits needed.
int module(const Identifier id) const
module [1,3]
int region(const Identifier id) const
return region according to :
int sampling(const Identifier id) const
return sampling according to :
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > m_caloSuperCellMgrKey
NTuple::Array< float > m_rphi
int barrel_ec(const HWIdentifier id) const
Return the position barrel or endcap of a hardware cell identifier: barrel_ec = [0,...
NTuple::Array< double > m_badChanWord
LArBC_t status(const HWIdentifier channel) const
Query the status of a particular channel or FEB This is the main client access method.
value_type get_compact() const
Get the compact id.
Gaudi::Property< bool > m_expandId
Definition of CaloDetDescrManager.
int eta(const Identifier id) const
return eta according to :
int eta(const Identifier id) const
eta [0,63] module 1 ; [0,31] module 2 ; [0,15] module 3
float eta_raw() const
cell eta_raw
const LArFCAL_Base_ID * fcal_idHelper() const
access to FCAL idHelper
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
SG::ReadCondHandleKey< LArCalibLineMapping > m_calibMapSCKey
int phi(const Identifier id) const
phi [0,15]
Gaudi::Property< bool > m_addBC
const LArEM_Base_ID * em_idHelper() const
access to EM idHelper
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingSCKey
int channel(const HWIdentifier id) const
Return the channel number of a hardware cell identifier channel = [0,127] in all FEB.
This class initializes the Calo (LAr and Tile) offline identifiers.
ToolHandle< ILArFEBTempTool > m_FEBTempTool
::StatusCode StatusCode
StatusCode definition for legacy code.
const LArOnlineID_Base * m_onlineId
NTuple::Array< double > m_febHash
int pos_neg(const HWIdentifier id) const
Return the side of a hardware cell identifier pos_neg = [0,1] positive-side or negative-side Barrel...
Helper class for offline supercell identifiers.
NTuple::Array< float > m_FEBTemp2
NTuple::Array< double > m_detector
bool is_lar_hec(Identifier id) const
NTuple::Array< double > m_channel
bool fillFromIdentifier(const HWIdentifier &id, int C)
Gaudi::Property< bool > m_addFEBTemp
HWIdentifier feb_Id(int barrel_ec, int pos_neg, int feedthrough, int slot) const
Create feb_Id from fields.
const SG::ReadCondHandleKey< LArOnOffIdMapping > & cablingKey() const
NTuple::Array< double > m_barrel_ec
SG::ReadCondHandleKey< LArBadChannelCont > m_BCKey
NTuple::Array< float > m_FEBTemp1
const CaloCell_ID * getCaloCell_ID(void) const
Access to IdHelper.
int barrel_ec(const Identifier id) const
return barrel_ec according to :
StatusCode initialize(bool used=true)
LArCond2NtupleBaseEB(const std::string &name, ISvcLocator *pSvcLocator)
NTuple::Array< double > m_oflChanId
const LArEM_Base_ID * m_emId
int feedthrough(const HWIdentifier id) const
Return the feedthrough of a hardware cell identifier : feedthrough = [0,31] Barrel - A/C side or H/...
#define ATH_MSG_WARNING(x)
const CaloCell_Base_ID * m_caloId
int sampling(const Identifier id) const
return sampling [0,3] (only 0 for supercells)
const CaloCell_SuperCell_ID * getCaloCell_SuperCell_ID(void) const
NTuple::Array< float > m_reta
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
NTuple::Array< double > m_onlChanId
NTuple::Array< double > m_calibLine
NTuple::Array< double > m_isConnected
Gaudi::Property< bool > m_addCalib
int region(const Identifier id) const
return region [0,1]
bool is_lar_em(Identifier id) const
Gaudi::Property< bool > m_realgeom
NTuple::Array< double > m_pos_neg
Exception class for LAr Identifiers.
IdentifierHash feb_Hash(HWIdentifier febId) const
Create feb hash identifiers from feb identifiers.
const LArHEC_Base_ID * m_hecId
Gaudi::Property< bool > m_addHash
float phi_raw() const
cell phi_raw
SG::ReadCondHandleKey< LArCalibLineMapping > m_calibMapKey
const LArHEC_Base_ID * hec_idHelper() const
access to HEC idHelper
int phi(const Identifier id) const
return phi[0,63] outer part [0,31] inner part
Gaudi::Property< bool > m_isSC