![]() |
ATLAS Offline Software
|
#include <CaloRingsBuilder.h>
Public Member Functions | |
| std::size_t | nRingSets () const override |
| const SG::WriteHandleKey< xAOD::CaloRingsContainer > & | crContName () const override |
| const SG::WriteHandleKey< xAOD::RingSetContainer > & | rsContName () const override |
| ServiceHandle< StoreGateSvc > & | evtStore () |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. | |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. | |
| virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. | |
| virtual StatusCode | sysStart () override |
| Handle START transition. | |
| virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. | |
| virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. | |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
| void | updateVHKA (Gaudi::Details::PropertyBase &) |
| MsgStream & | msg () const |
| bool | msgLvl (const MSG::Level lvl) const |
CaloRingsBuilder ctors and dtors: | |
| CaloRingsBuilder (const std::string &type, const std::string &name, const IInterface *parent) | |
| Default constructor. | |
| ~CaloRingsBuilder () | |
| Destructor. | |
| virtual StatusCode | initialize () override |
| Tool main methods: | |
| virtual StatusCode | preExecute (xAOD::CaloRingsContainer *crCont, xAOD::RingSetContainer *rsCont, const std::size_t nReserve=0) override |
| method for working on containers | |
| virtual StatusCode | execute (const xAOD::IParticle &particle, ElementLink< xAOD::CaloRingsContainer > &clRingsLink) override |
| build CaloRings for IParticle | |
| virtual StatusCode | execute (const xAOD::CaloCluster &cluster, ElementLink< xAOD::CaloRingsContainer > &clRingsLink) override |
| build CaloRings for CaloCluster | |
| virtual StatusCode | finalize () override |
| finalize method | |
| const xAOD::RingSetConf::RawConfCollection & | rawConf () override |
| Extra methods: | |
| bool | useShowerShapeBarycenter () override |
| Retrieve whether it was set used shower shape barycenter. | |
Static Public Member Functions | |
| static const InterfaceID & | interfaceID () |
| AlgTool interface methods. | |
Protected Member Functions | |
| void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution | |
| std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
| void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. | |
Protected Attributes | |
| SG::WriteHandleKey< xAOD::CaloRingsContainer > | m_crContName |
| Fill RingSet seed for IParticle. | |
| SG::WriteHandleKey< xAOD::RingSetContainer > | m_rsContName |
| Name of RingSetContainer on Event StoreGate. | |
| SG::ReadHandleKey< CaloCellContainer > | m_cellsContName |
| Name of CaloCellContainer. | |
| Gaudi::Property< std::vector< float > > | m_etaWidth |
| Width of the ring in eta. | |
| Gaudi::Property< std::vector< float > > | m_phiWidth |
| Width of the ring in phi. | |
| Gaudi::Property< float > | m_cellMaxDEtaDist |
| Maximum cell distance in eta to seed. | |
| Gaudi::Property< float > | m_cellMaxDPhiDist |
| Maximum cell distance in phi to seed. | |
| Gaudi::Property< std::vector< unsigned int > > | m_nRings |
| Number of rings in a ringset. | |
| Gaudi::Property< float > | m_minEnergy |
| Minimum particle energy to build rings (GeV) | |
| Gaudi::Property< std::vector< int > > | m_layers |
| Calorimeter layers in each ringset. | |
| Gaudi::Property< std::vector< unsigned int > > | m_nLayers |
| Number of calorimeter layers in each ringset. | |
| Gaudi::Property< bool > | m_useShowShapeBarycenter |
| Switch to use shower barycenter seed for each RingSets. | |
| Gaudi::Property< bool > | m_doTransverseEnergy |
| Switch to use raw cell energy instead ET. | |
| SG::ReadCondHandleKey< CaloDetDescrManager > | m_caloMgrKey {this,"CaloDetDescrManager", "CaloDetDescrManager"} |
Private Types | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) | |
| StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) | |
| std::vector< SG::VarHandleKeyArray * > | m_vhka |
| bool | m_varHandleArraysDeclared |
| xAOD::RingSetContainer * | m_rsCont |
| Tool props (non configurables): | |
| xAOD::CaloRingsContainer * | m_crCont |
| Create and hold CaloRingsContainer for each event. | |
| xAOD::RingSetConf::RawConfCollection | m_rsRawConfCol |
| holds each RingSet configuration (filled at initialize) | |
| AtlasGeoPoint | m_lastValidSeed |
| last valid RingSet seed | |
| size_t | m_nRingSets |
| hold the number of RingSets we are building for each CaloRings | |
| static const CaloPhiRange | m_phiHelper |
| used for phi wrap-around | |
| template<typename T> | |
| StatusCode | executeTemp (const T &input, ElementLink< xAOD::CaloRingsContainer > &crEL) |
| Tool protected methods: | |
| virtual StatusCode | buildRingSet (const xAOD::RingSetConf::RawConf &rawConf, const AtlasGeoPoint &seed, xAOD::RingSet *rs) |
| main method where the RingSets are built. | |
| StatusCode | getRingSetSeed (const xAOD::RingSetConf::RawConf &conf, const xAOD::CaloCluster &cluster, AtlasGeoPoint &seed) |
| Fill RingSet seed for CaloCluster. | |
| static StatusCode | getRingSetSeed (const xAOD::RingSetConf::RawConf &, const xAOD::IParticle &part, AtlasGeoPoint &seed) |
| Fill RingSet seed for IParticle. | |
Definition at line 41 of file CaloRingsBuilder.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| Ringer::CaloRingsBuilder::CaloRingsBuilder | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Default constructor.
Definition at line 39 of file CaloRingsBuilder.cxx.
|
default |
Destructor.
|
protectedvirtual |
main method where the RingSets are built.
Reimplemented in Ringer::CaloAsymRingsBuilder, and Ringer::CaloStripsRingsBuilder.
Definition at line 317 of file CaloRingsBuilder.cxx.
|
inlineoverridevirtual |
Implements Ringer::ICaloRingsBuilder.
Definition at line 109 of file CaloRingsBuilder.h.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 145 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 95 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
overridevirtual |
build CaloRings for CaloCluster
Implements Ringer::ICaloRingsBuilder.
Definition at line 155 of file CaloRingsBuilder.cxx.
|
overridevirtual |
Implements Ringer::ICaloRingsBuilder.
Definition at line 175 of file CaloRingsBuilder.cxx.
|
protected |
Tool protected methods:
unique execute method for integrating interface code.
Definition at line 193 of file CaloRingsBuilder.cxx.
|
protectedinherited |
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
|
overridevirtual |
finalize method
Implements Ringer::ICaloRingsBuilder.
Reimplemented in Ringer::CaloAsymRingsBuilder, and Ringer::CaloStripsRingsBuilder.
Definition at line 125 of file CaloRingsBuilder.cxx.
|
staticprotected |
Fill RingSet seed for IParticle.
Definition at line 291 of file CaloRingsBuilder.cxx.
|
protected |
Fill RingSet seed for CaloCluster.
Definition at line 245 of file CaloRingsBuilder.cxx.
|
overridevirtual |
Tool main methods:
initialize method
Implements Ringer::ICaloRingsBuilder.
Reimplemented in Ringer::CaloAsymRingsBuilder, and Ringer::CaloStripsRingsBuilder.
Definition at line 54 of file CaloRingsBuilder.cxx.
|
overridevirtualinherited |
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.
|
inlinestaticinherited |
AlgTool interface methods.
Definition at line 83 of file ICaloRingsBuilder.h.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
inlineoverridevirtual |
|
overridevirtualinherited |
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.
|
overridevirtual |
method for working on containers
Implements Ringer::ICaloRingsBuilder.
Definition at line 131 of file CaloRingsBuilder.cxx.
|
inlineoverridevirtual |
Extra methods:
Retrieve RawConfiguration Collection
Implements Ringer::ICaloRingsBuilder.
Definition at line 96 of file CaloRingsBuilder.h.
|
inlineprotectedinherited |
Definition at line 380 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
remove all handles from I/O resolution
Definition at line 364 of file AthCommonDataStore.h.
|
inlineoverridevirtual |
|
overridevirtualinherited |
Perform system initialization for an algorithm.
We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.
Reimplemented in asg::AsgMetadataTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and DerivationFramework::CfAthAlgTool.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
inlineoverridevirtual |
Retrieve whether it was set used shower shape barycenter.
Implements Ringer::ICaloRingsBuilder.
Definition at line 102 of file CaloRingsBuilder.h.
|
protected |
Definition at line 253 of file CaloRingsBuilder.h.
|
protected |
Maximum cell distance in eta to seed.
Definition at line 193 of file CaloRingsBuilder.h.
|
protected |
Maximum cell distance in phi to seed.
Definition at line 199 of file CaloRingsBuilder.h.
|
protected |
Definition at line 175 of file CaloRingsBuilder.h.
|
protected |
Create and hold CaloRingsContainer for each event.
Definition at line 266 of file CaloRingsBuilder.h.
|
protected |
Fill RingSet seed for IParticle.
Tool props (python configurables):
Name of CaloRingsContainer on Event StoreGate
electron collection input name
Definition at line 159 of file CaloRingsBuilder.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
protected |
Switch to use raw cell energy instead ET.
Definition at line 248 of file CaloRingsBuilder.h.
|
protected |
Width of the ring in eta.
Definition at line 183 of file CaloRingsBuilder.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
protected |
last valid RingSet seed
Propagate other layer centroids in case a layer centroid is not valid.
Definition at line 276 of file CaloRingsBuilder.h.
|
protected |
Calorimeter layers in each ringset.
This property should be read as: std::vector<CaloSampling::CaloSample> m_layersRings;
Definition at line 223 of file CaloRingsBuilder.h.
|
protected |
Minimum particle energy to build rings (GeV)
Definition at line 211 of file CaloRingsBuilder.h.
|
protected |
Number of calorimeter layers in each ringset.
Definition at line 230 of file CaloRingsBuilder.h.
|
protected |
Number of rings in a ringset.
Definition at line 205 of file CaloRingsBuilder.h.
|
protected |
hold the number of RingSets we are building for each CaloRings
Definition at line 284 of file CaloRingsBuilder.h.
|
staticprotected |
used for phi wrap-around
Definition at line 280 of file CaloRingsBuilder.h.
|
protected |
Width of the ring in phi.
Definition at line 188 of file CaloRingsBuilder.h.
|
protected |
Tool props (non configurables):
Create and hold RingSetContainer for each event
Definition at line 262 of file CaloRingsBuilder.h.
|
protected |
Name of RingSetContainer on Event StoreGate.
Definition at line 167 of file CaloRingsBuilder.h.
|
protected |
holds each RingSet configuration (filled at initialize)
Definition at line 270 of file CaloRingsBuilder.h.
|
protected |
Switch to use shower barycenter seed for each RingSets.
This can be set to false if using cluster information to use the cluster center instead of its layer energy baricenter.
Definition at line 240 of file CaloRingsBuilder.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.