|
ATLAS Offline Software
|
#include <LArADC2MeV2Ntuple.h>
|
StatusCode | initialize () |
|
virtual StatusCode | stop () |
|
StatusCode | finalize () |
|
| LArCond2NtupleBase (const std::string &name, ISvcLocator *pSvcLocator) |
|
StatusCode | execute () |
|
bool | fillFromIdentifier (const HWIdentifier &id) |
|
const SG::ReadCondHandleKey< LArOnOffIdMapping > & | cablingKey () const |
|
virtual StatusCode | sysInitialize () override |
| Override sysInitialize. More...
|
|
virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. More...
|
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
|
Gaudi::Property< bool > | m_addBC {this, "AddBadChannelInfo", true, "dump BadChan info ?"} |
|
Gaudi::Property< bool > | m_addFEBTemp {this, "AddFEBTempInfo", false, "dump FEB temperature info ?"} |
|
Gaudi::Property< bool > | m_isSC {this, "isSC", false, "are we working with SC?"} |
|
Gaudi::Property< bool > | m_isFlat {this, "isFlat", false, "are we working with Flat conditions ?"} |
|
Gaudi::Property< bool > | m_OffId {this, "OffId", false, "dump also offline ID ?"} |
|
Gaudi::Property< bool > | m_addHash {this, "AddHash", false, "add also ID hash info ?"} |
|
Gaudi::Property< bool > | m_addCalib {this, "AddCalib", false, "add also calib line info info ?"} |
|
Gaudi::Property< bool > | m_realgeom {this, "RealGeometry", false, "add real geometry values ?"} |
|
Gaudi::Property< bool > | m_expandId {this,"ExpandId", true ,"add online Id decoded fields ?"} |
|
std::string | m_ntpath |
|
std::string | m_ntTitle |
|
NTuple::Tuple * | m_nt |
|
NTuple::Item< long > | m_detector |
|
NTuple::Item< long > | m_region |
|
NTuple::Item< long > | m_layer |
|
NTuple::Item< long > | m_eta |
|
NTuple::Item< long > | m_phi |
|
NTuple::Item< long > | m_onlChanId |
|
NTuple::Item< long > | m_oflChanId |
|
NTuple::Item< long > | m_pos_neg |
|
NTuple::Item< long > | m_barrel_ec |
|
NTuple::Item< long > | m_FT |
|
NTuple::Item< long > | m_slot |
|
NTuple::Item< long > | m_channel |
|
NTuple::Item< long > | m_calibLine |
|
NTuple::Item< long > | m_badChanWord |
|
NTuple::Item< long > | m_isConnected |
|
NTuple::Item< long > | m_chanHash |
|
NTuple::Item< long > | m_febHash |
|
NTuple::Item< long > | m_oflHash |
|
NTuple::Item< float > | m_reta |
|
NTuple::Item< float > | m_rphi |
|
NTuple::Item< float > | m_FEBTemp1 |
|
NTuple::Item< float > | m_FEBTemp2 |
|
StoreGateSvc * | m_detStore |
|
const LArEM_Base_ID * | m_emId |
|
const LArHEC_Base_ID * | m_hecId |
|
const LArFCAL_Base_ID * | m_fcalId |
|
const LArOnlineID_Base * | m_onlineId |
|
const CaloCell_Base_ID * | m_caloId |
|
ToolHandle< ILArFEBTempTool > | m_FEBTempTool |
|
SG::ReadCondHandleKey< LArOnOffIdMapping > | m_cablingKey {this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"} |
|
SG::ReadCondHandleKey< LArOnOffIdMapping > | m_cablingSCKey {this,"CablingSCKey","LArOnOffIdMapSC","SG Key of LArOnOffIdMapping object"} |
|
SG::ReadCondHandleKey< LArBadChannelCont > | m_BCKey {this, "BadChanKey", "LArBadChannel", "SG bad channels key"} |
|
SG::ReadCondHandleKey< LArCalibLineMapping > | m_calibMapKey {this,"CalibMapKey","LArCalibLineMap","SG Key of calib line mapping object"} |
|
SG::ReadCondHandleKey< LArCalibLineMapping > | m_calibMapSCKey {this,"CalibMapSCKey","LArCalibIdMapSC","SG Key of calib line mapping object"} |
|
SG::ReadCondHandleKey< CaloDetDescrManager > | m_caloMgrKey {this, "CaloDetDescrManager", "CaloDetDescrManager", "SG Key for CaloDetDescrManager in the Condition Store"} |
|
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > | m_caloSuperCellMgrKey {this, "CaloSuperCellDetDescrManager", "CaloSuperCellDetDescrManager", "SG key of the resulting CaloSuperCellDetDescrManager" } |
|
Definition at line 15 of file LArADC2MeV2Ntuple.h.
◆ StoreGateSvc_t
◆ anonymous enum
◆ cablingKey()
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
253 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
229 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
338 return PBASE::declareProperty(
name, property,
doc);
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
StatusCode LArCond2NtupleBase::execute |
( |
| ) |
|
|
inlineinherited |
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ extraOutputDeps()
const DataObjIDColl & AthAlgorithm::extraOutputDeps |
( |
| ) |
const |
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 50 of file AthAlgorithm.cxx.
57 return Algorithm::extraOutputDeps();
◆ fillFromIdentifier()
Definition at line 288 of file LArCond2NtupleBase.cxx.
332 m_onlChanId = hwid.get_identifier32().get_compact();
349 const std::vector<HWIdentifier>& calibLineV=clCont->
calibSlotLine(hwid);
370 bool connected=
false;
376 dd_man = *caloSuperCellMgrHandle;
380 dd_man = *caloMgrHandle;
385 if (
cabling->isOnlineConnected(hwid)) {
433 FEBTemp::const_iterator itb = tv.begin();
434 FEBTemp::const_iterator ite = tv.end();
435 for(;itb!=ite;++itb) {
◆ finalize()
StatusCode LArADC2MeV2Ntuple::finalize |
( |
| ) |
|
|
inline |
◆ initialize()
StatusCode LArADC2MeV2Ntuple::initialize |
( |
| ) |
|
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ LArCond2NtupleBase()
LArCond2NtupleBase::LArCond2NtupleBase |
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ renounce()
◆ renounceArray()
◆ stop()
StatusCode LArADC2MeV2Ntuple::stop |
( |
| ) |
|
|
virtual |
Definition at line 18 of file LArADC2MeV2Ntuple.cxx.
20 NTuple::Array<float>
coeffs;
21 NTuple::Item<unsigned long> coeffIndex;
22 NTuple::Item<unsigned long>
gain;
31 auto adc2mevCoeff=adc2MEV->ADC2MEV(hwid,
igain);
32 if (adc2mevCoeff.size()>0) {
35 for (coeffIndex=0;coeffIndex<adc2mevCoeff.size();coeffIndex++) {
36 coeffs[coeffIndex]=adc2mevCoeff[coeffIndex];
44 return StatusCode::SUCCESS;
◆ sysInitialize()
StatusCode AthAlgorithm::sysInitialize |
( |
| ) |
|
|
overridevirtualinherited |
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
◆ m_adc2MeVKey
◆ m_addBC
Gaudi::Property< bool > LArCond2NtupleBase::m_addBC {this, "AddBadChannelInfo", true, "dump BadChan info ?"} |
|
protectedinherited |
◆ m_addCalib
Gaudi::Property< bool > LArCond2NtupleBase::m_addCalib {this, "AddCalib", false, "add also calib line info info ?"} |
|
protectedinherited |
◆ m_addFEBTemp
Gaudi::Property< bool > LArCond2NtupleBase::m_addFEBTemp {this, "AddFEBTempInfo", false, "dump FEB temperature info ?"} |
|
protectedinherited |
◆ m_addHash
Gaudi::Property< bool > LArCond2NtupleBase::m_addHash {this, "AddHash", false, "add also ID hash info ?"} |
|
protectedinherited |
◆ m_badChanWord
NTuple::Item<long> LArCond2NtupleBase::m_badChanWord |
|
protectedinherited |
◆ m_barrel_ec
NTuple::Item<long> LArCond2NtupleBase::m_barrel_ec |
|
protectedinherited |
◆ m_BCKey
◆ m_cablingKey
◆ m_cablingSCKey
◆ m_calibLine
NTuple::Item<long> LArCond2NtupleBase::m_calibLine |
|
protectedinherited |
◆ m_calibMapKey
◆ m_calibMapSCKey
◆ m_caloId
◆ m_caloMgrKey
◆ m_caloSuperCellMgrKey
◆ m_chanHash
NTuple::Item<long> LArCond2NtupleBase::m_chanHash |
|
protectedinherited |
◆ m_channel
NTuple::Item<long> LArCond2NtupleBase::m_channel |
|
protectedinherited |
◆ m_detector
NTuple::Item<long> LArCond2NtupleBase::m_detector |
|
protectedinherited |
◆ m_detStore
◆ m_emId
◆ m_eta
NTuple::Item<long> LArCond2NtupleBase::m_eta |
|
protectedinherited |
◆ m_evtStore
◆ m_expandId
Gaudi::Property< bool > LArCond2NtupleBase::m_expandId {this,"ExpandId", true ,"add online Id decoded fields ?"} |
|
protectedinherited |
◆ m_extendedExtraObjects
DataObjIDColl AthAlgorithm::m_extendedExtraObjects |
|
privateinherited |
◆ m_fcalId
◆ m_febHash
NTuple::Item<long> LArCond2NtupleBase::m_febHash |
|
protectedinherited |
◆ m_FEBTemp1
NTuple::Item<float> LArCond2NtupleBase::m_FEBTemp1 |
|
protectedinherited |
◆ m_FEBTemp2
NTuple::Item<float> LArCond2NtupleBase::m_FEBTemp2 |
|
protectedinherited |
◆ m_FEBTempTool
◆ m_FT
NTuple::Item<long> LArCond2NtupleBase::m_FT |
|
protectedinherited |
◆ m_hecId
◆ m_initialized
bool LArCond2NtupleBase::m_initialized |
|
privateinherited |
◆ m_isConnected
NTuple::Item<long> LArCond2NtupleBase::m_isConnected |
|
protectedinherited |
◆ m_isFlat
Gaudi::Property< bool > LArCond2NtupleBase::m_isFlat {this, "isFlat", false, "are we working with Flat conditions ?"} |
|
protectedinherited |
◆ m_isSC
Gaudi::Property< bool > LArCond2NtupleBase::m_isSC {this, "isSC", false, "are we working with SC?"} |
|
protectedinherited |
◆ m_layer
NTuple::Item<long> LArCond2NtupleBase::m_layer |
|
protectedinherited |
◆ m_nt
NTuple::Tuple* LArCond2NtupleBase::m_nt |
|
protectedinherited |
◆ m_ntName
std::string LArADC2MeV2Ntuple::m_ntName |
|
private |
◆ m_ntpath
std::string LArCond2NtupleBase::m_ntpath |
|
protectedinherited |
◆ m_ntTitle
std::string LArCond2NtupleBase::m_ntTitle |
|
protectedinherited |
◆ m_OffId
Gaudi::Property< bool > LArCond2NtupleBase::m_OffId {this, "OffId", false, "dump also offline ID ?"} |
|
protectedinherited |
◆ m_oflChanId
NTuple::Item<long> LArCond2NtupleBase::m_oflChanId |
|
protectedinherited |
◆ m_oflHash
NTuple::Item<long> LArCond2NtupleBase::m_oflHash |
|
protectedinherited |
◆ m_onlChanId
NTuple::Item<long> LArCond2NtupleBase::m_onlChanId |
|
protectedinherited |
◆ m_onlineId
◆ m_phi
NTuple::Item<long> LArCond2NtupleBase::m_phi |
|
protectedinherited |
◆ m_pos_neg
NTuple::Item<long> LArCond2NtupleBase::m_pos_neg |
|
protectedinherited |
◆ m_realgeom
Gaudi::Property< bool > LArCond2NtupleBase::m_realgeom {this, "RealGeometry", false, "add real geometry values ?"} |
|
protectedinherited |
◆ m_region
NTuple::Item<long> LArCond2NtupleBase::m_region |
|
protectedinherited |
◆ m_reta
NTuple::Item<float> LArCond2NtupleBase::m_reta |
|
protectedinherited |
◆ m_rphi
NTuple::Item<float> LArCond2NtupleBase::m_rphi |
|
protectedinherited |
◆ m_slot
NTuple::Item<long> LArCond2NtupleBase::m_slot |
|
protectedinherited |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
int phi(const Identifier id) const
return phi according to :
IdentifierHash channel_Hash(HWIdentifier channelId) const
Create channel_hash from channel_Id.
NTuple::Item< long > m_layer
NTuple::Item< long > m_isConnected
IdentifierHash calo_cell_hash(const Identifier cellId) const
create hash id from 'global' cell id
NTuple::Item< long > m_detector
int eta(const Identifier id) const
return eta [0,9] outer part [0,3] inner part
const LArFCAL_Base_ID * m_fcalId
Gaudi::Property< bool > m_addFEBTemp
NTuple::Item< long > m_slot
bool is_lar_fcal(Identifier id) const
Gaudi::Property< bool > m_addCalib
NTuple::Item< long > m_pos_neg
NTuple::Item< long > m_onlChanId
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Conditions-Data class holding LAr Bad Channel or Bad Feb information.
const std::vector< HWIdentifier > & calibSlotLine(const HWIdentifier id) const
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 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...
NTuple::Item< float > m_rphi
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
int module(const Identifier id) const
module [1,3]
int region(const Identifier id) const
return region according to :
NTuple::Item< long > m_oflHash
int sampling(const Identifier id) const
return sampling according to :
SG::ReadCondHandleKey< LArADC2MeV > m_adc2MeVKey
#define ATH_MSG_VERBOSE(x)
int barrel_ec(const HWIdentifier id) const
Return the position barrel or endcap of a hardware cell identifier: barrel_ec = [0,...
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingSCKey
LArBC_t status(const HWIdentifier channel) const
Query the status of a particular channel or FEB This is the main client access method.
int eta(const Identifier id) const
return eta according to :
ToolHandle< ILArFEBTempTool > m_FEBTempTool
NTuple::Item< long > m_barrel_ec
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
virtual void setOwner(IDataHandleHolder *o)=0
Gaudi::Property< bool > m_addHash
NTuple::Item< long > m_febHash
int phi(const Identifier id) const
phi [0,15]
NTuple::Item< long > m_region
int channel(const HWIdentifier id) const
Return the channel number of a hardware cell identifier channel = [0,127] in all FEB.
Gaudi::Property< bool > m_addBC
virtual StatusCode sysInitialize() override
Override sysInitialize.
id_range channel_range() const
NTuple::Item< long > m_badChanWord
NTuple::Item< long > m_phi
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
::StatusCode StatusCode
StatusCode definition for legacy code.
NTuple::Item< float > m_FEBTemp1
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > m_caloSuperCellMgrKey
SG::ReadCondHandleKey< LArCalibLineMapping > m_calibMapKey
SG::ReadCondHandleKey< LArBadChannelCont > m_BCKey
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...
bool is_lar_hec(Identifier id) const
Gaudi::Property< bool > m_expandId
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
HWIdentifier feb_Id(int barrel_ec, int pos_neg, int feedthrough, int slot) const
Create feb_Id from fields.
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
NTuple::Item< long > m_eta
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
int barrel_ec(const Identifier id) const
return barrel_ec according to :
StatusCode initialize(bool used=true)
const LArOnlineID_Base * m_onlineId
NTuple::Item< long > m_oflChanId
Gaudi::Property< bool > m_realgeom
bool fillFromIdentifier(const HWIdentifier &id)
DataObjIDColl m_extendedExtraObjects
int feedthrough(const HWIdentifier id) const
Return the feedthrough of a hardware cell identifier : feedthrough = [0,31] Barrel - A/C side or H/...
NTuple::Item< float > m_FEBTemp2
#define ATH_MSG_WARNING(x)
NTuple::Item< float > m_reta
int sampling(const Identifier id) const
return sampling [0,3] (only 0 for supercells)
Gaudi::Property< bool > m_isSC
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
StoreGateSvc * m_detStore
AthAlgorithm()
Default constructor:
NTuple::Item< long > m_chanHash
SG::ReadCondHandleKey< LArCalibLineMapping > m_calibMapSCKey
const LArHEC_Base_ID * m_hecId
NTuple::Item< long > m_calibLine
int region(const Identifier id) const
return region [0,1]
bool is_lar_em(Identifier id) const
NTuple::Item< long > m_FT
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Exception class for LAr Identifiers.
IdentifierHash feb_Hash(HWIdentifier febId) const
Create feb hash identifiers from feb identifiers.
const CaloCell_Base_ID * m_caloId
Gaudi::Property< bool > m_OffId
float phi_raw() const
cell phi_raw
int phi(const Identifier id) const
return phi[0,63] outer part [0,31] inner part
NTuple::Item< long > m_channel
const LArEM_Base_ID * m_emId