|
ATLAS Offline Software
|
#include <CBNT_CaloH6.h>
|
| CBNT_CaloH6 (const std::string &name, ISvcLocator *pSvcLocator) |
|
virtual | ~CBNT_CaloH6 () |
|
virtual StatusCode | CBNT_initialize () override |
|
virtual StatusCode | CBNT_execute () override |
|
virtual StatusCode | CBNT_finalize () override |
|
virtual StatusCode | CBNT_clear () override |
|
virtual StatusCode | initialize () override |
|
virtual StatusCode | execute () override |
|
virtual StatusCode | finalize () override |
|
virtual StatusCode | pre_execute () |
|
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 |
|
Definition at line 33 of file CBNT_CaloH6.h.
◆ StoreGateSvc_t
◆ anonymous enum
◆ CBNT_CaloH6()
CBNT_CaloH6::CBNT_CaloH6 |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ ~CBNT_CaloH6()
CBNT_CaloH6::~CBNT_CaloH6 |
( |
| ) |
|
|
virtual |
◆ addBranch() [1/3]
template<class T >
void CBNT_TBRecBase::addBranch |
( |
const std::string & |
branchname, |
|
|
T & |
obj, |
|
|
const std::string & |
leaflist |
|
) |
| |
|
inlineprotectedinherited |
◆ addBranch() [2/3]
template<class T >
void CBNT_TBRecBase::addBranch |
( |
const std::string & |
branchname, |
|
|
T *& |
obj |
|
) |
| |
|
inlineprotectedinherited |
◆ addBranch() [3/3]
template<class T >
void CBNT_TBRecBase::addBranch |
( |
const std::string & |
branchname, |
|
|
T *& |
obj, |
|
|
int |
bufferSize, |
|
|
int |
splitLevel |
|
) |
| |
|
inlineprotectedinherited |
◆ CBNT_clear()
StatusCode CBNT_CaloH6::CBNT_clear |
( |
| ) |
|
|
overridevirtual |
◆ CBNT_execute()
StatusCode CBNT_CaloH6::CBNT_execute |
( |
| ) |
|
|
overridevirtual |
Reimplemented from CBNT_TBRecBase.
Definition at line 103 of file CBNT_CaloH6.cxx.
114 for (
const CaloCell* cell_ptr : *cellContainer) {
128 float noise = elecNoise->getNoise(hecid, cell_ptr->gain());
131 m_energy->push_back(cell_ptr->energy());
133 m_eta->push_back(caloDDE_ptr->
eta());
134 m_phi->push_back(caloDDE_ptr->
phi());
145 float noise = elecNoise->getNoise(emecid, cell_ptr->gain());
148 m_energy->push_back(cell_ptr->energy());
150 m_eta->push_back(caloDDE_ptr->
eta());
151 m_phi->push_back(caloDDE_ptr->
phi());
160 float noise = elecNoise->getNoise(fcalid, cell_ptr->gain());
163 m_energy->push_back(cell_ptr->energy());
165 m_eta->push_back(caloDDE_ptr->
eta());
166 m_phi->push_back(caloDDE_ptr->
phi());
173 return StatusCode::SUCCESS;
◆ CBNT_finalize()
StatusCode CBNT_CaloH6::CBNT_finalize |
( |
| ) |
|
|
overridevirtual |
◆ CBNT_initialize()
StatusCode CBNT_CaloH6::CBNT_initialize |
( |
| ) |
|
|
overridevirtual |
Reimplemented from CBNT_TBRecBase.
Definition at line 46 of file CBNT_CaloH6.cxx.
60 return StatusCode::FAILURE;
66 return StatusCode::FAILURE;
72 return StatusCode::FAILURE;
97 return StatusCode::SUCCESS;
◆ 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 CBNT_TBRecBase::execute |
( |
| ) |
|
|
overridevirtualinherited |
Definition at line 154 of file CBNT_TBRecBase.cxx.
164 *
m_log << MSG::ERROR <<
" Standard exception "
166 <<
" caught from sub-algorithm::CBNT_pre_execute (). Disable !" <<
endmsg ;
167 sc = this->setProperty(BooleanProperty(
"Enable",
false ) );
168 return StatusCode::FAILURE;
172 *
m_log << MSG::ERROR <<
" Unknown exception "
173 <<
" caught from sub-algorithm::CBNT_pre_execute (). Disable !" <<
endmsg ;
174 sc = this->setProperty(BooleanProperty(
"Enable",
false ) );
175 return StatusCode::FAILURE;
178 if (
sc.isFailure()) {
179 *
m_log << MSG::ERROR <<
"CBNT_pre_execute() failed. Disable !" <<
endmsg;
180 sc = this->setProperty(BooleanProperty(
"Enable",
false ) );
190 *
m_log << MSG::ERROR <<
" Standard exception "
192 <<
" caught from sub-algorithm::CBNT_execute () :" <<
endmsg ;
193 return StatusCode::FAILURE;
196 *
m_log << MSG::ERROR <<
" Unknown exception "
197 <<
" caught from sub-algorithm::CBNT_execute () :" <<
endmsg ;
198 return StatusCode::FAILURE;
◆ 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();
◆ finalize()
StatusCode CBNT_TBRecBase::finalize |
( |
| ) |
|
|
overridevirtualinherited |
Definition at line 205 of file CBNT_TBRecBase.cxx.
214 *
m_log << MSG::ERROR <<
" Standard exception "
216 <<
" caught from sub-algorithm::CBNT_finalize () :" <<
endmsg ;
219 *
m_log << MSG::ERROR <<
" Unknown exception "
220 <<
" caught from sub-algorithm::CBNT_finalize () :" <<
endmsg ;
◆ initialize()
StatusCode CBNT_TBRecBase::initialize |
( |
| ) |
|
|
overridevirtualinherited |
Definition at line 22 of file CBNT_TBRecBase.cxx.
35 (*m_log) << MSG::ERROR <<
"Could not access lar EM ID helper" <<
endmsg;
36 return StatusCode::FAILURE;
39 (*m_log) << MSG::ERROR <<
"Could not access lar FCAL ID helper" <<
endmsg;
40 return StatusCode::FAILURE;
43 (*m_log) << MSG::ERROR <<
"Could not access lar HEC ID helper" <<
endmsg;
44 return StatusCode::FAILURE;
49 (*m_log) << MSG::ERROR <<
"Could not get LArOnlineID helper !" <<
endmsg;
50 return StatusCode::FAILURE;
58 return StatusCode::SUCCESS;
◆ 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.
◆ 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.
◆ pre_execute()
StatusCode CBNT_TBRecBase::pre_execute |
( |
| ) |
|
|
virtualinherited |
Definition at line 61 of file CBNT_TBRecBase.cxx.
68 *
m_log << MSG::ERROR <<
"Need to set variable 'm_ntpath' and 'm_ntTitle' in constructor of deriving class!" <<
endmsg;
69 return StatusCode::FAILURE;
73 if (
i==std::string::npos) {
75 return StatusCode::FAILURE;
113 *
m_log << MSG::ERROR <<
" Standard exception "
115 <<
" caught from sub-algorithm::CBNT_initialize () :" <<
endmsg ;
118 *
m_log << MSG::ERROR <<
" Unknown exception "
119 <<
" caught from sub-algorithm::CBNT_initialize () :" <<
endmsg ;
124 *
m_log << MSG::ERROR <<
"CBNT_initialize() failed" <<
endmsg;
136 *
m_log << MSG::ERROR <<
" Standard exception "
138 <<
" caught from sub-algorithm::CBNT_clear () :" <<
endmsg ;
141 *
m_log << MSG::ERROR <<
" Unknown exception "
142 <<
" caught from sub-algorithm::CBNT_clear () :" <<
endmsg ;
145 if (
sc.isFailure()) {
146 *
m_log << MSG::ERROR <<
"CBNT_clear() failed" <<
endmsg;
150 return StatusCode::SUCCESS ;
◆ renounce()
◆ renounceArray()
◆ 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_det_type
std::string CBNT_CaloH6::m_det_type |
|
private |
◆ m_detStore
◆ m_elecNoiseKey
◆ m_emecID_help
◆ m_emId
◆ m_energy
std::vector<float>* CBNT_CaloH6::m_energy |
|
private |
◆ m_eta
std::vector<float>* CBNT_CaloH6::m_eta |
|
private |
◆ m_evtStore
◆ m_extendedExtraObjects
DataObjIDColl AthAlgorithm::m_extendedExtraObjects |
|
privateinherited |
◆ m_fcalId
◆ m_fcalID_help
◆ m_hecId
◆ m_hecID_help
◆ m_ieta
std::vector<float>* CBNT_CaloH6::m_ieta |
|
private |
◆ m_initialized
bool CBNT_TBRecBase::m_initialized |
|
privateinherited |
◆ m_iphi
std::vector<float>* CBNT_CaloH6::m_iphi |
|
private |
◆ m_log
MsgStream* CBNT_TBRecBase::m_log |
|
protectedinherited |
◆ m_NoiseRMS
std::vector<float>* CBNT_CaloH6::m_NoiseRMS |
|
private |
◆ m_noiseSigma
float CBNT_CaloH6::m_noiseSigma |
|
private |
◆ m_nt
TTree* CBNT_TBRecBase::m_nt |
|
protectedinherited |
◆ m_ntpath
std::string CBNT_TBRecBase::m_ntpath |
|
protectedinherited |
◆ m_ntTitle
std::string CBNT_TBRecBase::m_ntTitle |
|
protectedinherited |
◆ m_numchan
int CBNT_CaloH6::m_numchan |
|
private |
◆ m_onlineId
◆ m_phi
std::vector<float>* CBNT_CaloH6::m_phi |
|
private |
◆ m_region
std::vector<float>* CBNT_CaloH6::m_region |
|
private |
◆ m_sampling
std::vector<float>* CBNT_CaloH6::m_sampling |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
int phi(const Identifier id) const
return phi according to :
virtual StatusCode CBNT_finalize()
std::vector< float > * m_NoiseRMS
int eta(const Identifier id) const
return eta [0,9] outer part [0,3] inner part
const LArEM_ID * em_idHelper() const
access to EM idHelper
std::vector< float > * m_eta
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
const LArOnlineID * m_onlineId
virtual StatusCode CBNT_clear()
virtual StatusCode CBNT_initialize()
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
virtual StatusCode CBNT_execute()
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
const LArHEC_ID * m_hecID_help
std::vector< float > * m_phi
SG::ReadCondHandleKey< CaloNoise > m_elecNoiseKey
const LArFCAL_ID * m_fcalID_help
std::vector< float > * m_energy
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
const LArHEC_ID * hec_idHelper() const
access to HEC idHelper
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual void setOwner(IDataHandleHolder *o)=0
CaloCell_ID::SUBCALO getSubCalo() const
cell subcalo
const LArEM_ID * m_emecID_help
int phi(const Identifier id) const
phi [0,15]
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode sysInitialize() override
Override sysInitialize.
const LArFCAL_ID * m_fcalId
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
msgSvc
Provide convenience handles for various services.
::StatusCode StatusCode
StatusCode definition for legacy code.
SUBCALO
enumeration of sub calorimeters
void addBranch(const std::string &branchname, T &obj, const std::string &leaflist)
Helper class for offline cell identifiers.
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
CBNT_TBRecBase(const std::string &name, ISvcLocator *pSvcLocator)
const LArHEC_ID * m_hecId
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
std::vector< float > * m_ieta
StatusCode initialize(bool used=true)
Container class for CaloCell.
DataObjIDColl m_extendedExtraObjects
Data object for each calorimeter readout cell.
CaloCell_ID::CaloSample getSampling() const
cell sampling
#define ATH_MSG_WARNING(x)
std::vector< float > * m_region
std::vector< float > * m_sampling
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
virtual StatusCode pre_execute()
float eta() const
cell eta
float phi() const
cell phi
int region(const Identifier id) const
return region [0,1]
std::vector< float > * m_iphi
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
const LArFCAL_ID * fcal_idHelper() const
access to FCAL idHelper
int phi(const Identifier id) const
return phi[0,63] outer part [0,31] inner part