ATLAS Offline Software
|
#include <T2GeometryTool.h>
Public Member Functions | |
T2GeometryTool (const std::string &type, const std::string &name, const IInterface *parent) | |
Constructor. More... | |
virtual StatusCode | initialize () override |
Initialize method. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
virtual int | nStripetaEMnar (const int layer) const override |
Get number of cells in eta for Narrow Sized Cluster in EM calorimeter. More... | |
virtual int | nStripphiEMnar (const int layer) const override |
Get number of cells in phi for Narrow Sized Cluster in EM calorimeter. More... | |
virtual int | nStripetaEMwid (const int layer) const override |
Get number of cells in eta for Wide Sized Cluster in EM calorimeter. More... | |
virtual int | nStripphiEMwid (const int layer) const override |
Get number of cells in phi for Wide Sized Cluster in EM calorimeter. More... | |
virtual int | nStripetaEMnor (const int layer) const override |
Get number of cells in eta for Normal Sized Cluster in EM calorimeter. More... | |
virtual int | nStripphiEMnor (const int layer) const override |
Get number of cells in phi for Normal Sized Cluster in EM calorimeter. More... | |
virtual int | nStripetaHADnar (const int layer) const override |
Get number of cells in eta for Narrow Sized Cluster in HAD calorimeter. More... | |
virtual int | nStripphiHADnar (const int layer) const override |
Get number of cells in phi for Narrow Sized Cluster in HAD calorimeter. More... | |
virtual int | nStripetaHADwid (const int layer) const override |
Get number of cells in eta for Wide Sized Cluster in HADcalorimeter. More... | |
virtual int | nStripphiHADwid (const int layer) const override |
Get number of cells in phi for Wide Sized Cluster in HAD calorimeter. More... | |
virtual int | nStripetaHADnor (const int layer) const override |
Get number of cells in eta for Normal Sized Cluster in HAD calorimeter. More... | |
virtual int | nStripphiHADnor (const int layer) const override |
Get number of cells in phi for Normal Sized Cluster in HAD calorimeter. More... | |
DeclareInterfaceID (IT2GeometryTool, 1, 0) | |
ServiceHandle< StoreGateSvc > & | evtStore () |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More... | |
const ServiceHandle< StoreGateSvc > & | evtStore () const |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More... | |
const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More... | |
virtual StatusCode | sysInitialize () override |
Perform system initialization for an algorithm. More... | |
virtual StatusCode | sysStart () override |
Handle START transition. More... | |
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
Return this algorithm's input handles. More... | |
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
Return this algorithm's output handles. More... | |
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
Declare a new Gaudi property. More... | |
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
Declare a new Gaudi property. More... | |
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
Declare a new Gaudi property. More... | |
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
Declare a new Gaudi property. More... | |
void | updateVHKA (Gaudi::Details::PropertyBase &) |
MsgStream & | msg () const |
MsgStream & | msg (const MSG::Level lvl) const |
bool | msgLvl (const MSG::Level lvl) const |
Protected Member Functions | |
void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
remove all handles from I/O resolution More... | |
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. More... | |
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 > &hndl, const SG::VarHandleKeyType &) |
specialization for handling Gaudi::Property<SG::VarHandleKey> More... | |
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &) |
specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More... | |
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &) |
specialization for handling Gaudi::Property<SG::VarHandleBase> More... | |
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &) |
specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More... | |
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. More... | |
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 | ||
) |
|
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::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
|
inlineprivateinherited |
specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray>
Definition at line 199 of file AthCommonDataStore.h.
|
inherited |
|
inlineinherited |
Declare a new Gaudi property.
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
|
inlineinherited |
Declare a new Gaudi property.
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 259 of file AthCommonDataStore.h.
|
inlineinherited |
Declare a new Gaudi property.
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
|
inlineinherited |
Declare a new Gaudi property.
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 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.
|
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 |
|
inlineinherited |
The standard StoreGateSvc
(event store) Returns (kind of) a pointer to the StoreGateSvc
.
Definition at line 85 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc
(event store) Returns (kind of) a pointer to the StoreGateSvc
.
Definition at line 90 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 27 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 DerivationFramework::CfAthAlgTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and asg::AsgMetadataTool.
|
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 171 of file T2GeometryTool.h.
|
private |
Narrow cluster variables.
Definition at line 171 of file T2GeometryTool.h.
|
private |
Definition at line 168 of file T2GeometryTool.h.
|
private |
Normal cluster variables.
Definition at line 168 of file T2GeometryTool.h.
|
private |
Definition at line 174 of file T2GeometryTool.h.
|
private |
Wider cluster variables.
Definition at line 174 of file T2GeometryTool.h.
|
private |
Definition at line 172 of file T2GeometryTool.h.
|
private |
Definition at line 172 of file T2GeometryTool.h.
|
private |
Definition at line 169 of file T2GeometryTool.h.
|
private |
Definition at line 169 of file T2GeometryTool.h.
|
private |
Definition at line 175 of file T2GeometryTool.h.
|
private |
Definition at line 175 of file T2GeometryTool.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
staticprivate |
Definition at line 205 of file T2GeometryTool.h.
|
staticprivate |
Definition at line 204 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 203 of file T2GeometryTool.h.
|
staticprivate |
Definition at line 206 of file T2GeometryTool.h.
|
private |
Reference changed to vectors.
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.
|
private |
Definition at line 193 of file T2GeometryTool.h.
|
private |
Definition at line 199 of file T2GeometryTool.h.
|
private |
Definition at line 196 of file T2GeometryTool.h.
|
private |
Definition at line 185 of file T2GeometryTool.h.
|
private |
Definition at line 191 of file T2GeometryTool.h.
|
private |
Definition at line 188 of file T2GeometryTool.h.
|
private |
Definition at line 194 of file T2GeometryTool.h.
|
private |
Definition at line 200 of file T2GeometryTool.h.
|
private |
Definition at line 197 of file T2GeometryTool.h.
|
staticprivate |
Definition at line 208 of file T2GeometryTool.h.
|
staticprivate |
Definition at line 207 of file T2GeometryTool.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.