|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef CALORINGERTOOLS_CALORINGSBUILDER_H
6 #define CALORINGERTOOLS_CALORINGSBUILDER_H
52 const std::string&
name,
73 ,
const std::size_t nReserve = 0)
override;
152 "CaloRingsContainerName",
154 "Name of the CaloRings container"};
160 "RingSetContainerName",
162 "Name of the RingSets container"};
168 "CellsContainerName",
170 "Key to obtain the cell container"};
176 "EtaWidth", {},
"Each RingSet ring eta width."};
181 "PhiWidth", {},
"Each RingSet ring phi width."};
186 "CellMaxDEtaDist", 0,
187 "Maximum cell distance to the seed in eta."};
192 "CellMaxDPhiDist", 0,
193 "Maximum cell distance to the seed in phi."};
197 Gaudi::Property<std::vector<unsigned int>>
m_nRings{
this,
199 "Each RingSet number of rings."};
204 "MinPartEnergy", std::numeric_limits<float>::lowest(),
205 "Minimum particle/cluster energy to build rings (GeV)."};
214 Gaudi::Property<std::vector<
int>>
217 "Concatenated list of layers which will be used "
218 "to build the RingSets"};
222 Gaudi::Property<std::vector<unsigned int>>
m_nLayers{
this,
223 "RingSetNLayers", {},
224 "Each RingSet number of layers from the Layers "
225 "configurable property to use."};
233 "useShowerShapeBarycenter",
false,
234 "Switch to use shower barycenter for each layer, "
235 "instead of the cluster center."};
241 "doTransverseEnergy",
false,
242 "Switch to use raw cell energy, "
243 "instead of cells ET."};
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
~CaloRingsBuilder()
Destructor.
virtual StatusCode finalize() override
finalize method
bool useShowerShapeBarycenter() override
Retrieve whether it was set used shower shape barycenter.
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
This class defines the phi convention for Calorimeters.
StatusCode getRingSetSeed(const xAOD::RingSetConf::RawConf &conf, const xAOD::CaloCluster &cluster, AtlasGeoPoint &seed)
Fill RingSet seed for CaloCluster.
virtual StatusCode initialize() override
Tool main methods:
Gaudi::Property< std::vector< float > > m_etaWidth
Width of the ring in eta.
xAOD::CaloRingsContainer * m_crCont
Create and hold CaloRingsContainer for each event.
std::vector< RawConf > RawConfCollection
typedef The raw configuration structure data holder
Gaudi::Property< float > m_cellMaxDPhiDist
Maximum cell distance in phi to seed.
SG::WriteHandleKey< xAOD::RingSetContainer > m_rsContName
Name of RingSetContainer on Event StoreGate.
const xAOD::RingSetConf::RawConfCollection & rawConf() override
Extra methods:
Gaudi::Property< std::vector< float > > m_phiWidth
Width of the ring in phi.
Class holding a set of rings.
SG::ReadHandleKey< CaloCellContainer > m_cellsContName
Name of CaloCellContainer.
Class providing the definition of the 4-vector interface.
virtual StatusCode buildRingSet(const xAOD::RingSetConf::RawConf &rawConf, const AtlasGeoPoint &seed, xAOD::RingSet *rs)
main method where the RingSets are built.
Gaudi::Property< bool > m_doTransverseEnergy
Switch to use raw cell energy instead ET.
Definition of CaloDetDescrManager.
StatusCode executeTemp(const T &input, ElementLink< xAOD::CaloRingsContainer > &crEL)
Tool protected methods:
Description of a calorimeter cluster.
Property holding a SG store/key/clid from which a WriteHandle is made.
Gaudi::Property< std::vector< int > > m_layers
Calorimeter layers in each ringset.
CaloRingsBuilder(const std::string &type, const std::string &name, const IInterface *parent)
Default constructor.
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< std::vector< unsigned int > > m_nLayers
Number of calorimeter layers in each ringset.
Gaudi::Property< float > m_cellMaxDEtaDist
Maximum cell distance in eta to seed.
CaloPhiRange class declaration.
AtlasGeoPoint m_lastValidSeed
last valid RingSet seed
static const CaloPhiRange m_phiHelper
used for phi wrap-around
ElementLink implementation for ROOT usage.
Property holding a SG store/key/clid from which a WriteHandle is made.
const SG::WriteHandleKey< xAOD::CaloRingsContainer > & crContName() const override
Gaudi::Property< float > m_minEnergy
Minimum particle energy to build rings (GeV)
std::size_t nRingSets() const override
Container class for CaloCell.
size_t m_nRingSets
hold the number of RingSets we are building for each CaloRings
xAOD::RingSetContainer * m_rsCont
Tool props (non configurables):
xAOD::RingSetConf::RawConfCollection m_rsRawConfCol
holds each RingSet configuration (filled at initialize)
virtual StatusCode preExecute(xAOD::CaloRingsContainer *crCont, xAOD::RingSetContainer *rsCont, const std::size_t nReserve=0) override
method for working on containers
SG::WriteHandleKey< xAOD::CaloRingsContainer > m_crContName
Tool props (python configurables):
virtual StatusCode execute(const xAOD::IParticle &particle, ElementLink< xAOD::CaloRingsContainer > &clRingsLink) override
build CaloRings for IParticle
Gaudi::Property< std::vector< unsigned int > > m_nRings
Number of rings in a ringset.
const SG::WriteHandleKey< xAOD::RingSetContainer > & rsContName() const override
Gaudi::Property< bool > m_useShowShapeBarycenter
Switch to use shower barycenter seed for each RingSets.
Namespace dedicated for Ringer utilities.