![]() |
ATLAS Offline Software
|
#include <CaloTopoEMlayers.h>
Public Types | |
| typedef std::array< std::pair< double, double >, 4 > | WindowArray_t |
| Holds the per-layer window sizes. | |
Public Member Functions | |
| CaloTopoEMlayers (const std::string &type, const std::string &name, const IInterface *parent) | |
| virtual StatusCode | initialize () override |
| Standard Gaudi initialize method. | |
| virtual void | get_seed (CaloClusterCorr::SamplingHelper &helper, const xAOD::CaloCluster *cluster, double &eta, double &phi) const override |
| virtual WindowArray_t | initWindows (const int neta, const int nphi, const double detas2, const double dphis2) const override |
| Set up layer-by-layer cluster window sizes. | |
| virtual void | makeCorrection (const Context &myctx, xAOD::CaloCluster *cluster) const override |
| CaloClusterCorrection virtual method. | |
| void | makeCorrection (const EventContext &ctx, xAOD::CaloCluster *cluster) const |
| virtual StatusCode | setCaloCellContainerName (const std::string &name) override |
| Change the name of the CaloCellContainer used by this tool. | |
| virtual void | setsample (xAOD::CaloCluster *cluster, CaloSampling::CaloSample sampling, float em, float etam, float phim, float emax, float etamax, float phimax, float etas, float phis) const |
| virtual void | setenergy (xAOD::CaloCluster *cluster, float energy) const |
| StatusCode | execute (const EventContext &ctx, xAOD::CaloCluster *cluster) const override |
| virtual StatusCode | execute (const EventContext &ctx, xAOD::CaloClusterContainer *collection) const |
| Execute on an entire collection of clusters. | |
Public Attributes | |
| cls = CompFactory.CaloTopoEMlayers | |
| list | CaloTopoEMlayers_versions |
Protected Attributes | |
| double | m_deta0 = 0.0 |
| Cell window sizes in each sampling. | |
| double | m_deta1 = 0.0 |
| double | m_deta2 = 0.0 |
| double | m_deta3 = 0.0 |
| double | m_dphi0 = 0.0 |
| double | m_dphi1 = 0.0 |
| double | m_dphi2 = 0.0 |
| double | m_dphi3 = 0.0 |
| Gaudi::Property< int > | m_neta {this, "eta_size", 5} |
| \(\eta\times\phi\) cluster size. These are properties. | |
| Gaudi::Property< int > | m_nphi {this, "phi_size", 5} |
| Gaudi::Property< bool > | m_fill_cluster {this, "fill_cluster", true} |
| Fill-cluster flag. | |
| Gaudi::Property< bool > | m_setRawState {this, "set_raw_state", true} |
| Property to tell if the raw energy, eta0 and phi0 should be saved as uncalibrated signal state. | |
| SG::ReadCondHandleKey< CaloDetDescrManager > | m_caloMgrKey {this,"CaloDetDescrManager", "CaloDetDescrManager"} |
Private Member Functions | |
| CaloTopoEMlayers ()=delete | |
| void | makeCorrection1 (const EventContext &ctx, const CaloDetDescrManager &dd_man, CaloClusterCorr::SamplingHelper &helper, double eta, double phi, const CaloSampling::CaloSample samplings[4]) const |
| void | makeCorrection2 (const EventContext &ctx, const CaloDetDescrManager &dd_man, CaloClusterCorr::SamplingHelper &helper) const |
Private Attributes | |
| SG::ReadHandleKey< CaloCellContainer > | m_cellsName {this, "cells_name", "AllCalo"} |
| The StoreGate key for the container of our input cells. | |
Definition at line 39 of file CaloTopoEMlayers.h.
|
inherited |
Holds the per-layer window sizes.
Definition at line 120 of file CaloFillRectangularCluster.h.
| CaloTopoEMlayers::CaloTopoEMlayers | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Definition at line 46 of file CaloTopoEMlayers.cxx.
|
privatedelete |
|
overrideinherited |
Definition at line 52 of file CaloClusterCorrection.cxx.
|
inherited |
Execute on an entire collection of clusters.
| collection | The container of clusters. |
This will iterate over all the clusters in collection and call execute on each one individually.
| collection | The container of clusters. |
| ctx | The event context. |
This will iterate over all the clusters in collection and call execute on each one individually.
Definition at line 65 of file CaloClusterProcessor.cxx.
|
overridevirtual |
Reimplemented from CaloFillRectangularCluster.
Definition at line 64 of file CaloTopoEMlayers.cxx.
|
overridevirtual |
Standard Gaudi initialize method.
Derived classes can extend this to change the sampling window sizes.
Reimplemented from CaloFillRectangularCluster.
Definition at line 56 of file CaloTopoEMlayers.cxx.
|
overridevirtual |
Set up layer-by-layer cluster window sizes.
| neta | Cluster eta size. |
| nphi | Cluster phi size. |
| detas2 | Middle layer cell eta size. |
| detas2 | Middle layer cell phi size. |
Returns per-layer array of deta,dphi pairs.
Reimplemented from CaloFillRectangularCluster.
Definition at line 84 of file CaloTopoEMlayers.cxx.
|
overridevirtualinherited |
CaloClusterCorrection virtual method.
| myctx | ToolWithConstants context. |
| cluster | The cluster on which to operate. |
Implements CaloClusterCorrection.
|
inlineinherited |
Definition at line 90 of file CaloFillRectangularCluster.h.
|
privateinherited |
Definition at line 817 of file CaloFillRectangularCluster.cxx.
|
privateinherited |
Definition at line 948 of file CaloFillRectangularCluster.cxx.
|
overridevirtualinherited |
Change the name of the CaloCellContainer used by this tool.
| name | The new container name. |
Implements ISetCaloCellContainerName.
Definition at line 1212 of file CaloFillRectangularCluster.cxx.
|
virtualinherited |
Definition at line 93 of file CaloClusterCorrection.cxx.
|
virtualinherited |
Definition at line 73 of file CaloClusterCorrection.cxx.
| list CaloTopoEMlayers.CaloTopoEMlayers_versions |
Definition at line 24 of file CaloTopoEMlayers.py.
| CaloTopoEMlayers.cls = CompFactory.CaloTopoEMlayers |
Definition at line 23 of file CaloTopoEMlayers.py.
|
protectedinherited |
Definition at line 83 of file CaloClusterCorrection.h.
|
privateinherited |
The StoreGate key for the container of our input cells.
This is a property.
Definition at line 194 of file CaloFillRectangularCluster.h.
|
protectedinherited |
Cell window sizes in each sampling.
Definition at line 174 of file CaloFillRectangularCluster.h.
|
protectedinherited |
Definition at line 174 of file CaloFillRectangularCluster.h.
|
protectedinherited |
Definition at line 174 of file CaloFillRectangularCluster.h.
|
protectedinherited |
Definition at line 174 of file CaloFillRectangularCluster.h.
|
protectedinherited |
Definition at line 175 of file CaloFillRectangularCluster.h.
|
protectedinherited |
Definition at line 175 of file CaloFillRectangularCluster.h.
|
protectedinherited |
Definition at line 175 of file CaloFillRectangularCluster.h.
|
protectedinherited |
Definition at line 175 of file CaloFillRectangularCluster.h.
|
protectedinherited |
Fill-cluster flag.
This is a property. If true, then we fill the cluster with cells from StoreGate. Otherwise, we use the cells already in the cluster.
Definition at line 184 of file CaloFillRectangularCluster.h.
|
protectedinherited |
\(\eta\times\phi\) cluster size. These are properties.
Definition at line 178 of file CaloFillRectangularCluster.h.
|
protectedinherited |
Definition at line 179 of file CaloFillRectangularCluster.h.
|
protectedinherited |
Property to tell if the raw energy, eta0 and phi0 should be saved as uncalibrated signal state.
Definition at line 189 of file CaloFillRectangularCluster.h.