![]() |
ATLAS Offline Software
|
EMShower data object builder : More...
#include <EMShowerBuilder.h>
Public Member Functions | |
| EMShowerBuilder (const std::string &type, const std::string &name, const IInterface *parent) | |
| Default constructor. | |
| ~EMShowerBuilder ()=default | |
| Destructor. | |
| virtual StatusCode | initialize () override final |
| initialize method | |
| virtual StatusCode | execute (const EventContext &ctx, const CaloDetDescrManager &cmgr, xAOD::Egamma *) const override final |
| standard execute method | |
| virtual StatusCode | executeWithCells (const CaloCellContainer *cellcoll, const CaloDetDescrManager &cmgr, xAOD::Egamma *) const override final |
| @Execute passing the cells explicitly | |
| virtual StatusCode | finalize () override |
| finalize method | |
| 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 |
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. | |
Private Types | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| template<typename T> | |
| StatusCode | RetrieveTool (ToolHandle< T > &tool, bool tool_requested) |
| Wraps tool retrieval to ensure it is has a name. | |
| StatusCode | CalcShowerShape (xAOD::Egamma *eg, const CaloDetDescrManager &cmgr, const CaloCellContainer *cellcoll) const |
| calculate shower shapes | |
| StatusCode | CalcHadronicLeakage (xAOD::Egamma *eg, const CaloDetDescrManager &cmgr, const xAOD::CaloCluster *clus, const CaloCellContainer *cellcoll) const |
| calculate Hadronic leakage | |
| StatusCode | FillEMShowerShape (xAOD::Egamma *eg, const IegammaShowerShape::Info &info) const |
| fill shower detail from shower shape calculation | |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| SG::ReadHandleKey< CaloCellContainer > | m_cellsKey |
| Cell container. | |
| Gaudi::Property< std::vector< int > > | m_caloNums |
| Obsolete enum on the layers to use for the HadLeakage variables. | |
| ToolHandle< IegammaShowerShape > | m_ShowerShapeTool |
| Tool for shower shape calculation. | |
| ToolHandle< IegammaIso > | m_HadronicLeakageTool |
| Tool for hadronic leakage calculation. | |
| Gaudi::Property< bool > | m_Print |
| boolean to print results | |
| Gaudi::Property< bool > | m_UseShowerShapeTool |
| Boolean to call shower shape calculation and filling (NB: this could be important when redoing calculation from AODs) | |
| Gaudi::Property< bool > | m_UseCaloIsoTool |
| Boolean to call calo isolation variables calculation and filling (NB: this could be important when redoing calculation from AODs) | |
| Gaudi::Property< bool > | m_isCosmics |
| boolean to know if we are looking at cosmic data | |
| 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 |
EMShower data object builder :
Definition at line 51 of file EMShowerBuilder.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| EMShowerBuilder::EMShowerBuilder | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Default constructor.
Definition at line 25 of file EMShowerBuilder.cxx.
|
default |
Destructor.
|
private |
calculate Hadronic leakage
ethad/et
for OQ, augmented after with egammaOQFlagsBuilder
Definition at line 141 of file EMShowerBuilder.cxx.
|
private |
calculate shower shapes
Definition at line 102 of file EMShowerBuilder.cxx.
|
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.
|
finaloverridevirtual |
standard execute method
Implements IEMShowerBuilder.
Definition at line 73 of file EMShowerBuilder.cxx.
|
finaloverridevirtual |
@Execute passing the cells explicitly
Implements IEMShowerBuilder.
Definition at line 93 of file EMShowerBuilder.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
|
private |
fill shower detail from shower shape calculation
e237/e277
e233/e237
(emaxs1-e2tsts1)/(emaxs1+e2tsts1)
Definition at line 190 of file EMShowerBuilder.cxx.
|
overridevirtual |
finalize method
Implements IEMShowerBuilder.
Definition at line 67 of file EMShowerBuilder.cxx.
|
finaloverridevirtual |
initialize method
Implements IEMShowerBuilder.
Definition at line 36 of file EMShowerBuilder.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 56 of file IEMShowerBuilder.h.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
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.
|
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.
|
private |
Wraps tool retrieval to ensure it is has a name.
Definition at line 52 of file EMShowerBuilder.cxx.
|
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.
|
private |
Obsolete enum on the layers to use for the HadLeakage variables.
Definition at line 102 of file EMShowerBuilder.h.
|
private |
Cell container.
Definition at line 94 of file EMShowerBuilder.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
private |
Tool for hadronic leakage calculation.
Definition at line 116 of file EMShowerBuilder.h.
|
private |
boolean to know if we are looking at cosmic data
Definition at line 148 of file EMShowerBuilder.h.
|
private |
boolean to print results
Definition at line 124 of file EMShowerBuilder.h.
|
private |
Tool for shower shape calculation.
Definition at line 108 of file EMShowerBuilder.h.
|
private |
Boolean to call calo isolation variables calculation and filling (NB: this could be important when redoing calculation from AODs)
Definition at line 140 of file EMShowerBuilder.h.
|
private |
Boolean to call shower shape calculation and filling (NB: this could be important when redoing calculation from AODs)
Definition at line 131 of file EMShowerBuilder.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.