|
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef XAODCALORINGS_VERSIONS_RINGSETCONF_V1_H
5 #define XAODCALORINGS_VERSIONS_RINGSETCONF_V1_H
12 #include "CaloGeoHelpers/CaloSampling.h"
53 std::vector<CaloSampling::CaloSample>
layers;
93 const std::vector<CaloSampling::CaloSample> &
layers,
104 const std::vector<CaloSampling::CaloSample> &
layers,
134 static bool isPSLayer (
const std::vector<CaloSampling::CaloSample> &
layers);
135 static bool isEM1Layer (
const std::vector<CaloSampling::CaloSample> &
layers);
136 static bool isEM2Layer (
const std::vector<CaloSampling::CaloSample> &
layers);
137 static bool isEM3Layer (
const std::vector<CaloSampling::CaloSample> &
layers);
145 const std::vector<CaloSampling::CaloSample> &
layers);
147 const std::vector<CaloSampling::CaloSample> &
layers);
207 const std::vector<CaloSampling::CaloSample> &rsLayers,
253 const std::vector< CaloSampling::CaloSample >&
layers()
const;
471 SG::AuxElement(ringsetconf)
486 doEtaAxesDivision(false),
487 doPhiAxesDivision(false),
499 #endif // XAODCALORINGS_VERSIONS_RINGSETCONF_V1_H
unsigned layerEndIdx
Hold the end of this layer on a non-segmented representation:
void setCalJointLayer(Ringer::CalJointLayer calJointLayer)
Set this RingSet CalJointLayer.
Class holding the RingSet configuration used for the Reconstruction.
static bool isEMSection(const std::vector< CaloSampling::CaloSample > &layers)
Static methods:
CaloSampling::CaloSample layerAt(const unsigned idx) const
Get ith layer.
void setSectionEndIdx(unsigned sectionEndIdx)
Set end section configuration index.
static void print(const RawConf &raw, std::ostream &stream)
Prints rawConf.
RingSetConf_v1 & operator=(const RingSetConf_v1 &clrings)
Assignment Operator.
unsigned layerEndIdx() const
Returns end of section index for this RingSet Configuration when this configuration is concatened int...
unsigned layerStartIdx
Hold the start of this layer on a non-segmented representation:
unsigned nRings() const
Get nRings.
void setdoEtaAxesDivision(bool doEtaAxesDivision)
Set doEtaAxesDivision.
static bool isHADSection(const std::vector< CaloSampling::CaloSample > &layers)
float phiWidth
Ring Width in phi.
static bool isEM2Layer(const std::vector< CaloSampling::CaloSample > &layers)
static bool isHAD1Layer(const std::vector< CaloSampling::CaloSample > &layers)
void setLayerEndIdx(unsigned layerEndIdx)
Set end layer configuration index.
std::vector< RawConf > RawConfCollection
typedef The raw configuration structure data holder
void setCellMaxDEtaDist(float cellMaxDEtaDist)
Set maxCellDEtaDist.
Base class for elements of a container that can have aux data.
float cellMaxDPhiDist
Maximum distance cell in phi to seed.
Ringer::CalJointLayer calJointLayer() const
Retrieve this RingSet conf CalJointLayer.
unsigned nLayers() const
RingSet layers size:
unsigned sectionEndIdx() const
Returns end of section index for this RingSet Configuration when this configuration is concatened int...
Ringer::CalJointLayer calJointLayer
The Calorimeter Joint Layer of this RingSet (see CaloRingsDefs.h)
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
static void getRawConfCol(RawConfCollection &rawConfCol, const RingSetConfContainer_v1 *container)
Retrieve RawConfCollection from RingSetConf container.
unsigned nRings
Ringset number of Rings.
SG_BASE(xAOD::RingSetConf_v1, SG::AuxElement)
void addLayer(const CaloSampling::CaloSample c)
Add layer.
float etaWidth
Ring Width in eta.
static Ringer::CalJointLayer whichLayer(const std::vector< CaloSampling::CaloSample > &layers)
static bool isPSLayer(const std::vector< CaloSampling::CaloSample > &layers)
const std::vector< CaloSampling::CaloSample > & layers() const
get layers
static bool isHAD2Layer(const std::vector< CaloSampling::CaloSample > &layers)
static bool isEM1Layer(const std::vector< CaloSampling::CaloSample > &layers)
void setCalJointSection(Ringer::CalJointSection calJointSection)
Set this RingSet CalJointSection.
setPhiWidth cellMaxDPhiDist
static void addRawConfColBounderies(RawConfCollection &clRingsConf)
Add to RawConfCollection its JointLayer/JointSection bounderies.
static bool isHAD3Layer(const std::vector< CaloSampling::CaloSample > &layers)
unsigned sectionEndIdx
Hold the end of this section on a non-segmented representation:
const RingSetConf_v1::RawConf getRawConf() const
Retrieve raw RingSet Configuration struct.
RawConf()
Configuration Struct ctors.
std::vector< CaloSampling::CaloSample > layers
Ringset layers.
unsigned sectionStartIdx
Hold the start of this section on a non-segmented representation:
void setNRings(unsigned nRings)
Set nRings.
void setPhiWidth(float phiWidth)
Set phiWidth.
static bool isEM3Layer(const std::vector< CaloSampling::CaloSample > &layers)
unsigned sectionStartIdx() const
Returns start of section index for this RingSet Configuration when this configuration is concatened i...
void clearLayers()
Clear layers.
bool doPhiAxesDivision() const
Return the phiAxesDivision configuration.
float etaWidth() const
Returns the etaWidth configuration step used for this RingSet.
CalJointLayer
the joint calorimeter layers.
unsigned layerStartIdx() const
Returns start of layer index for this RingSet Configuration when this configuration is concatened int...
static void getEdges(const RawConfCollection &clRingsConf, const Ringer::CalJointSection sec, unsigned &startEdge, unsigned &endEdge)
Get CalJointSection start and end edges.
bool doEtaAxesDivision
Hold the option of eta axes division.
void setSectionStartIdx(unsigned sectionEndIdx)
Set start section configuration index.
Ringer::CalJointSection calJointSection
The Calorimeter Joint Section (see CaloRingsDefs.h)
void makePrivateStore()
Create a new (empty) private store for this object.
float cellMaxDEtaDist() const
Return the maximun cell distance in eta w.r.t seed.
RingSetConf_v1()
Empty ctor:
An STL vector of pointers that by default owns its pointed-to elements.
Ringer::CalJointSection calJointSection() const
Retrieve this RingSet conf CalJointSection.
void setEtaWidth(float etaWidth)
Set etaWidth.
bool doPhiAxesDivision
Hold the option of phi axes division.
float cellMaxDEtaDist
Maximum distance cell in eta to seed.
float phiWidth() const
Returns the phiWidth configuration step used for this RingSet.
setLayerEndIdx sectionEndIdx
void setLayerStartIdx(unsigned layerStartIdx)
Set start layer configuration index.
bool doEtaAxesDivision() const
Return the etaAxesDivision configuration.
DataVector< xAOD::RingSetConf_v1 > RingSetConfContainer_v1
The container is a simple typedef for now.
const SG::AuxVectorData * container() const
Return the container holding this element.
static unsigned totalNumberOfRings(const RawConfCollection &clRingsConf)
Get the totalNumber of Rings contained in this configuration:
static Ringer::CalJointSection whichSection(const std::vector< CaloSampling::CaloSample > &layers)
static void fillRingSetConfContainer(const RawConfCollection &rawConfCol, RingSetConfContainer_v1 *container)
Creates RingSetConfContainer from RawConfCollection.
float cellMaxDPhiDist() const
Return the maximun cell distance in phi w.r.t seed.
void setdoPhiAxesDivision(bool doPhiAxesDivision)
Set doPhiAxesDivision.
CalJointSection
the joint calorimeter sections.
Base class for elements of a container that can have aux data.
Namespace dedicated for Ringer utilities.
void setCellMaxDPhiDist(float cellMaxDPhiDist)
Set maxCellDPhiDist.
void setLayers(const std::vector< CaloSampling::CaloSample > &layers)
set layers