![]() |
ATLAS Offline Software
|
#include <T2GeometryTool.h>
Public Member Functions | |
| T2GeometryTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| Constructor. | |
| virtual StatusCode | initialize () override |
| Initialize method. | |
| virtual int | EtaPhiRange (const int nCaloType, const int nCaloSamp, const double &energyEta, const double &energyPhi) override |
| This prepares internal tables based on the cluster position. | |
| virtual bool | CellInNorCluster (const int nCaloType, const int nCaloSamp, const double &etaCell, const double &phiCell) override |
| Finds whether a cell is in a Normal Sized Cluster. | |
| virtual bool | CellInNarCluster (const int nCaloType, const int nCaloSamp, const double &etaCell, const double &phiCell) override |
| Finds whether a cell is in a Narrow Sized Cluster. | |
| virtual bool | CellInWidCluster (const int nCaloType, const int nCaloSamp, const double &etaCell, const double &phiCell) override |
| Finds whether a cell is in a Wide Sized Cluster. | |
| virtual int | nStripetaEMnar (const int layer) const override |
| Get number of cells in eta for Narrow Sized Cluster in EM calorimeter. | |
| virtual int | nStripphiEMnar (const int layer) const override |
| Get number of cells in phi for Narrow Sized Cluster in EM calorimeter. | |
| virtual int | nStripetaEMwid (const int layer) const override |
| Get number of cells in eta for Wide Sized Cluster in EM calorimeter. | |
| virtual int | nStripphiEMwid (const int layer) const override |
| Get number of cells in phi for Wide Sized Cluster in EM calorimeter. | |
| virtual int | nStripetaEMnor (const int layer) const override |
| Get number of cells in eta for Normal Sized Cluster in EM calorimeter. | |
| virtual int | nStripphiEMnor (const int layer) const override |
| Get number of cells in phi for Normal Sized Cluster in EM calorimeter. | |
| virtual int | nStripetaHADnar (const int layer) const override |
| Get number of cells in eta for Narrow Sized Cluster in HAD calorimeter. | |
| virtual int | nStripphiHADnar (const int layer) const override |
| Get number of cells in phi for Narrow Sized Cluster in HAD calorimeter. | |
| virtual int | nStripetaHADwid (const int layer) const override |
| Get number of cells in eta for Wide Sized Cluster in HADcalorimeter. | |
| virtual int | nStripphiHADwid (const int layer) const override |
| Get number of cells in phi for Wide Sized Cluster in HAD calorimeter. | |
| virtual int | nStripetaHADnor (const int layer) const override |
| Get number of cells in eta for Normal Sized Cluster in HAD calorimeter. | |
| virtual int | nStripphiHADnor (const int layer) const override |
| Get number of cells in phi for Normal Sized Cluster in HAD calorimeter. | |
| DeclareInterfaceID (IT2GeometryTool, 1, 0) | |
| 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 |
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 | |
| virtual int | EtaPhiRangeInt (const int layer, const int &nStripEta, const int &nStripPhi, const double &energyEta, const double &energyPhi, const int index_size) override |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| double | m_CellEtaNorMin [7] {} |
| Normal cluster variables. | |
| double | m_CellEtaNorMax [7] {} |
| double | m_CellPhiNorMin [7] {} |
| double | m_CellPhiNorMax [7] {} |
| double | m_CellEtaNarMin [7] {} |
| Narrow cluster variables. | |
| double | m_CellEtaNarMax [7] {} |
| double | m_CellPhiNarMin [7] {} |
| double | m_CellPhiNarMax [7] {} |
| double | m_CellEtaWidMin [7] {} |
| Wider cluster variables. | |
| double | m_CellEtaWidMax [7] {} |
| double | m_CellPhiWidMin [7] {} |
| double | m_CellPhiWidMax [7] {} |
| int | m_nStripetaEMnar [4] {} |
| Reference changed to vectors. | |
| int | m_nStripphiEMnar [4] {} |
| int | m_nStripetaEMwid [4] {} |
| int | m_nStripphiEMwid [4] {} |
| int | m_nStripetaEMnor [4] {} |
| int | m_nStripphiEMnor [4] {} |
| int | m_nStripetaHADnar [3] {} |
| int | m_nStripphiHADnar [3] {} |
| int | m_nStripetaHADwid [3] {} |
| int | m_nStripphiHADwid [3] {} |
| int | m_nStripetaHADnor [3] {} |
| int | m_nStripphiHADnor [3] {} |
| 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 |
Static Private Attributes | |
| static const int | m_netareg [7] = {3,7,4,3,2,2,3} |
| Granularity and eta ranges relevant for above energy sums. | |
| static const double | m_etareg [7][8] |
| static const double | m_etaGran [7][7] |
| static const int | m_nphireg [7] = {1,3,2,1,2,2,2} |
| static const double | m_phireg [7][4] |
| static const double | m_phiGran [7][3] |
Definition at line 25 of file T2GeometryTool.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| T2GeometryTool::T2GeometryTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Constructor.
Loads cluster size definition tables.
Definition at line 9 of file T2GeometryTool.cxx.
|
inlineoverridevirtual |
Finds whether a cell is in a Narrow Sized Cluster.
| [in] | nCaloType,nCaloSamp | : See T2GeometryTool::EtaPhiRange. |
| [in] | etaCell | : Cell eta position. |
| [in] | phiCell | : Cell phi position. |
Implements IT2GeometryTool.
Definition at line 426 of file T2GeometryTool.h.
|
inlineoverridevirtual |
Finds whether a cell is in a Normal Sized Cluster.
| [in] | nCaloType,nCaloSamp | : See T2GeometryTool::EtaPhiRange. |
| [in] | etaCell | : Cell eta position. |
| [in] | phiCell | : Cell phi position. |
Implements IT2GeometryTool.
Definition at line 393 of file T2GeometryTool.h.
|
inlineoverridevirtual |
Finds whether a cell is in a Wide Sized Cluster.
| [in] | nCaloType,nCaloSamp | : See T2GeometryTool::EtaPhiRange. |
| [in] | etaCell | : Cell eta position. |
| [in] | phiCell | : Cell phi position. |
Implements IT2GeometryTool.
Definition at line 457 of file T2GeometryTool.h.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inherited |
|
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.
|
inlineoverridevirtual |
This prepares internal tables based on the cluster position.
Such tables should be used to determine whether a cells is inside clusters with different sizes
| [in] | nCaloType | should be 0 for LAr and 1 for TileCal. |
| [in] | nCaloSamp | should be calorimeter sample. |
| [in] | energyEta | : eta of hottest cell. |
| [in] | energyPhi | : phi of hottest cell. |
Implements IT2GeometryTool.
Definition at line 330 of file T2GeometryTool.h.
|
inlineoverrideprivatevirtual |
Implements IT2GeometryTool.
Definition at line 202 of file T2GeometryTool.h.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
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 |
Initialize method.
Definition at line 67 of file T2GeometryTool.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.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
inlineoverridevirtual |
Get number of cells in eta for Narrow Sized Cluster in EM calorimeter.
| [in] | layer | integer to identify the EM sampling |
Implements IT2GeometryTool.
Definition at line 490 of file T2GeometryTool.h.
|
inlineoverridevirtual |
Get number of cells in eta for Normal Sized Cluster in EM calorimeter.
| [in] | layer | integer to identify the EM sampling |
Implements IT2GeometryTool.
Definition at line 500 of file T2GeometryTool.h.
|
inlineoverridevirtual |
Get number of cells in eta for Wide Sized Cluster in EM calorimeter.
| [in] | layer | integer to identify the EM sampling |
Implements IT2GeometryTool.
Definition at line 495 of file T2GeometryTool.h.
|
inlineoverridevirtual |
Get number of cells in eta for Narrow Sized Cluster in HAD calorimeter.
| [in] | layer | integer to identify the HAD sampling |
Implements IT2GeometryTool.
Definition at line 505 of file T2GeometryTool.h.
|
inlineoverridevirtual |
Get number of cells in eta for Normal Sized Cluster in HAD calorimeter.
| [in] | layer | integer to identify the HAD sampling |
Implements IT2GeometryTool.
Definition at line 515 of file T2GeometryTool.h.
|
inlineoverridevirtual |
Get number of cells in eta for Wide Sized Cluster in HADcalorimeter.
| [in] | layer | integer to identify the HAD sampling |
Implements IT2GeometryTool.
Definition at line 510 of file T2GeometryTool.h.
|
inlineoverridevirtual |
Get number of cells in phi for Narrow Sized Cluster in EM calorimeter.
| [in] | layer | integer to identify the EM sampling |
Implements IT2GeometryTool.
Definition at line 492 of file T2GeometryTool.h.
|
inlineoverridevirtual |
Get number of cells in phi for Normal Sized Cluster in EM calorimeter.
| [in] | layer | integer to identify the EM sampling |
Implements IT2GeometryTool.
Definition at line 502 of file T2GeometryTool.h.
|
inlineoverridevirtual |
Get number of cells in phi for Wide Sized Cluster in EM calorimeter.
| [in] | layer | integer to identify the EM sampling |
Implements IT2GeometryTool.
Definition at line 497 of file T2GeometryTool.h.
|
inlineoverridevirtual |
Get number of cells in phi for Narrow Sized Cluster in HAD calorimeter.
| [in] | layer | integer to identify the HAD sampling |
Implements IT2GeometryTool.
Definition at line 507 of file T2GeometryTool.h.
|
inlineoverridevirtual |
Get number of cells in phi for Normal Sized Cluster in HAD calorimeter.
| [in] | layer | integer to identify the HAD sampling |
Implements IT2GeometryTool.
Definition at line 517 of file T2GeometryTool.h.
|
inlineoverridevirtual |
Get number of cells in phi for Wide Sized Cluster in HAD calorimeter.
| [in] | layer | integer to identify the HAD sampling |
Implements IT2GeometryTool.
Definition at line 512 of file T2GeometryTool.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.
|
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 |
Definition at line 161 of file T2GeometryTool.h.
|
private |
Narrow cluster variables.
Definition at line 161 of file T2GeometryTool.h.
|
private |
Definition at line 158 of file T2GeometryTool.h.
|
private |
Normal cluster variables.
Definition at line 158 of file T2GeometryTool.h.
|
private |
Definition at line 164 of file T2GeometryTool.h.
|
private |
Wider cluster variables.
Definition at line 164 of file T2GeometryTool.h.
|
private |
Definition at line 162 of file T2GeometryTool.h.
|
private |
Definition at line 162 of file T2GeometryTool.h.
|
private |
Definition at line 159 of file T2GeometryTool.h.
|
private |
Definition at line 159 of file T2GeometryTool.h.
|
private |
Definition at line 165 of file T2GeometryTool.h.
|
private |
Definition at line 165 of file T2GeometryTool.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
staticprivate |
Definition at line 85 of file T2GeometryTool.h.
|
staticprivate |
Definition at line 77 of file T2GeometryTool.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
staticprivate |
Granularity and eta ranges relevant for above energy sums.
Definition at line 75 of file T2GeometryTool.h.
|
staticprivate |
Definition at line 95 of file T2GeometryTool.h.
|
private |
Reference changed to vectors.
Definition at line 174 of file T2GeometryTool.h.
|
private |
Definition at line 180 of file T2GeometryTool.h.
|
private |
Definition at line 177 of file T2GeometryTool.h.
|
private |
Definition at line 183 of file T2GeometryTool.h.
|
private |
Definition at line 189 of file T2GeometryTool.h.
|
private |
Definition at line 186 of file T2GeometryTool.h.
|
private |
Definition at line 175 of file T2GeometryTool.h.
|
private |
Definition at line 181 of file T2GeometryTool.h.
|
private |
Definition at line 178 of file T2GeometryTool.h.
|
private |
Definition at line 184 of file T2GeometryTool.h.
|
private |
Definition at line 190 of file T2GeometryTool.h.
|
private |
Definition at line 187 of file T2GeometryTool.h.
|
staticprivate |
Definition at line 106 of file T2GeometryTool.h.
|
staticprivate |
Definition at line 97 of file T2GeometryTool.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.