BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
RecEmcShower Class Reference

#include <RecEmcShower.h>

Inheritance diagram for RecEmcShower:

Public Member Functions

virtual const CLID & clID () const
 RecEmcShower ()
 ~RecEmcShower ()
 RecEmcShower (const DstEmcShower &aShower)
RecEmcShoweroperator= (const DstEmcShower &aShower)
bool operator< (const RecEmcShower &aShower) const
bool operator> (const RecEmcShower &aShower) const
void Clear ()
bool TofShower () const
void TofShower (bool tof)
RecEmcID getShowerId () const
RecEmcID ShowerId (RecEmcID id)
RecEmcID getClusterId () const
void ClusterId (const RecEmcID id)
RecEmcClustergetCluster () const
void Cluster (RecEmcCluster *pCluster)
RecEmcIDVector getCellId3x3 () const
void CellId3x3 (RecEmcIDVector &id3x3)
RecEmcIDVector getCellId5x5 () const
void CellId5x5 (RecEmcIDVector &id5x5)
RecEmcFractionMap::const_iterator Begin () const
RecEmcFractionMap::const_iterator End () const
RecEmcFractionMap::const_iterator Find (const RecEmcID &CellId) const
void Insert (const RecEmcFraction &aFraction)
void Erase (const RecEmcFraction &aFraction)
void Dump () const
unsigned int getSize () const
RecEmcFractionMap getFractionMap () const
RecEmcFractionMap getFractionMap3x3 () const
RecEmcFractionMap getFractionMap5x5 () const
RecEmcEnergy getEAll () const
RecEmcEnergy EAll (RecEmcEnergy e)
RecEmcEnergy getELepton () const
RecEmcEnergy ELepton (RecEmcEnergy e)
RecEmcEnergy getETof2x1 () const
RecEmcEnergy ETof2x1 (RecEmcEnergy e)
RecEmcEnergy getETof2x3 () const
RecEmcEnergy ETof2x3 (RecEmcEnergy e)
RecEmcID NearestSeed () const
RecEmcID NearestSeed (const RecEmcID &ns)
int ThetaGap () const
int ThetaGap (int ThetaGap)
int PhiGap () const
int PhiGap (int PhiGap)
virtual const CLID & clID () const
 RecEmcShower ()
 ~RecEmcShower ()
 RecEmcShower (const DstEmcShower &aShower)
RecEmcShoweroperator= (const DstEmcShower &aShower)
bool operator< (const RecEmcShower &aShower) const
bool operator> (const RecEmcShower &aShower) const
void Clear ()
bool TofShower () const
void TofShower (bool tof)
RecEmcID getShowerId () const
RecEmcID ShowerId (RecEmcID id)
RecEmcID getClusterId () const
void ClusterId (const RecEmcID id)
RecEmcClustergetCluster () const
void Cluster (RecEmcCluster *pCluster)
RecEmcIDVector getCellId3x3 () const
void CellId3x3 (RecEmcIDVector &id3x3)
RecEmcIDVector getCellId5x5 () const
void CellId5x5 (RecEmcIDVector &id5x5)
RecEmcFractionMap::const_iterator Begin () const
RecEmcFractionMap::const_iterator End () const
RecEmcFractionMap::const_iterator Find (const RecEmcID &CellId) const
void Insert (const RecEmcFraction &aFraction)
void Erase (const RecEmcFraction &aFraction)
void Dump () const
unsigned int getSize () const
RecEmcFractionMap getFractionMap () const
RecEmcFractionMap getFractionMap3x3 () const
RecEmcFractionMap getFractionMap5x5 () const
RecEmcEnergy getEAll () const
RecEmcEnergy EAll (RecEmcEnergy e)
RecEmcEnergy getELepton () const
RecEmcEnergy ELepton (RecEmcEnergy e)
RecEmcEnergy getETof2x1 () const
RecEmcEnergy ETof2x1 (RecEmcEnergy e)
RecEmcEnergy getETof2x3 () const
RecEmcEnergy ETof2x3 (RecEmcEnergy e)
RecEmcID NearestSeed () const
RecEmcID NearestSeed (const RecEmcID &ns)
int ThetaGap () const
int ThetaGap (int ThetaGap)
int PhiGap () const
int PhiGap (int PhiGap)
virtual const CLID & clID () const
 RecEmcShower ()
 ~RecEmcShower ()
 RecEmcShower (const DstEmcShower &aShower)
RecEmcShoweroperator= (const DstEmcShower &aShower)
bool operator< (const RecEmcShower &aShower) const
bool operator> (const RecEmcShower &aShower) const
void Clear ()
bool TofShower () const
void TofShower (bool tof)
RecEmcID getShowerId () const
RecEmcID ShowerId (RecEmcID id)
RecEmcID getClusterId () const
void ClusterId (const RecEmcID id)
RecEmcClustergetCluster () const
void Cluster (RecEmcCluster *pCluster)
RecEmcIDVector getCellId3x3 () const
void CellId3x3 (RecEmcIDVector &id3x3)
RecEmcIDVector getCellId5x5 () const
void CellId5x5 (RecEmcIDVector &id5x5)
RecEmcFractionMap::const_iterator Begin () const
RecEmcFractionMap::const_iterator End () const
RecEmcFractionMap::const_iterator Find (const RecEmcID &CellId) const
void Insert (const RecEmcFraction &aFraction)
void Erase (const RecEmcFraction &aFraction)
void Dump () const
unsigned int getSize () const
RecEmcFractionMap getFractionMap () const
RecEmcFractionMap getFractionMap3x3 () const
RecEmcFractionMap getFractionMap5x5 () const
RecEmcEnergy getEAll () const
RecEmcEnergy EAll (RecEmcEnergy e)
RecEmcEnergy getELepton () const
RecEmcEnergy ELepton (RecEmcEnergy e)
RecEmcEnergy getETof2x1 () const
RecEmcEnergy ETof2x1 (RecEmcEnergy e)
RecEmcEnergy getETof2x3 () const
RecEmcEnergy ETof2x3 (RecEmcEnergy e)
RecEmcID NearestSeed () const
RecEmcID NearestSeed (const RecEmcID &ns)
int ThetaGap () const
int ThetaGap (int ThetaGap)
int PhiGap () const
int PhiGap (int PhiGap)
Public Member Functions inherited from DstEmcShower
 DstEmcShower ()
virtual ~DstEmcShower ()
int trackId () const
int numHits () const
int status () const
int cellId () const
int module () const
HepPoint3D position () const
double x () const
double y () const
double z () const
double theta () const
double phi () const
double dx () const
double dy () const
double dz () const
double dtheta () const
double dphi () const
double energy () const
double dE () const
double eSeed () const
double e3x3 () const
double e5x5 () const
double time () const
double secondMoment () const
double latMoment () const
double a20Moment () const
double a42Moment () const
HepSymMatrix errorMatrix () const
void setTrackId (int trackId)
void setNumHits (int hit)
void setStatus (int st)
void setCellId (int id)
void setModule (int mod)
void setPosition (const HepPoint3D &pos)
void setEnergy (double e)
void setDE (double de)
void setDtheta (double dt)
void setDphi (double dpi)
void setESeed (double eSeed)
void setE3x3 (double e3x3)
void setE5x5 (double e5x5)
void setTime (double time)
void setSecondMoment (double secondMoment)
void setLatMoment (double latMoment)
void setA20Moment (double a20Moment)
void setA42Moment (double a42Moment)
void setErrorMatrix (const HepSymMatrix &error)
 DstEmcShower ()
virtual ~DstEmcShower ()
int trackId () const
int numHits () const
int status () const
int cellId () const
int module () const
HepPoint3D position () const
double x () const
double y () const
double z () const
double theta () const
double phi () const
double dx () const
double dy () const
double dz () const
double dtheta () const
double dphi () const
double energy () const
double dE () const
double eSeed () const
double e3x3 () const
double e5x5 () const
double time () const
double secondMoment () const
double latMoment () const
double a20Moment () const
double a42Moment () const
HepSymMatrix errorMatrix () const
void setTrackId (int trackId)
void setNumHits (int hit)
void setStatus (int st)
void setCellId (int id)
void setModule (int mod)
void setPosition (const HepPoint3D &pos)
void setEnergy (double e)
void setDE (double de)
void setDtheta (double dt)
void setDphi (double dpi)
void setESeed (double eSeed)
void setE3x3 (double e3x3)
void setE5x5 (double e5x5)
void setTime (double time)
void setSecondMoment (double secondMoment)
void setLatMoment (double latMoment)
void setA20Moment (double a20Moment)
void setA42Moment (double a42Moment)
void setErrorMatrix (const HepSymMatrix &error)
 DstEmcShower ()
virtual ~DstEmcShower ()
int trackId () const
int numHits () const
int status () const
int cellId () const
int module () const
HepPoint3D position () const
double x () const
double y () const
double z () const
double theta () const
double phi () const
double dx () const
double dy () const
double dz () const
double dtheta () const
double dphi () const
double energy () const
double dE () const
double eSeed () const
double e3x3 () const
double e5x5 () const
double time () const
double secondMoment () const
double latMoment () const
double a20Moment () const
double a42Moment () const
HepSymMatrix errorMatrix () const
void setTrackId (int trackId)
void setNumHits (int hit)
void setStatus (int st)
void setCellId (int id)
void setModule (int mod)
void setPosition (const HepPoint3D &pos)
void setEnergy (double e)
void setDE (double de)
void setDtheta (double dt)
void setDphi (double dpi)
void setESeed (double eSeed)
void setE3x3 (double e3x3)
void setE5x5 (double e5x5)
void setTime (double time)
void setSecondMoment (double secondMoment)
void setLatMoment (double latMoment)
void setA20Moment (double a20Moment)
void setA42Moment (double a42Moment)
void setErrorMatrix (const HepSymMatrix &error)

Static Public Member Functions

static const CLID & classID ()
static const CLID & classID ()
static const CLID & classID ()
Static Public Member Functions inherited from DstEmcShower
static const CLID & classID ()
static const CLID & classID ()
static const CLID & classID ()

Protected Attributes

bool fTofShower
RecEmcID fShowerId
RecEmcID fClusterId
RecEmcClusterfCluster
RecEmcIDVector fCellId3x3
RecEmcIDVector fCellId5x5
RecEmcFractionMap fFractionMap
RecEmcEnergy fEAll
RecEmcEnergy fELepton
RecEmcEnergy fETof2x1
RecEmcEnergy fETof2x3
RecEmcID fNearestSeed
int fThetaGap
int fPhiGap

Detailed Description

Constructor & Destructor Documentation

◆ RecEmcShower() [1/6]

RecEmcShower::RecEmcShower ( )

Definition at line 12 of file RecEmcShower.cxx.

12{ Clear(); }

Referenced by operator<(), operator=(), and operator>().

◆ ~RecEmcShower() [1/3]

RecEmcShower::~RecEmcShower ( )

Definition at line 14 of file RecEmcShower.cxx.

14 {
15 // Clear();
16}

◆ RecEmcShower() [2/6]

◆ RecEmcShower() [3/6]

RecEmcShower::RecEmcShower ( )

◆ ~RecEmcShower() [2/3]

RecEmcShower::~RecEmcShower ( )

◆ RecEmcShower() [4/6]

RecEmcShower::RecEmcShower ( const DstEmcShower & aShower)

◆ RecEmcShower() [5/6]

RecEmcShower::RecEmcShower ( )

◆ ~RecEmcShower() [3/3]

RecEmcShower::~RecEmcShower ( )

◆ RecEmcShower() [6/6]

RecEmcShower::RecEmcShower ( const DstEmcShower & aShower)

Member Function Documentation

◆ Begin() [1/3]

◆ Begin() [2/3]

RecEmcFractionMap::const_iterator RecEmcShower::Begin ( ) const

◆ Begin() [3/3]

RecEmcFractionMap::const_iterator RecEmcShower::Begin ( ) const

◆ CellId3x3() [1/3]

void RecEmcShower::CellId3x3 ( RecEmcIDVector & id3x3)

Definition at line 102 of file RecEmcShower.cxx.

102 {
103 fCellId3x3.clear();
104 fCellId3x3 = id3x3;
105}

Referenced by EmcRecShowerEnergy::Energy(), and RecEmcShowerCnv::TObjectToDataObject().

◆ CellId3x3() [2/3]

void RecEmcShower::CellId3x3 ( RecEmcIDVector & id3x3)

◆ CellId3x3() [3/3]

void RecEmcShower::CellId3x3 ( RecEmcIDVector & id3x3)

◆ CellId5x5() [1/3]

void RecEmcShower::CellId5x5 ( RecEmcIDVector & id5x5)

Definition at line 107 of file RecEmcShower.cxx.

107 {
108 fCellId5x5.clear();
109 fCellId5x5 = id5x5;
110}

Referenced by EmcRecShowerEnergy::Energy(), and RecEmcShowerCnv::TObjectToDataObject().

◆ CellId5x5() [2/3]

void RecEmcShower::CellId5x5 ( RecEmcIDVector & id5x5)

◆ CellId5x5() [3/3]

void RecEmcShower::CellId5x5 ( RecEmcIDVector & id5x5)

◆ classID() [1/3]

const CLID & RecEmcShower::classID ( )
inlinestatic

Definition at line 24 of file Emc/EmcRecEventModel/include/EmcRecEventModel/RecEmcShower.h.

24{ return CLID_RecEmcShower; }
const CLID & CLID_RecEmcShower

Referenced by clID().

◆ classID() [2/3]

const CLID & RecEmcShower::classID ( )
inlinestatic

◆ classID() [3/3]

const CLID & RecEmcShower::classID ( )
inlinestatic

◆ Clear() [1/3]

void RecEmcShower::Clear ( )

Definition at line 72 of file RecEmcShower.cxx.

72 {
73 fShowerId.clear();
74 fClusterId.clear();
75 fCellId3x3.clear();
76 fCellId5x5.clear();
77 fFractionMap.clear();
78 //
79 fCluster = NULL;
80 fTofShower = false;
81 fEAll = 0;
82 fELepton = 0;
83 fETof2x1 = 0;
84 fETof2x3 = 0;
85 //
86 // HepPoint3D o(0,0,0);
87 // fPosition=o;
88 //
89 fNearestSeed.clear();
90 fThetaGap = 0;
91 fPhiGap = 0;
92}

Referenced by EmcRecFastCluster2Shower::Convert(), Erase(), operator=(), RecEmcShower(), RecEmcShower(), and EmcRecSplitWeighted::Split().

◆ Clear() [2/3]

void RecEmcShower::Clear ( )

◆ Clear() [3/3]

void RecEmcShower::Clear ( )

◆ clID() [1/3]

virtual const CLID & RecEmcShower::clID ( ) const
inlinevirtual

◆ clID() [2/3]

virtual const CLID & RecEmcShower::clID ( ) const
inlinevirtual

◆ clID() [3/3]

virtual const CLID & RecEmcShower::clID ( ) const
inlinevirtual

◆ Cluster() [1/3]

void RecEmcShower::Cluster ( RecEmcCluster * pCluster)

Definition at line 100 of file RecEmcShower.cxx.

100{ fCluster = pCluster; }

Referenced by RecEmcShowerCnv::TObjectToDataObject().

◆ Cluster() [2/3]

void RecEmcShower::Cluster ( RecEmcCluster * pCluster)

◆ Cluster() [3/3]

void RecEmcShower::Cluster ( RecEmcCluster * pCluster)

◆ ClusterId() [1/3]

void RecEmcShower::ClusterId ( const RecEmcID id)

Definition at line 98 of file RecEmcShower.cxx.

98{ fClusterId = id; }

Referenced by EmcRecSplitWeighted::Split(), and RecEmcShowerCnv::TObjectToDataObject().

◆ ClusterId() [2/3]

void RecEmcShower::ClusterId ( const RecEmcID id)

◆ ClusterId() [3/3]

void RecEmcShower::ClusterId ( const RecEmcID id)

◆ Dump() [1/3]

void RecEmcShower::Dump ( ) const

Definition at line 153 of file RecEmcShower.cxx.

153 {
154 RecEmcFractionMap::const_iterator pFractionMap;
155
156 cout << "EMC Shower: ";
157
158 cout << "Shower Id= ";
159 cout << fShowerId << endl;
160
161 for ( pFractionMap = fFractionMap.begin(); pFractionMap != fFractionMap.end();
162 pFractionMap++ )
163 { pFractionMap->second.Dump(); }
164}

◆ Dump() [2/3]

void RecEmcShower::Dump ( ) const

◆ Dump() [3/3]

void RecEmcShower::Dump ( ) const

◆ EAll() [1/3]

RecEmcEnergy RecEmcShower::EAll ( RecEmcEnergy e)

◆ EAll() [2/3]

RecEmcEnergy RecEmcShower::EAll ( RecEmcEnergy e)

◆ EAll() [3/3]

RecEmcEnergy RecEmcShower::EAll ( RecEmcEnergy e)

◆ ELepton() [1/3]

RecEmcEnergy RecEmcShower::ELepton ( RecEmcEnergy e)

Definition at line 231 of file RecEmcShower.cxx.

231{ return fELepton = e; }

Referenced by EmcRecShowerEnergy::Energy(), and RecEmcShowerCnv::TObjectToDataObject().

◆ ELepton() [2/3]

RecEmcEnergy RecEmcShower::ELepton ( RecEmcEnergy e)

◆ ELepton() [3/3]

RecEmcEnergy RecEmcShower::ELepton ( RecEmcEnergy e)

◆ End() [1/3]

◆ End() [2/3]

RecEmcFractionMap::const_iterator RecEmcShower::End ( ) const

◆ End() [3/3]

RecEmcFractionMap::const_iterator RecEmcShower::End ( ) const

◆ Erase() [1/3]

void RecEmcShower::Erase ( const RecEmcFraction & aFraction)

Definition at line 127 of file RecEmcShower.cxx.

127 {
128 RecEmcFractionMap::const_iterator pFractionMap;
129 pFractionMap = fFractionMap.find( aFraction.getCellId() );
130
131 // blank FractionMap
132 if ( fFractionMap.empty() ) { return; }
133
134 // not find
135 if ( pFractionMap == End() ) { return; }
136
137 // find it
138 if ( pFractionMap != End() )
139 {
140 fFractionMap.erase( pFractionMap->first );
141 // empty
142 if ( fFractionMap.empty() )
143 {
144 Clear();
145 return;
146 }
147 // not empty
148 else { return; }
149 }
150}
RecEmcFractionMap::const_iterator End() const

◆ Erase() [2/3]

void RecEmcShower::Erase ( const RecEmcFraction & aFraction)

◆ Erase() [3/3]

void RecEmcShower::Erase ( const RecEmcFraction & aFraction)

◆ ETof2x1() [1/3]

RecEmcEnergy RecEmcShower::ETof2x1 ( RecEmcEnergy e)

Definition at line 232 of file RecEmcShower.cxx.

232{ return fETof2x1 = e; }

◆ ETof2x1() [2/3]

RecEmcEnergy RecEmcShower::ETof2x1 ( RecEmcEnergy e)

◆ ETof2x1() [3/3]

RecEmcEnergy RecEmcShower::ETof2x1 ( RecEmcEnergy e)

◆ ETof2x3() [1/3]

RecEmcEnergy RecEmcShower::ETof2x3 ( RecEmcEnergy e)

Definition at line 233 of file RecEmcShower.cxx.

233{ return fETof2x3 = e; }

◆ ETof2x3() [2/3]

RecEmcEnergy RecEmcShower::ETof2x3 ( RecEmcEnergy e)

◆ ETof2x3() [3/3]

RecEmcEnergy RecEmcShower::ETof2x3 ( RecEmcEnergy e)

◆ Find() [1/3]

RecEmcFractionMap::const_iterator RecEmcShower::Find ( const RecEmcID & CellId) const

Definition at line 116 of file RecEmcShower.cxx.

116 {
117 // If failed the return vale is End().
118 return fFractionMap.find( CellId );
119}

Referenced by EmcRecShowerEnergy::Energy().

◆ Find() [2/3]

RecEmcFractionMap::const_iterator RecEmcShower::Find ( const RecEmcID & CellId) const

◆ Find() [3/3]

RecEmcFractionMap::const_iterator RecEmcShower::Find ( const RecEmcID & CellId) const

◆ getCellId3x3() [1/3]

RecEmcIDVector RecEmcShower::getCellId3x3 ( ) const
inline

◆ getCellId3x3() [2/3]

RecEmcIDVector RecEmcShower::getCellId3x3 ( ) const
inline

◆ getCellId3x3() [3/3]

RecEmcIDVector RecEmcShower::getCellId3x3 ( ) const
inline

◆ getCellId5x5() [1/3]

RecEmcIDVector RecEmcShower::getCellId5x5 ( ) const
inline

◆ getCellId5x5() [2/3]

RecEmcIDVector RecEmcShower::getCellId5x5 ( ) const
inline

◆ getCellId5x5() [3/3]

RecEmcIDVector RecEmcShower::getCellId5x5 ( ) const
inline

◆ getCluster() [1/3]

RecEmcCluster * RecEmcShower::getCluster ( ) const
inline

Definition at line 56 of file Emc/EmcRecEventModel/include/EmcRecEventModel/RecEmcShower.h.

56{ return fCluster; }

Referenced by EmcRec::execute().

◆ getCluster() [2/3]

RecEmcCluster * RecEmcShower::getCluster ( ) const
inline

◆ getCluster() [3/3]

RecEmcCluster * RecEmcShower::getCluster ( ) const
inline

◆ getClusterId() [1/3]

RecEmcID RecEmcShower::getClusterId ( ) const
inline

◆ getClusterId() [2/3]

RecEmcID RecEmcShower::getClusterId ( ) const
inline

◆ getClusterId() [3/3]

RecEmcID RecEmcShower::getClusterId ( ) const
inline

◆ getEAll() [1/3]

◆ getEAll() [2/3]

RecEmcEnergy RecEmcShower::getEAll ( ) const
inline

◆ getEAll() [3/3]

RecEmcEnergy RecEmcShower::getEAll ( ) const
inline

◆ getELepton() [1/3]

RecEmcEnergy RecEmcShower::getELepton ( ) const
inline

Definition at line 89 of file Emc/EmcRecEventModel/include/EmcRecEventModel/RecEmcShower.h.

89{ return fELepton; }

Referenced by operator<<().

◆ getELepton() [2/3]

RecEmcEnergy RecEmcShower::getELepton ( ) const
inline

◆ getELepton() [3/3]

RecEmcEnergy RecEmcShower::getELepton ( ) const
inline

◆ getETof2x1() [1/3]

RecEmcEnergy RecEmcShower::getETof2x1 ( ) const
inline

Definition at line 92 of file Emc/EmcRecEventModel/include/EmcRecEventModel/RecEmcShower.h.

92{ return fETof2x1; }

Referenced by EmcRec::execute().

◆ getETof2x1() [2/3]

RecEmcEnergy RecEmcShower::getETof2x1 ( ) const
inline

◆ getETof2x1() [3/3]

RecEmcEnergy RecEmcShower::getETof2x1 ( ) const
inline

◆ getETof2x3() [1/3]

RecEmcEnergy RecEmcShower::getETof2x3 ( ) const
inline

Definition at line 95 of file Emc/EmcRecEventModel/include/EmcRecEventModel/RecEmcShower.h.

95{ return fETof2x3; }

Referenced by EmcRec::execute().

◆ getETof2x3() [2/3]

RecEmcEnergy RecEmcShower::getETof2x3 ( ) const
inline

◆ getETof2x3() [3/3]

RecEmcEnergy RecEmcShower::getETof2x3 ( ) const
inline

◆ getFractionMap() [1/3]

RecEmcFractionMap RecEmcShower::getFractionMap ( ) const

Definition at line 169 of file RecEmcShower.cxx.

169 {
170 RecEmcFractionMap tmpFractionMap;
171 RecEmcFractionMap::const_iterator pFractionMap;
172
173 for ( pFractionMap = fFractionMap.begin(); pFractionMap != fFractionMap.end();
174 pFractionMap++ )
175 {
176 RecEmcFraction aFraction = pFractionMap->second;
177 tmpFractionMap[aFraction.getCellId()] = aFraction;
178 }
179
180 return tmpFractionMap;
181}
map< RecEmcID, RecEmcFraction, less< RecEmcID > > RecEmcFractionMap

◆ getFractionMap() [2/3]

RecEmcFractionMap RecEmcShower::getFractionMap ( ) const

◆ getFractionMap() [3/3]

RecEmcFractionMap RecEmcShower::getFractionMap ( ) const

◆ getFractionMap3x3() [1/3]

RecEmcFractionMap RecEmcShower::getFractionMap3x3 ( ) const

Definition at line 183 of file RecEmcShower.cxx.

183 {
184 RecEmcFractionMap tmpFractionMap;
185 if ( fFractionMap.empty() ) return tmpFractionMap;
186
187 RecEmcFractionMap::const_iterator pFractionMap;
188 ci_RecEmcIDVector pNearCell;
189
190 for ( pFractionMap = fFractionMap.begin(); pFractionMap != fFractionMap.end();
191 pFractionMap++ )
192 {
193 for ( pNearCell = fCellId3x3.begin(); pNearCell != fCellId3x3.end(); pNearCell++ )
194 {
195 if ( pFractionMap->second.getCellId() == *pNearCell )
196 {
197 RecEmcFraction aFraction = pFractionMap->second;
198 tmpFractionMap[aFraction.getCellId()] = aFraction;
199 }
200 }
201 }
202
203 return tmpFractionMap;
204}
RecEmcIDVector::const_iterator ci_RecEmcIDVector

Referenced by operator<<(), EmcRecShowerPosLog::Position(), EmcRecShowerPosLoglin::Position(), and EmcRecShowerPosLogShMax::Position().

◆ getFractionMap3x3() [2/3]

RecEmcFractionMap RecEmcShower::getFractionMap3x3 ( ) const

◆ getFractionMap3x3() [3/3]

RecEmcFractionMap RecEmcShower::getFractionMap3x3 ( ) const

◆ getFractionMap5x5() [1/3]

RecEmcFractionMap RecEmcShower::getFractionMap5x5 ( ) const

Definition at line 206 of file RecEmcShower.cxx.

206 {
207 RecEmcFractionMap tmpFractionMap;
208 if ( fFractionMap.empty() ) return tmpFractionMap;
209
210 RecEmcFractionMap::const_iterator pFractionMap;
211 ci_RecEmcIDVector pNearCell;
212
213 for ( pFractionMap = fFractionMap.begin(); pFractionMap != fFractionMap.end();
214 pFractionMap++ )
215 {
216 for ( pNearCell = fCellId5x5.begin(); pNearCell != fCellId5x5.end(); pNearCell++ )
217 {
218 if ( pFractionMap->second.getCellId() == *pNearCell )
219 {
220 RecEmcFraction aFraction = pFractionMap->second;
221 tmpFractionMap[aFraction.getCellId()] = aFraction;
222 }
223 }
224 }
225
226 return tmpFractionMap;
227}

Referenced by EmcRecShowerShape::A20Moment(), EmcRecShowerShape::A42Moment(), EmcSelBhaEvent::FillBhabha(), EmcRecShowerShape::LatMoment(), operator<<(), EmcRecShowerPosLog::Position(), EmcRecShowerPosLoglin::Position(), EmcRecShowerPosLogShMax::Position(), and EmcRecShowerShape::SecondMoment().

◆ getFractionMap5x5() [2/3]

RecEmcFractionMap RecEmcShower::getFractionMap5x5 ( ) const

◆ getFractionMap5x5() [3/3]

RecEmcFractionMap RecEmcShower::getFractionMap5x5 ( ) const

◆ getShowerId() [1/3]

◆ getShowerId() [2/3]

RecEmcID RecEmcShower::getShowerId ( ) const
inline

◆ getShowerId() [3/3]

RecEmcID RecEmcShower::getShowerId ( ) const
inline

◆ getSize() [1/3]

unsigned int RecEmcShower::getSize ( ) const

Definition at line 167 of file RecEmcShower.cxx.

167{ return fFractionMap.size(); }

Referenced by EmcRecShowerEnergy::Energy(), and operator<<().

◆ getSize() [2/3]

unsigned int RecEmcShower::getSize ( ) const

◆ getSize() [3/3]

unsigned int RecEmcShower::getSize ( ) const

◆ Insert() [1/3]

void RecEmcShower::Insert ( const RecEmcFraction & aFraction)

Definition at line 122 of file RecEmcShower.cxx.

122 {
123 fFractionMap[aFraction.getCellId()] = aFraction;
124 return;
125}

Referenced by EmcRecSplitWeighted::Split(), and RecEmcShowerCnv::TObjectToDataObject().

◆ Insert() [2/3]

void RecEmcShower::Insert ( const RecEmcFraction & aFraction)

◆ Insert() [3/3]

void RecEmcShower::Insert ( const RecEmcFraction & aFraction)

◆ NearestSeed() [1/6]

RecEmcID RecEmcShower::NearestSeed ( ) const

Definition at line 236 of file RecEmcShower.cxx.

236{ return fNearestSeed; }

Referenced by EmcRec::execute().

◆ NearestSeed() [2/6]

RecEmcID RecEmcShower::NearestSeed ( ) const

◆ NearestSeed() [3/6]

RecEmcID RecEmcShower::NearestSeed ( ) const

◆ NearestSeed() [4/6]

RecEmcID RecEmcShower::NearestSeed ( const RecEmcID & ns)

Definition at line 238 of file RecEmcShower.cxx.

238{ return fNearestSeed = ns; }
#define ns(x)
Definition xmltok.c:1355

◆ NearestSeed() [5/6]

RecEmcID RecEmcShower::NearestSeed ( const RecEmcID & ns)

◆ NearestSeed() [6/6]

RecEmcID RecEmcShower::NearestSeed ( const RecEmcID & ns)

◆ operator<() [1/3]

bool RecEmcShower::operator< ( const RecEmcShower & aShower) const
inline

◆ operator<() [2/3]

bool RecEmcShower::operator< ( const RecEmcShower & aShower) const
inline

Definition at line 36 of file InstallArea/x86_64-el9-gcc13-dbg/include/EmcRecEventModel/RecEmcShower.h.

36{ return energy() < aShower.energy(); }

◆ operator<() [3/3]

bool RecEmcShower::operator< ( const RecEmcShower & aShower) const
inline

Definition at line 36 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcRecEventModel/RecEmcShower.h.

36{ return energy() < aShower.energy(); }

◆ operator=() [1/3]

RecEmcShower & RecEmcShower::operator= ( const DstEmcShower & aShower)

Definition at line 24 of file RecEmcShower.cxx.

24 {
25 Clear();
26 DstEmcShower::operator=( aShower );
27 fShowerId = RecEmcID( aShower.cellId() );
28 return *this;
29}

◆ operator=() [2/3]

RecEmcShower & RecEmcShower::operator= ( const DstEmcShower & aShower)

◆ operator=() [3/3]

RecEmcShower & RecEmcShower::operator= ( const DstEmcShower & aShower)

◆ operator>() [1/3]

bool RecEmcShower::operator> ( const RecEmcShower & aShower) const
inline

Definition at line 38 of file Emc/EmcRecEventModel/include/EmcRecEventModel/RecEmcShower.h.

38{ return energy() > aShower.energy(); }

◆ operator>() [2/3]

bool RecEmcShower::operator> ( const RecEmcShower & aShower) const
inline

Definition at line 38 of file InstallArea/x86_64-el9-gcc13-dbg/include/EmcRecEventModel/RecEmcShower.h.

38{ return energy() > aShower.energy(); }

◆ operator>() [3/3]

bool RecEmcShower::operator> ( const RecEmcShower & aShower) const
inline

Definition at line 38 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcRecEventModel/RecEmcShower.h.

38{ return energy() > aShower.energy(); }

◆ PhiGap() [1/6]

int RecEmcShower::PhiGap ( ) const

Definition at line 244 of file RecEmcShower.cxx.

244{ return fPhiGap; }

Referenced by EmcRec::execute(), PhiGap(), and EmcRecSplitWeighted::Split().

◆ PhiGap() [2/6]

int RecEmcShower::PhiGap ( ) const

◆ PhiGap() [3/6]

int RecEmcShower::PhiGap ( ) const

◆ PhiGap() [4/6]

int RecEmcShower::PhiGap ( int PhiGap)

Definition at line 246 of file RecEmcShower.cxx.

246{ return fPhiGap = PhiGap; }
int PhiGap() const

◆ PhiGap() [5/6]

int RecEmcShower::PhiGap ( int PhiGap)

◆ PhiGap() [6/6]

int RecEmcShower::PhiGap ( int PhiGap)

◆ ShowerId() [1/3]

RecEmcID RecEmcShower::ShowerId ( RecEmcID id)

◆ ShowerId() [2/3]

RecEmcID RecEmcShower::ShowerId ( RecEmcID id)

◆ ShowerId() [3/3]

RecEmcID RecEmcShower::ShowerId ( RecEmcID id)

◆ ThetaGap() [1/6]

int RecEmcShower::ThetaGap ( ) const

Definition at line 240 of file RecEmcShower.cxx.

240{ return fThetaGap; }

Referenced by EmcRec::execute(), EmcRecSplitWeighted::Split(), and ThetaGap().

◆ ThetaGap() [2/6]

int RecEmcShower::ThetaGap ( ) const

◆ ThetaGap() [3/6]

int RecEmcShower::ThetaGap ( ) const

◆ ThetaGap() [4/6]

int RecEmcShower::ThetaGap ( int ThetaGap)

Definition at line 242 of file RecEmcShower.cxx.

242{ return fThetaGap = ThetaGap; }
int ThetaGap() const

◆ ThetaGap() [5/6]

int RecEmcShower::ThetaGap ( int ThetaGap)

◆ ThetaGap() [6/6]

int RecEmcShower::ThetaGap ( int ThetaGap)

◆ TofShower() [1/6]

bool RecEmcShower::TofShower ( ) const
inline

◆ TofShower() [2/6]

bool RecEmcShower::TofShower ( ) const
inline

◆ TofShower() [3/6]

bool RecEmcShower::TofShower ( ) const
inline

◆ TofShower() [4/6]

void RecEmcShower::TofShower ( bool tof)
inline

◆ TofShower() [5/6]

void RecEmcShower::TofShower ( bool tof)
inline

◆ TofShower() [6/6]

void RecEmcShower::TofShower ( bool tof)
inline

Member Data Documentation

◆ fCellId3x3

RecEmcIDVector RecEmcShower::fCellId3x3
protected

◆ fCellId5x5

RecEmcIDVector RecEmcShower::fCellId5x5
protected

◆ fCluster

RecEmcCluster * RecEmcShower::fCluster
protected

◆ fClusterId

RecEmcID RecEmcShower::fClusterId
protected

◆ fEAll

RecEmcEnergy RecEmcShower::fEAll
protected

◆ fELepton

RecEmcEnergy RecEmcShower::fELepton
protected

◆ fETof2x1

RecEmcEnergy RecEmcShower::fETof2x1
protected

◆ fETof2x3

RecEmcEnergy RecEmcShower::fETof2x3
protected

◆ fFractionMap

◆ fNearestSeed

RecEmcID RecEmcShower::fNearestSeed
protected

◆ fPhiGap

int RecEmcShower::fPhiGap
protected

◆ fShowerId

RecEmcID RecEmcShower::fShowerId
protected

◆ fThetaGap

int RecEmcShower::fThetaGap
protected

◆ fTofShower

bool RecEmcShower::fTofShower
protected

The documentation for this class was generated from the following files: