60 {
61
62
63
64
66
68
71 if( cit != cit_e ) {
72
73
75
76 if( ccc && ( !ccc->
empty() ) ) {
77
78 CaloClusterCellLink* cccl = new CaloClusterCellLink( ccc );
80 for( ; cit != cit_e; ++cit ) {
82 }
83
84
86
87 }
88 else {
90 }
91
92 }
93 else {
94 ATH_MSG_DEBUG(
"Found cluster with empty list of constituents" );
95 }
96 }
97 else {
99 }
100
101
109
114
119
124
125
126
127 copyClusterVariables (aod, xaod,
130 copyClusterVariables (aod, xaod,
133 copyClusterVariables (aod, xaod,
136
137
138
139
141 const std::vector< CaloClusterBadChannelData >* bcvec =
143 for( const CaloClusterBadChannelData& bcd : *bcvec ) {
144 badChanList.emplace_back( bcd.getEta(), bcd.getPhi(),
145 bcd.getLayer(), bcd.getFlag().packedData() );
146 }
148
149
150
151
154 for( ; mom_itr != mom_end; ++mom_itr ) {
155
156
161
162
166 }
167
168
169 return StatusCode::SUCCESS;
170 }
#define ATH_MSG_VERBOSE(x)
const double & getValue() const
returns the value of this moment
virtual object_iter end() const
end iterator for public object access
const CaloCellContainer * getContainer(const CaloCell *pCell) const
public container access: retrieve Container for given object pointer
virtual object_iter begin() const
begin iterator for public object access
virtual bool isCellLinkValid() const
moment_type getMomentType() const
Function access to moment type.
const CaloClusterMoment & getMoment() const
Function access to CaloClusterMoment.
double eta0() const
Returns raw of cluster seed.
MomentStoreIter moment_iterator
Moment iterator type for CaloCluster clients.
virtual double m() const
Retrieve mass independent of signal state.
virtual double e() const
Retrieve energy independent of signal state.
CaloCompositeCellBase< CaloClusterNavigable >::cell_iterator cell_iterator
Iterator on CaloCell s.
virtual double eta() const
Retrieve eta independent of signal state.
double getTime() const
Access cluster time.
moment_iterator beginMoment(bool useLink=true) const
First iterator on moment store.
moment_iterator endMoment(bool useLink=true) const
Last iterator on moment store.
unsigned int samplingPattern() const
Get sampling bitmask.
const badChannelList * getBadChannel() const
unsigned int getClusterSize() const
Get cluster size.
virtual double phi() const
Retrieve phi independent of signal state.
moment_store::moment_type moment_type
Cluster moment indicator type.
double phi0() const
Returns raw of cluster seed.
bool empty() const noexcept
Returns true if the collection is empty.
index_type index() const
Get the index of the element inside of its container.
const ElementLink< CONT > & getElement() const
RPAR getParameter() const
void setRawEta(flt_t)
Set for signal state UNCALIBRATED.
void setAltPhi(flt_t)
Set for signal state ALTCALIBRATED.
void setRawPhi(flt_t)
Set for signal state UNCALIBRATED.
bool setPhi(const CaloSample sampling, const float phi)
Set in a given sampling. Returns false if the sample isn't part of the cluster.
void setAltM(flt_t)
Set mass for singal state ALTCALIBRATED.
void addCellLink(CaloClusterCellLink *CCCL)
void setRawE(flt_t)
Set Energy for signal state UNCALIBRATED.
void setCalPhi(flt_t)
Set for signal state CALIBRATED.
void setRawM(flt_t)
Set mass for singal state UNCALIBRATED.
void setAltEta(flt_t)
Set for signal state ALTCALIBRATED.
void setTime(flt_t)
Set cluster time.
void insertMoment(MomentType type, double value)
void setCalEta(flt_t)
Set for signal state CALIBRATED.
void setClusterSize(const ClusterSize)
Get cluster size.
bool setEta(const CaloSample sampling, const float eta)
Set in a given sampling. Returns false if the sample isn't part of the cluster.
ClusterSize
Enumeration to identify different cluster sizes.
bool setEnergy(const CaloSample sampling, const float e)
Set energy for a given sampling. Returns false if the sample isn't part of the cluster.
void setSamplingPattern(const unsigned sp, const bool clearSamplingVars=false)
Set sampling pattern (one bit per sampling.
void setPhi0(flt_t)
Set raw of cluster seed.
void setAltE(flt_t)
Set Energy for signal state ALTCALIBRATED.
MomentType
Enums to identify different moments.
void setCalE(flt_t)
Set Energy for signal state CALIBRATED.
void setCalM(flt_t)
Set mass for singal state CALIBRATED.
bool setLink(CaloClusterCellLinkContainer *CCCL, IProxyDict *sg=nullptr)
Set up an ElementLink to a CaloClusterCellLink object.
bool addCell(const unsigned index, const double weight)
Method to add a cell to the cluster (Beware: Kinematics not updated!)
void setBadChannelList(const CaloClusterBadChannelList &bcl)
std::vector< CaloClusterBadChannelData > CaloClusterBadChannelList