![]() |
ATLAS Offline Software
|
#include <CaloCornerRingsBuilder.h>
Public Member Functions | |
| virtual StatusCode | execute (const xAOD::CaloCluster &cluster, ElementLink< xAOD::CaloRingsContainer > &clRings) override |
| Tool main methods: | |
| virtual StatusCode | execute (const xAOD::IParticle &particle, ElementLink< xAOD::CaloRingsContainer > &clRings) override |
| execute method for IParticle | |
| 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 |
CaloCornerRingsBuilder ctors and dtors: | |
| CaloCornerRingsBuilder (const std::string &type, const std::string &name, const IInterface *parent) | |
| Default constructor. | |
| ~CaloCornerRingsBuilder () | |
| 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 | 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 | |
| virtual StatusCode | buildRingSet (const xAOD::RingSetConf::RawConf &rawConf, const AtlasGeoPoint &seed, xAOD::RingSet *rs, const unsigned int offset, const unsigned int nSubRings) |
| StatusCode | getCornerRingsSeeds (const xAOD::RingSetConf::RawConf &rawConf, const AtlasGeoPoint ¢ralSeed, std::vector< AtlasGeoPoint > &cornerSeeds) |
| Get the seeds for the corner rings (top-left, etc). | |
| virtual StatusCode | buildRingSet (const xAOD::RingSetConf::RawConf &rawConf, const AtlasGeoPoint &seed, xAOD::RingSet *rs) |
| Tool protected methods: | |
| 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 | |
| Gaudi::Property< int > | m_cornerShift |
| Number of cells to shift for corner seeds (top-left, etc). | |
| SG::WriteHandleKey< xAOD::CaloRingsContainer > | m_crContName |
| Tool props (python configurables): | |
| 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> | |
| template<typename T> | |
| StatusCode | executeTemp (const T &input, ElementLink< xAOD::CaloRingsContainer > &crEL) |
| Tool private methods: | |
Definition at line 15 of file CaloCornerRingsBuilder.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| Ringer::CaloCornerRingsBuilder::CaloCornerRingsBuilder | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Default constructor.
Definition at line 37 of file CaloCornerRingsBuilder.cxx.
|
default |
Destructor.
|
protectedvirtual |
Tool protected methods:
main method where the RingSets are built.
Reimplemented from Ringer::CaloRingsBuilder.
Definition at line 118 of file CaloRingsBuilder.cxx.
|
protectedvirtual |
Definition at line 195 of file CaloCornerRingsBuilder.cxx.
|
inlineoverridevirtualinherited |
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 |
Tool main methods:
Reimplemented from Ringer::CaloRingsBuilder.
Definition at line 48 of file CaloCornerRingsBuilder.cxx.
|
overridevirtual |
execute method for IParticle
Reimplemented from Ringer::CaloRingsBuilder.
Definition at line 71 of file CaloCornerRingsBuilder.cxx.
|
private |
Tool private methods:
unique execute method for integrating interface code.
Definition at line 88 of file CaloCornerRingsBuilder.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
|
overridevirtualinherited |
finalize method
Implements Ringer::ICaloRingsBuilder.
Reimplemented in Ringer::CaloAsymRingsBuilder, and Ringer::CaloStripsRingsBuilder.
Definition at line 127 of file CaloRingsBuilder.cxx.
|
protected |
Get the seeds for the corner rings (top-left, etc).
Definition at line 155 of file CaloCornerRingsBuilder.cxx.
|
staticprotectedinherited |
Fill RingSet seed for IParticle.
Definition at line 303 of file CaloRingsBuilder.cxx.
|
protectedinherited |
Fill RingSet seed for CaloCluster.
Definition at line 256 of file CaloRingsBuilder.cxx.
|
overridevirtualinherited |
Tool main methods:
initialize method
Implements Ringer::ICaloRingsBuilder.
Reimplemented in Ringer::CaloAsymRingsBuilder, and Ringer::CaloStripsRingsBuilder.
Definition at line 56 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.
|
inlineoverridevirtualinherited |
|
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.
|
overridevirtualinherited |
method for working on containers
Implements Ringer::ICaloRingsBuilder.
Definition at line 133 of file CaloRingsBuilder.cxx.
|
inlineoverridevirtualinherited |
Extra methods:
Retrieve RawConfiguration Collection
Implements Ringer::ICaloRingsBuilder.
Definition at line 94 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.
|
inlineoverridevirtualinherited |
|
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.
|
inlineoverridevirtualinherited |
Retrieve whether it was set used shower shape barycenter.
Implements Ringer::ICaloRingsBuilder.
Definition at line 101 of file CaloRingsBuilder.h.
|
protectedinherited |
Definition at line 258 of file CaloRingsBuilder.h.
|
protectedinherited |
Maximum cell distance in eta to seed.
Definition at line 187 of file CaloRingsBuilder.h.
|
protectedinherited |
Maximum cell distance in phi to seed.
Definition at line 194 of file CaloRingsBuilder.h.
|
protectedinherited |
Definition at line 162 of file CaloRingsBuilder.h.
|
protected |
Number of cells to shift for corner seeds (top-left, etc).
Definition at line 72 of file CaloCornerRingsBuilder.h.
|
protectedinherited |
Create and hold CaloRingsContainer for each event.
Definition at line 271 of file CaloRingsBuilder.h.
|
protectedinherited |
Tool props (python configurables):
Name of CaloRingsContainer on Event StoreGate
electron collection input name
Definition at line 144 of file CaloRingsBuilder.h.
|
privateinherited |
Pointer to StoreGate (detector store by default).
Definition at line 393 of file AthCommonDataStore.h.
|
protectedinherited |
Switch to use raw cell energy instead ET.
Definition at line 252 of file CaloRingsBuilder.h.
|
protectedinherited |
Width of the ring in eta.
Definition at line 171 of file CaloRingsBuilder.h.
|
privateinherited |
Pointer to StoreGate (event store by default).
Definition at line 390 of file AthCommonDataStore.h.
|
protectedinherited |
last valid RingSet seed
Propagate other layer centroids in case a layer centroid is not valid.
Definition at line 281 of file CaloRingsBuilder.h.
|
protectedinherited |
Calorimeter layers in each ringset.
This property should be read as: std::vector<CaloSampling::CaloSample> m_layersRings;
Definition at line 222 of file CaloRingsBuilder.h.
|
protectedinherited |
Minimum particle energy to build rings (GeV).
Definition at line 209 of file CaloRingsBuilder.h.
|
protectedinherited |
Number of calorimeter layers in each ringset.
Definition at line 231 of file CaloRingsBuilder.h.
|
protectedinherited |
Number of rings in a ringset.
Definition at line 201 of file CaloRingsBuilder.h.
|
protectedinherited |
hold the number of RingSets we are building for each CaloRings
Definition at line 289 of file CaloRingsBuilder.h.
|
staticprotectedinherited |
used for phi wrap-around
Definition at line 285 of file CaloRingsBuilder.h.
|
protectedinherited |
Width of the ring in phi.
Definition at line 179 of file CaloRingsBuilder.h.
|
protectedinherited |
Tool props (non configurables):
Create and hold RingSetContainer for each event
Definition at line 267 of file CaloRingsBuilder.h.
|
protectedinherited |
Name of RingSetContainer on Event StoreGate.
Definition at line 153 of file CaloRingsBuilder.h.
|
protectedinherited |
holds each RingSet configuration (filled at initialize)
Definition at line 275 of file CaloRingsBuilder.h.
|
protectedinherited |
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 243 of file CaloRingsBuilder.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.