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

#include <EventNavigator.h>

Inheritance diagram for EventNavigator:

Public Member Functions

 EventNavigator ()
virtual ~EventNavigator ()
virtual const CLID & clID () const
 Retrieve reference to class definition structure.
void Print ()
void setMdcCut (int cut)
const Event::McParticlegetMcParticle (int id)
const RecMdcTrackgetMdcTrack (int id)
const RecMdcKalTrackgetMdcKalTrack (int id)
MdcMcHitVector getMdcMcHits (int id)
const RecMdcHitgetMdcRecHit (int id)
const MdcDigigetMdcDigi (int id)
RecEmcShowerVector getEmcRecShowers (int id)
EmcMcHitVector getEmcMcHits (int id)
IndexMapgetMcMdcMcHitsIdx ()
IndexMapgetMcMdcTracksIdx ()
IndexMapgetMcEmcMcHitsIdx ()
IndexMapgetMcEmcRecShowersIdx ()
void setMcMdcMcHitsIdx (IndexMap &map)
void setMcMdcTracksIdx (IndexMap &map)
void setMcEmcMcHitsIdx (IndexMap &map)
void setMcEmcRecShowersIdx (IndexMap &map)
McParticleVectorgetMcParticles (const RecMdcTrack *key)
McParticleVectorgetMcParticles (const RecMdcKalTrack *key)
McParticleVectorgetMcParticles (const RecEmcShower *key)
int getMcParticleRelevance (const RecMdcTrack *key, const Event::McParticle *value)
int getMcParticleRelevance (const RecMdcKalTrack *key, const Event::McParticle *value)
int getMcParticleRelevance (const RecEmcShower *key, const Event::McParticle *value)
RecMdcTrackVectorgetMdcTracks (const Event::McParticle *key)
RecMdcKalTrackVectorgetMdcKalTracks (const Event::McParticle *key)
RecEmcShowerVectorgetEmcRecShowers (const Event::McParticle *key)
 EventNavigator ()
virtual ~EventNavigator ()
virtual const CLID & clID () const
 Retrieve reference to class definition structure.
void Print ()
void setMdcCut (int cut)
const Event::McParticlegetMcParticle (int id)
const RecMdcTrackgetMdcTrack (int id)
const RecMdcKalTrackgetMdcKalTrack (int id)
MdcMcHitVector getMdcMcHits (int id)
const RecMdcHitgetMdcRecHit (int id)
const MdcDigigetMdcDigi (int id)
RecEmcShowerVector getEmcRecShowers (int id)
EmcMcHitVector getEmcMcHits (int id)
IndexMapgetMcMdcMcHitsIdx ()
IndexMapgetMcMdcTracksIdx ()
IndexMapgetMcEmcMcHitsIdx ()
IndexMapgetMcEmcRecShowersIdx ()
void setMcMdcMcHitsIdx (IndexMap &map)
void setMcMdcTracksIdx (IndexMap &map)
void setMcEmcMcHitsIdx (IndexMap &map)
void setMcEmcRecShowersIdx (IndexMap &map)
McParticleVectorgetMcParticles (const RecMdcTrack *key)
McParticleVectorgetMcParticles (const RecMdcKalTrack *key)
McParticleVectorgetMcParticles (const RecEmcShower *key)
int getMcParticleRelevance (const RecMdcTrack *key, const Event::McParticle *value)
int getMcParticleRelevance (const RecMdcKalTrack *key, const Event::McParticle *value)
int getMcParticleRelevance (const RecEmcShower *key, const Event::McParticle *value)
RecMdcTrackVectorgetMdcTracks (const Event::McParticle *key)
RecMdcKalTrackVectorgetMdcKalTracks (const Event::McParticle *key)
RecEmcShowerVectorgetEmcRecShowers (const Event::McParticle *key)
 EventNavigator ()
virtual ~EventNavigator ()
virtual const CLID & clID () const
 Retrieve reference to class definition structure.
void Print ()
void setMdcCut (int cut)
const Event::McParticlegetMcParticle (int id)
const RecMdcTrackgetMdcTrack (int id)
const RecMdcKalTrackgetMdcKalTrack (int id)
MdcMcHitVector getMdcMcHits (int id)
const RecMdcHitgetMdcRecHit (int id)
const MdcDigigetMdcDigi (int id)
RecEmcShowerVector getEmcRecShowers (int id)
EmcMcHitVector getEmcMcHits (int id)
IndexMapgetMcMdcMcHitsIdx ()
IndexMapgetMcMdcTracksIdx ()
IndexMapgetMcEmcMcHitsIdx ()
IndexMapgetMcEmcRecShowersIdx ()
void setMcMdcMcHitsIdx (IndexMap &map)
void setMcMdcTracksIdx (IndexMap &map)
void setMcEmcMcHitsIdx (IndexMap &map)
void setMcEmcRecShowersIdx (IndexMap &map)
McParticleVectorgetMcParticles (const RecMdcTrack *key)
McParticleVectorgetMcParticles (const RecMdcKalTrack *key)
McParticleVectorgetMcParticles (const RecEmcShower *key)
int getMcParticleRelevance (const RecMdcTrack *key, const Event::McParticle *value)
int getMcParticleRelevance (const RecMdcKalTrack *key, const Event::McParticle *value)
int getMcParticleRelevance (const RecEmcShower *key, const Event::McParticle *value)
RecMdcTrackVectorgetMdcTracks (const Event::McParticle *key)
RecMdcKalTrackVectorgetMdcKalTracks (const Event::McParticle *key)
RecEmcShowerVectorgetEmcRecShowers (const Event::McParticle *key)

Static Public Member Functions

static const CLID & classID ()
static const CLID & classID ()
static const CLID & classID ()

Protected Member Functions

void addIdLink (int id, Event::McParticle *ptr)
void addIdLink (int id, RecMdcTrack *ptr)
void addIdLink (int id, RecMdcKalTrack *ptr)
void addIdLink (unsigned int id, RecEmcShower *ptr)
void addLink (const Event::McParticle *key, const RecMdcTrack *value)
void addLink (const RecMdcTrack *key, const Event::McParticle *value)
void addLink (const Event::McParticle *key, const RecMdcKalTrack *value)
void addLink (const RecMdcKalTrack *key, const Event::McParticle *value)
void addLink (const RecEmcShower *key, const Event::McParticle *value)
void addLink (const Event::McParticle *key, const RecEmcShower *value)
void addIdLink (int id, Event::McParticle *ptr)
void addIdLink (int id, RecMdcTrack *ptr)
void addIdLink (int id, RecMdcKalTrack *ptr)
void addIdLink (unsigned int id, RecEmcShower *ptr)
void addLink (const Event::McParticle *key, const RecMdcTrack *value)
void addLink (const RecMdcTrack *key, const Event::McParticle *value)
void addLink (const Event::McParticle *key, const RecMdcKalTrack *value)
void addLink (const RecMdcKalTrack *key, const Event::McParticle *value)
void addLink (const RecEmcShower *key, const Event::McParticle *value)
void addLink (const Event::McParticle *key, const RecEmcShower *value)
void addIdLink (int id, Event::McParticle *ptr)
void addIdLink (int id, RecMdcTrack *ptr)
void addIdLink (int id, RecMdcKalTrack *ptr)
void addIdLink (unsigned int id, RecEmcShower *ptr)
void addLink (const Event::McParticle *key, const RecMdcTrack *value)
void addLink (const RecMdcTrack *key, const Event::McParticle *value)
void addLink (const Event::McParticle *key, const RecMdcKalTrack *value)
void addLink (const RecMdcKalTrack *key, const Event::McParticle *value)
void addLink (const RecEmcShower *key, const Event::McParticle *value)
void addLink (const Event::McParticle *key, const RecEmcShower *value)

Friends

class BesNavigatorInit

Detailed Description

Constructor & Destructor Documentation

◆ EventNavigator() [1/3]

EventNavigator::EventNavigator ( )
inline

Definition at line 75 of file Event/EventNavigator/include/EventNavigator/EventNavigator.h.

75: DataObject() { m_mdcCut = 7; }

◆ ~EventNavigator() [1/3]

virtual EventNavigator::~EventNavigator ( )
inlinevirtual

◆ EventNavigator() [2/3]

EventNavigator::EventNavigator ( )
inline

Definition at line 75 of file InstallArea/x86_64-el9-gcc13-dbg/include/EventNavigator/EventNavigator.h.

75: DataObject() { m_mdcCut = 7; }

◆ ~EventNavigator() [2/3]

virtual EventNavigator::~EventNavigator ( )
inlinevirtual

◆ EventNavigator() [3/3]

EventNavigator::EventNavigator ( )
inline

Definition at line 75 of file InstallArea/x86_64-el9-gcc13-opt/include/EventNavigator/EventNavigator.h.

75: DataObject() { m_mdcCut = 7; }

◆ ~EventNavigator() [3/3]

virtual EventNavigator::~EventNavigator ( )
inlinevirtual

Member Function Documentation

◆ addIdLink() [1/12]

void EventNavigator::addIdLink ( int id,
Event::McParticle * ptr )
inlineprotected

Definition at line 145 of file Event/EventNavigator/include/EventNavigator/EventNavigator.h.

145{ m_mcParticleId[id] = ptr; };

◆ addIdLink() [2/12]

void EventNavigator::addIdLink ( int id,
Event::McParticle * ptr )
inlineprotected

Definition at line 145 of file InstallArea/x86_64-el9-gcc13-dbg/include/EventNavigator/EventNavigator.h.

145{ m_mcParticleId[id] = ptr; };

◆ addIdLink() [3/12]

void EventNavigator::addIdLink ( int id,
Event::McParticle * ptr )
inlineprotected

Definition at line 145 of file InstallArea/x86_64-el9-gcc13-opt/include/EventNavigator/EventNavigator.h.

145{ m_mcParticleId[id] = ptr; };

◆ addIdLink() [4/12]

void EventNavigator::addIdLink ( int id,
RecMdcKalTrack * ptr )
inlineprotected

Definition at line 150 of file Event/EventNavigator/include/EventNavigator/EventNavigator.h.

150{ m_mdcKalTrackId[id] = ptr; };

◆ addIdLink() [5/12]

void EventNavigator::addIdLink ( int id,
RecMdcKalTrack * ptr )
inlineprotected

Definition at line 150 of file InstallArea/x86_64-el9-gcc13-dbg/include/EventNavigator/EventNavigator.h.

150{ m_mdcKalTrackId[id] = ptr; };

◆ addIdLink() [6/12]

void EventNavigator::addIdLink ( int id,
RecMdcKalTrack * ptr )
inlineprotected

Definition at line 150 of file InstallArea/x86_64-el9-gcc13-opt/include/EventNavigator/EventNavigator.h.

150{ m_mdcKalTrackId[id] = ptr; };

◆ addIdLink() [7/12]

void EventNavigator::addIdLink ( int id,
RecMdcTrack * ptr )
inlineprotected

Definition at line 148 of file Event/EventNavigator/include/EventNavigator/EventNavigator.h.

148{ m_mdcTrackId[id] = ptr; };

◆ addIdLink() [8/12]

void EventNavigator::addIdLink ( int id,
RecMdcTrack * ptr )
inlineprotected

Definition at line 148 of file InstallArea/x86_64-el9-gcc13-dbg/include/EventNavigator/EventNavigator.h.

148{ m_mdcTrackId[id] = ptr; };

◆ addIdLink() [9/12]

void EventNavigator::addIdLink ( int id,
RecMdcTrack * ptr )
inlineprotected

Definition at line 148 of file InstallArea/x86_64-el9-gcc13-opt/include/EventNavigator/EventNavigator.h.

148{ m_mdcTrackId[id] = ptr; };

◆ addIdLink() [10/12]

void EventNavigator::addIdLink ( unsigned int id,
RecEmcShower * ptr )
inlineprotected

Definition at line 152 of file Event/EventNavigator/include/EventNavigator/EventNavigator.h.

152 {
153 m_emcRecShowerId.insert( pair<int, RecEmcShower*>( id, ptr ) );
154 };

◆ addIdLink() [11/12]

void EventNavigator::addIdLink ( unsigned int id,
RecEmcShower * ptr )
inlineprotected

Definition at line 152 of file InstallArea/x86_64-el9-gcc13-dbg/include/EventNavigator/EventNavigator.h.

152 {
153 m_emcRecShowerId.insert( pair<int, RecEmcShower*>( id, ptr ) );
154 };

◆ addIdLink() [12/12]

void EventNavigator::addIdLink ( unsigned int id,
RecEmcShower * ptr )
inlineprotected

Definition at line 152 of file InstallArea/x86_64-el9-gcc13-opt/include/EventNavigator/EventNavigator.h.

152 {
153 m_emcRecShowerId.insert( pair<int, RecEmcShower*>( id, ptr ) );
154 };

◆ addLink() [1/18]

void EventNavigator::addLink ( const Event::McParticle * key,
const RecEmcShower * value )
protected

Definition at line 252 of file EventNavigator.cxx.

252 {
253 // RecEmcShowerVector& tmp = m_emcRecShowersWrtMcParticle[key->trackIndex()];
254 // if (find(tmp.begin(),tmp.end(),value) == tmp.end() )
255 // tmp.push_back(value);
256 RecEmcShowerVectorP& vpair = m_emcRecShowersWrtMcParticleP[key->trackIndex()];
257 RecEmcShowerVectorP::iterator it;
258 bool found = false;
259 for ( it = vpair.begin(); it != vpair.end(); it++ )
260 {
261 if ( ( *it ).first == value )
262 {
263 ( *it ).second++;
264 found = true;
265 break;
266 }
267 }
268
269 if ( !found ) vpair.push_back( pair<const RecEmcShower*, int>( value, 1 ) );
270
271 RecEmcShowerVector& tmp = m_emcRecShowersWrtMcParticle[key->trackIndex()];
272 for ( it = vpair.begin(); it != vpair.end(); it++ )
273 {
274 if ( find( tmp.begin(), tmp.end(), ( *it ).first ) == tmp.end() )
275 { tmp.push_back( ( *it ).first ); }
276 }
277}
std::vector< const RecEmcShower * > RecEmcShowerVector
std::vector< pair< const RecEmcShower *, int > > RecEmcShowerVectorP
*************DOUBLE PRECISION m_pi *DOUBLE PRECISION m_HvecTau2 DOUBLE PRECISION m_HvClone2 DOUBLE PRECISION m_gamma1 DOUBLE PRECISION m_gamma2 DOUBLE PRECISION m_thet1 DOUBLE PRECISION m_thet2 INTEGER m_IFPHOT *COMMON c_Taupair $ !Spin Polarimeter vector first Tau $ !Spin Polarimeter vector second Tau $ !Clone Spin Polarimeter vector first Tau $ !Clone Spin Polarimeter vector second Tau $ !Random Euler angle for cloning st tau $ !Random Euler angle for cloning st tau $ !Random Euler angle for cloning st tau $ !Random Euler angle for cloning nd tau $ !Random Euler angle for cloning nd tau $ !Random Euler angle for cloning nd tau $ !phi of HvecTau1 $ !theta of HvecTau1 $ !phi of HvecTau2 $ !theta of HvecTau2 $ !super key
Definition Taupair.h:42

◆ addLink() [2/18]

void EventNavigator::addLink ( const Event::McParticle * key,
const RecEmcShower * value )
protected

◆ addLink() [3/18]

void EventNavigator::addLink ( const Event::McParticle * key,
const RecEmcShower * value )
protected

◆ addLink() [4/18]

void EventNavigator::addLink ( const Event::McParticle * key,
const RecMdcKalTrack * value )
protected

Definition at line 136 of file EventNavigator.cxx.

136 {
137 RecMdcKalTrackVectorP& vpair = m_mdcKalTracksWrtMcParticleP[key->trackIndex()];
138 RecMdcKalTrackVectorP::iterator it;
139 bool found = false;
140 for ( it = vpair.begin(); it != vpair.end(); it++ )
141 {
142 if ( ( *it ).first == value )
143 {
144 ( *it ).second++;
145 found = true;
146 break;
147 }
148 }
149
150 if ( !found ) vpair.push_back( pair<const RecMdcKalTrack*, int>( value, 1 ) );
151
152 RecMdcKalTrackVector& tmp = m_mdcKalTracksWrtMcParticle[key->trackIndex()];
153 for ( it = vpair.begin(); it != vpair.end(); it++ )
154 {
155 if ( ( *it ).second > m_mdcCut )
156 {
157 if ( find( tmp.begin(), tmp.end(), ( *it ).first ) == tmp.end() )
158 { tmp.push_back( ( *it ).first ); }
159 }
160 }
161}
std::vector< const RecMdcKalTrack * > RecMdcKalTrackVector
std::vector< pair< const RecMdcKalTrack *, int > > RecMdcKalTrackVectorP

◆ addLink() [5/18]

void EventNavigator::addLink ( const Event::McParticle * key,
const RecMdcKalTrack * value )
protected

◆ addLink() [6/18]

void EventNavigator::addLink ( const Event::McParticle * key,
const RecMdcKalTrack * value )
protected

◆ addLink() [7/18]

void EventNavigator::addLink ( const Event::McParticle * key,
const RecMdcTrack * value )
protected

Definition at line 108 of file EventNavigator.cxx.

108 {
109 RecMdcTrackVectorP& vpair = m_mdcTracksWrtMcParticleP[key->trackIndex()];
110 RecMdcTrackVectorP::iterator it;
111 bool found = false;
112 for ( it = vpair.begin(); it != vpair.end(); it++ )
113 {
114 if ( ( *it ).first == value )
115 {
116 ( *it ).second++;
117 found = true;
118 break;
119 }
120 }
121
122 if ( !found ) vpair.push_back( pair<const RecMdcTrack*, int>( value, 1 ) );
123
124 RecMdcTrackVector& tmp = m_mdcTracksWrtMcParticle[key->trackIndex()];
125 for ( it = vpair.begin(); it != vpair.end(); it++ )
126 {
127 if ( ( *it ).second > m_mdcCut )
128 {
129 if ( find( tmp.begin(), tmp.end(), ( *it ).first ) == tmp.end() )
130 { tmp.push_back( ( *it ).first ); }
131 }
132 }
133}
std::vector< const RecMdcTrack * > RecMdcTrackVector
std::vector< pair< const RecMdcTrack *, int > > RecMdcTrackVectorP

◆ addLink() [8/18]

void EventNavigator::addLink ( const Event::McParticle * key,
const RecMdcTrack * value )
protected

◆ addLink() [9/18]

void EventNavigator::addLink ( const Event::McParticle * key,
const RecMdcTrack * value )
protected

◆ addLink() [10/18]

void EventNavigator::addLink ( const RecEmcShower * key,
const Event::McParticle * value )
protected

Definition at line 220 of file EventNavigator.cxx.

220 {
221 // McParticleVector& tmp =
222 // m_mcParticlesWrtRecShower[((RecEmcShower*)key)->getShowerId().get_value()]; if
223 // (find(tmp.begin(),tmp.end(),value) == tmp.end() )
224 // tmp.push_back(value);
225
226 McParticleVectorP& vpair =
227 m_mcParticlesWrtRecEmcShowerP[( (RecEmcShower*)key )->getShowerId().get_value()];
228 McParticleVectorP::iterator it;
229 bool found = false;
230 for ( it = vpair.begin(); it != vpair.end(); it++ )
231 {
232 if ( ( *it ).first == value )
233 {
234 ( *it ).second++;
235 found = true;
236 break;
237 }
238 }
239
240 if ( !found ) vpair.push_back( pair<const McParticle*, int>( value, 1 ) );
241
242 McParticleVector& tmp =
243 m_mcParticlesWrtRecShower[( (RecEmcShower*)key )->getShowerId().get_value()];
244 for ( it = vpair.begin(); it != vpair.end(); it++ )
245 {
246 if ( find( tmp.begin(), tmp.end(), ( *it ).first ) == tmp.end() )
247 { tmp.push_back( ( *it ).first ); }
248 }
249}
std::vector< const Event::McParticle * > McParticleVector
std::vector< pair< const Event::McParticle *, int > > McParticleVectorP

◆ addLink() [11/18]

void EventNavigator::addLink ( const RecEmcShower * key,
const Event::McParticle * value )
protected

◆ addLink() [12/18]

void EventNavigator::addLink ( const RecEmcShower * key,
const Event::McParticle * value )
protected

◆ addLink() [13/18]

void EventNavigator::addLink ( const RecMdcKalTrack * key,
const Event::McParticle * value )
protected

Definition at line 192 of file EventNavigator.cxx.

192 {
193 McParticleVectorP& vpair = m_mcParticlesWrtMdcKalTrackP[key->trackId()];
194 McParticleVectorP::iterator it;
195 bool found = false;
196 for ( it = vpair.begin(); it != vpair.end(); it++ )
197 {
198 if ( ( *it ).first == value )
199 {
200 ( *it ).second++;
201 found = true;
202 break;
203 }
204 }
205
206 if ( !found ) vpair.push_back( pair<const McParticle*, int>( value, 1 ) );
207
208 McParticleVector& tmp = m_mcParticlesWrtMdcKalTrack[key->trackId()];
209 for ( it = vpair.begin(); it != vpair.end(); it++ )
210 {
211 if ( ( *it ).second > m_mdcCut )
212 {
213 if ( find( tmp.begin(), tmp.end(), ( *it ).first ) == tmp.end() )
214 { tmp.push_back( ( *it ).first ); }
215 }
216 }
217}

◆ addLink() [14/18]

void EventNavigator::addLink ( const RecMdcKalTrack * key,
const Event::McParticle * value )
protected

◆ addLink() [15/18]

void EventNavigator::addLink ( const RecMdcKalTrack * key,
const Event::McParticle * value )
protected

◆ addLink() [16/18]

void EventNavigator::addLink ( const RecMdcTrack * key,
const Event::McParticle * value )
protected

Definition at line 164 of file EventNavigator.cxx.

164 {
165 McParticleVectorP& vpair = m_mcParticlesWrtMdcTrackP[key->trackId()];
166 McParticleVectorP::iterator it;
167 bool found = false;
168 for ( it = vpair.begin(); it != vpair.end(); it++ )
169 {
170 if ( ( *it ).first == value )
171 {
172 ( *it ).second++;
173 found = true;
174 break;
175 }
176 }
177
178 if ( !found ) vpair.push_back( pair<const McParticle*, int>( value, 1 ) );
179
180 McParticleVector& tmp = m_mcParticlesWrtMdcTrack[key->trackId()];
181 for ( it = vpair.begin(); it != vpair.end(); it++ )
182 {
183 if ( ( *it ).second > m_mdcCut )
184 {
185 if ( find( tmp.begin(), tmp.end(), ( *it ).first ) == tmp.end() )
186 { tmp.push_back( ( *it ).first ); }
187 }
188 }
189}

◆ addLink() [17/18]

void EventNavigator::addLink ( const RecMdcTrack * key,
const Event::McParticle * value )
protected

◆ addLink() [18/18]

void EventNavigator::addLink ( const RecMdcTrack * key,
const Event::McParticle * value )
protected

◆ classID() [1/3]

const CLID & EventNavigator::classID ( )
inlinestatic

Definition at line 81 of file Event/EventNavigator/include/EventNavigator/EventNavigator.h.

81{ return CLID_EventNavigator; }
const CLID CLID_EventNavigator

Referenced by clID().

◆ classID() [2/3]

const CLID & EventNavigator::classID ( )
inlinestatic

◆ classID() [3/3]

const CLID & EventNavigator::classID ( )
inlinestatic

◆ clID() [1/3]

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

Retrieve reference to class definition structure.

Definition at line 80 of file Event/EventNavigator/include/EventNavigator/EventNavigator.h.

◆ clID() [2/3]

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

Retrieve reference to class definition structure.

Definition at line 80 of file InstallArea/x86_64-el9-gcc13-dbg/include/EventNavigator/EventNavigator.h.

80{ return EventNavigator::classID(); }

◆ clID() [3/3]

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

Retrieve reference to class definition structure.

Definition at line 80 of file InstallArea/x86_64-el9-gcc13-opt/include/EventNavigator/EventNavigator.h.

80{ return EventNavigator::classID(); }

◆ getEmcMcHits() [1/3]

EmcMcHitVector EventNavigator::getEmcMcHits ( int id)

◆ getEmcMcHits() [2/3]

EmcMcHitVector EventNavigator::getEmcMcHits ( int id)

◆ getEmcMcHits() [3/3]

EmcMcHitVector EventNavigator::getEmcMcHits ( int id)

◆ getEmcRecShowers() [1/6]

RecEmcShowerVector & EventNavigator::getEmcRecShowers ( const Event::McParticle * key)

Definition at line 102 of file EventNavigator.cxx.

102 {
103 return m_emcRecShowersWrtMcParticle[key->trackIndex()];
104}

◆ getEmcRecShowers() [2/6]

RecEmcShowerVector & EventNavigator::getEmcRecShowers ( const Event::McParticle * key)

◆ getEmcRecShowers() [3/6]

RecEmcShowerVector & EventNavigator::getEmcRecShowers ( const Event::McParticle * key)

◆ getEmcRecShowers() [4/6]

RecEmcShowerVector EventNavigator::getEmcRecShowers ( int id)

Definition at line 10 of file EventNavigator.cxx.

10 {
12 multimap<unsigned int, const RecEmcShower*>::iterator it;
13 for ( it = m_emcRecShowerId.equal_range( id ).first;
14 it != m_emcRecShowerId.equal_range( id ).second; it++ )
15 tmp.push_back( ( *it ).second );
16 return tmp;
17}

◆ getEmcRecShowers() [5/6]

RecEmcShowerVector EventNavigator::getEmcRecShowers ( int id)

◆ getEmcRecShowers() [6/6]

RecEmcShowerVector EventNavigator::getEmcRecShowers ( int id)

◆ getMcEmcMcHitsIdx() [1/3]

IndexMap & EventNavigator::getMcEmcMcHitsIdx ( )
inline

Definition at line 107 of file Event/EventNavigator/include/EventNavigator/EventNavigator.h.

107{ return m_mcEmcMcHitsIdx; }

Referenced by EvtNavigatorCnv::DataObjectToTObject().

◆ getMcEmcMcHitsIdx() [2/3]

IndexMap & EventNavigator::getMcEmcMcHitsIdx ( )
inline

Definition at line 107 of file InstallArea/x86_64-el9-gcc13-dbg/include/EventNavigator/EventNavigator.h.

107{ return m_mcEmcMcHitsIdx; }

◆ getMcEmcMcHitsIdx() [3/3]

IndexMap & EventNavigator::getMcEmcMcHitsIdx ( )
inline

Definition at line 107 of file InstallArea/x86_64-el9-gcc13-opt/include/EventNavigator/EventNavigator.h.

107{ return m_mcEmcMcHitsIdx; }

◆ getMcEmcRecShowersIdx() [1/3]

IndexMap & EventNavigator::getMcEmcRecShowersIdx ( )
inline

Definition at line 108 of file Event/EventNavigator/include/EventNavigator/EventNavigator.h.

108{ return m_mcEmcRecShowersIdx; }

Referenced by EvtNavigatorCnv::DataObjectToTObject().

◆ getMcEmcRecShowersIdx() [2/3]

IndexMap & EventNavigator::getMcEmcRecShowersIdx ( )
inline

Definition at line 108 of file InstallArea/x86_64-el9-gcc13-dbg/include/EventNavigator/EventNavigator.h.

108{ return m_mcEmcRecShowersIdx; }

◆ getMcEmcRecShowersIdx() [3/3]

IndexMap & EventNavigator::getMcEmcRecShowersIdx ( )
inline

Definition at line 108 of file InstallArea/x86_64-el9-gcc13-opt/include/EventNavigator/EventNavigator.h.

108{ return m_mcEmcRecShowersIdx; }

◆ getMcMdcMcHitsIdx() [1/3]

IndexMap & EventNavigator::getMcMdcMcHitsIdx ( )
inline

Definition at line 105 of file Event/EventNavigator/include/EventNavigator/EventNavigator.h.

105{ return m_mcMdcMcHitsIdx; }

Referenced by EvtNavigatorCnv::DataObjectToTObject().

◆ getMcMdcMcHitsIdx() [2/3]

IndexMap & EventNavigator::getMcMdcMcHitsIdx ( )
inline

Definition at line 105 of file InstallArea/x86_64-el9-gcc13-dbg/include/EventNavigator/EventNavigator.h.

105{ return m_mcMdcMcHitsIdx; }

◆ getMcMdcMcHitsIdx() [3/3]

IndexMap & EventNavigator::getMcMdcMcHitsIdx ( )
inline

Definition at line 105 of file InstallArea/x86_64-el9-gcc13-opt/include/EventNavigator/EventNavigator.h.

105{ return m_mcMdcMcHitsIdx; }

◆ getMcMdcTracksIdx() [1/3]

IndexMap & EventNavigator::getMcMdcTracksIdx ( )
inline

Definition at line 106 of file Event/EventNavigator/include/EventNavigator/EventNavigator.h.

106{ return m_mcMdcTracksIdx; }

Referenced by EvtNavigatorCnv::DataObjectToTObject().

◆ getMcMdcTracksIdx() [2/3]

IndexMap & EventNavigator::getMcMdcTracksIdx ( )
inline

Definition at line 106 of file InstallArea/x86_64-el9-gcc13-dbg/include/EventNavigator/EventNavigator.h.

106{ return m_mcMdcTracksIdx; }

◆ getMcMdcTracksIdx() [3/3]

IndexMap & EventNavigator::getMcMdcTracksIdx ( )
inline

Definition at line 106 of file InstallArea/x86_64-el9-gcc13-opt/include/EventNavigator/EventNavigator.h.

106{ return m_mcMdcTracksIdx; }

◆ getMcParticle() [1/3]

const Event::McParticle * EventNavigator::getMcParticle ( int id)
inline

Definition at line 90 of file Event/EventNavigator/include/EventNavigator/EventNavigator.h.

90{ return m_mcParticleId[id]; };

◆ getMcParticle() [2/3]

const Event::McParticle * EventNavigator::getMcParticle ( int id)
inline

Definition at line 90 of file InstallArea/x86_64-el9-gcc13-dbg/include/EventNavigator/EventNavigator.h.

90{ return m_mcParticleId[id]; };

◆ getMcParticle() [3/3]

const Event::McParticle * EventNavigator::getMcParticle ( int id)
inline

Definition at line 90 of file InstallArea/x86_64-el9-gcc13-opt/include/EventNavigator/EventNavigator.h.

90{ return m_mcParticleId[id]; };

◆ getMcParticleRelevance() [1/9]

int EventNavigator::getMcParticleRelevance ( const RecEmcShower * key,
const Event::McParticle * value )

Definition at line 89 of file EventNavigator.cxx.

90 {
91 McParticleVectorP& vpair = m_mcParticlesWrtRecEmcShowerP[key->getShowerId().get_value()];
92 McParticleVectorP::iterator it;
93 for ( it = vpair.begin(); it != vpair.end(); it++ )
94 {
95 if ( ( *it ).first == value ) { return ( *it ).second; }
96 }
97
98 std::cerr << __FILE__ << ":" << __LINE__ << " Should not reach here!" << std::endl;
99 exit( 1 );
100}

◆ getMcParticleRelevance() [2/9]

int EventNavigator::getMcParticleRelevance ( const RecEmcShower * key,
const Event::McParticle * value )

◆ getMcParticleRelevance() [3/9]

int EventNavigator::getMcParticleRelevance ( const RecEmcShower * key,
const Event::McParticle * value )

◆ getMcParticleRelevance() [4/9]

int EventNavigator::getMcParticleRelevance ( const RecMdcKalTrack * key,
const Event::McParticle * value )

Definition at line 76 of file EventNavigator.cxx.

77 {
78 McParticleVectorP& vpair = m_mcParticlesWrtMdcKalTrackP[key->trackId()];
79 McParticleVectorP::iterator it;
80 for ( it = vpair.begin(); it != vpair.end(); it++ )
81 {
82 if ( ( *it ).first == value ) { return ( *it ).second; }
83 }
84
85 std::cerr << __FILE__ << ":" << __LINE__ << " Should not reach here!" << std::endl;
86 exit( 1 );
87}

◆ getMcParticleRelevance() [5/9]

int EventNavigator::getMcParticleRelevance ( const RecMdcKalTrack * key,
const Event::McParticle * value )

◆ getMcParticleRelevance() [6/9]

int EventNavigator::getMcParticleRelevance ( const RecMdcKalTrack * key,
const Event::McParticle * value )

◆ getMcParticleRelevance() [7/9]

int EventNavigator::getMcParticleRelevance ( const RecMdcTrack * key,
const Event::McParticle * value )

Definition at line 64 of file EventNavigator.cxx.

64 {
65 McParticleVectorP& vpair = m_mcParticlesWrtMdcTrackP[key->trackId()];
66 McParticleVectorP::iterator it;
67 for ( it = vpair.begin(); it != vpair.end(); it++ )
68 {
69 if ( ( *it ).first == value ) { return ( *it ).second; }
70 }
71
72 std::cerr << __FILE__ << ":" << __LINE__ << " Should not reach here!" << std::endl;
73 exit( 1 );
74}

◆ getMcParticleRelevance() [8/9]

int EventNavigator::getMcParticleRelevance ( const RecMdcTrack * key,
const Event::McParticle * value )

◆ getMcParticleRelevance() [9/9]

int EventNavigator::getMcParticleRelevance ( const RecMdcTrack * key,
const Event::McParticle * value )

◆ getMcParticles() [1/9]

McParticleVector & EventNavigator::getMcParticles ( const RecEmcShower * key)

Definition at line 51 of file EventNavigator.cxx.

51 {
52 return m_mcParticlesWrtRecShower[key->getShowerId().get_value()];
53}

◆ getMcParticles() [2/9]

McParticleVector & EventNavigator::getMcParticles ( const RecEmcShower * key)

◆ getMcParticles() [3/9]

McParticleVector & EventNavigator::getMcParticles ( const RecEmcShower * key)

◆ getMcParticles() [4/9]

McParticleVector & EventNavigator::getMcParticles ( const RecMdcKalTrack * key)

Definition at line 47 of file EventNavigator.cxx.

47 {
48 return m_mcParticlesWrtMdcKalTrack[key->trackId()];
49}

◆ getMcParticles() [5/9]

McParticleVector & EventNavigator::getMcParticles ( const RecMdcKalTrack * key)

◆ getMcParticles() [6/9]

McParticleVector & EventNavigator::getMcParticles ( const RecMdcKalTrack * key)

◆ getMcParticles() [7/9]

McParticleVector & EventNavigator::getMcParticles ( const RecMdcTrack * key)

Definition at line 43 of file EventNavigator.cxx.

43 {
44 return m_mcParticlesWrtMdcTrack[key->trackId()];
45}

◆ getMcParticles() [8/9]

McParticleVector & EventNavigator::getMcParticles ( const RecMdcTrack * key)

◆ getMcParticles() [9/9]

McParticleVector & EventNavigator::getMcParticles ( const RecMdcTrack * key)

◆ getMdcDigi() [1/3]

const MdcDigi * EventNavigator::getMdcDigi ( int id)
inline

Definition at line 99 of file Event/EventNavigator/include/EventNavigator/EventNavigator.h.

99{ return m_mdcDigiId[id]; };

◆ getMdcDigi() [2/3]

const MdcDigi * EventNavigator::getMdcDigi ( int id)
inline

Definition at line 99 of file InstallArea/x86_64-el9-gcc13-dbg/include/EventNavigator/EventNavigator.h.

99{ return m_mdcDigiId[id]; };

◆ getMdcDigi() [3/3]

const MdcDigi * EventNavigator::getMdcDigi ( int id)
inline

Definition at line 99 of file InstallArea/x86_64-el9-gcc13-opt/include/EventNavigator/EventNavigator.h.

99{ return m_mdcDigiId[id]; };

◆ getMdcKalTrack() [1/3]

const RecMdcKalTrack * EventNavigator::getMdcKalTrack ( int id)
inline

Definition at line 93 of file Event/EventNavigator/include/EventNavigator/EventNavigator.h.

93{ return m_mdcKalTrackId[id]; };

◆ getMdcKalTrack() [2/3]

const RecMdcKalTrack * EventNavigator::getMdcKalTrack ( int id)
inline

Definition at line 93 of file InstallArea/x86_64-el9-gcc13-dbg/include/EventNavigator/EventNavigator.h.

93{ return m_mdcKalTrackId[id]; };

◆ getMdcKalTrack() [3/3]

const RecMdcKalTrack * EventNavigator::getMdcKalTrack ( int id)
inline

Definition at line 93 of file InstallArea/x86_64-el9-gcc13-opt/include/EventNavigator/EventNavigator.h.

93{ return m_mdcKalTrackId[id]; };

◆ getMdcKalTracks() [1/3]

RecMdcKalTrackVector & EventNavigator::getMdcKalTracks ( const Event::McParticle * key)

Definition at line 59 of file EventNavigator.cxx.

59 {
60 return m_mdcKalTracksWrtMcParticle[key->trackIndex()];
61}

◆ getMdcKalTracks() [2/3]

RecMdcKalTrackVector & EventNavigator::getMdcKalTracks ( const Event::McParticle * key)

◆ getMdcKalTracks() [3/3]

RecMdcKalTrackVector & EventNavigator::getMdcKalTracks ( const Event::McParticle * key)

◆ getMdcMcHits() [1/3]

MdcMcHitVector EventNavigator::getMdcMcHits ( int id)

◆ getMdcMcHits() [2/3]

MdcMcHitVector EventNavigator::getMdcMcHits ( int id)

◆ getMdcMcHits() [3/3]

MdcMcHitVector EventNavigator::getMdcMcHits ( int id)

◆ getMdcRecHit() [1/3]

const RecMdcHit * EventNavigator::getMdcRecHit ( int id)
inline

Definition at line 98 of file Event/EventNavigator/include/EventNavigator/EventNavigator.h.

98{ return m_mdcRecHitId[id]; };

◆ getMdcRecHit() [2/3]

const RecMdcHit * EventNavigator::getMdcRecHit ( int id)
inline

Definition at line 98 of file InstallArea/x86_64-el9-gcc13-dbg/include/EventNavigator/EventNavigator.h.

98{ return m_mdcRecHitId[id]; };

◆ getMdcRecHit() [3/3]

const RecMdcHit * EventNavigator::getMdcRecHit ( int id)
inline

Definition at line 98 of file InstallArea/x86_64-el9-gcc13-opt/include/EventNavigator/EventNavigator.h.

98{ return m_mdcRecHitId[id]; };

◆ getMdcTrack() [1/3]

const RecMdcTrack * EventNavigator::getMdcTrack ( int id)
inline

Definition at line 92 of file Event/EventNavigator/include/EventNavigator/EventNavigator.h.

92{ return m_mdcTrackId[id]; };

◆ getMdcTrack() [2/3]

const RecMdcTrack * EventNavigator::getMdcTrack ( int id)
inline

Definition at line 92 of file InstallArea/x86_64-el9-gcc13-dbg/include/EventNavigator/EventNavigator.h.

92{ return m_mdcTrackId[id]; };

◆ getMdcTrack() [3/3]

const RecMdcTrack * EventNavigator::getMdcTrack ( int id)
inline

Definition at line 92 of file InstallArea/x86_64-el9-gcc13-opt/include/EventNavigator/EventNavigator.h.

92{ return m_mdcTrackId[id]; };

◆ getMdcTracks() [1/3]

RecMdcTrackVector & EventNavigator::getMdcTracks ( const Event::McParticle * key)

Definition at line 55 of file EventNavigator.cxx.

55 {
56 return m_mdcTracksWrtMcParticle[key->trackIndex()];
57}

◆ getMdcTracks() [2/3]

RecMdcTrackVector & EventNavigator::getMdcTracks ( const Event::McParticle * key)

◆ getMdcTracks() [3/3]

RecMdcTrackVector & EventNavigator::getMdcTracks ( const Event::McParticle * key)

◆ Print() [1/3]

void EventNavigator::Print ( )

Definition at line 19 of file EventNavigator.cxx.

19 {
20 cout << "EventNavigator object:" << std::endl;
21 cout << " Mdc hits: " << m_mcMdcMcHitsIdx.size() << endl;
22 cout << " Mdc tracks: " << m_mcMdcTracksIdx.size() << endl;
23 cout << " Emc hits: " << m_mcEmcMcHitsIdx.size() << endl;
24 cout << " Emc showers: " << m_mcEmcRecShowersIdx.size() << endl;
25 cout << " TABLES:" << endl;
26 cout << " m_mdcTracksWrtMcParticle " << m_mdcTracksWrtMcParticle.size() << endl;
27 cout << " m_mcParticlesWrtMdcTrack " << m_mcParticlesWrtMdcTrack.size() << endl;
28 cout << " m_mdcKalTracksWrtMcParticle " << m_mdcKalTracksWrtMcParticle.size() << endl;
29 cout << " m_mcParticlesWrtMdcKalTrack " << m_mcParticlesWrtMdcKalTrack.size() << endl;
30 cout << " m_mdcTracksWrtMcParticleP " << m_mdcTracksWrtMcParticleP.size() << endl;
31 cout << " m_mcParticlesWrtMdcTrackP " << m_mcParticlesWrtMdcTrackP.size() << endl;
32 cout << " m_mdcKalTracksWrtMcParticle " << m_mdcKalTracksWrtMcParticleP.size() << endl;
33 cout << " m_mcParticlesWrtMdcKalTrack " << m_mcParticlesWrtMdcKalTrackP.size() << endl;
34 cout << " m_mcParticlesWrtRecShower " << m_mcParticlesWrtRecShower.size() << endl;
35 cout << " m_emcRecShowersWrtMcParticle " << m_emcRecShowersWrtMcParticle.size() << endl;
36 cout << " m_mcParticlesWrtEmcShowerP " << m_mcParticlesWrtRecEmcShowerP.size() << endl;
37 cout << " m_emcRecShowersWrtMcParticle " << m_emcRecShowersWrtMcParticleP.size() << endl;
38}

◆ Print() [2/3]

void EventNavigator::Print ( )

◆ Print() [3/3]

void EventNavigator::Print ( )

◆ setMcEmcMcHitsIdx() [1/3]

void EventNavigator::setMcEmcMcHitsIdx ( IndexMap & map)
inline

Definition at line 111 of file Event/EventNavigator/include/EventNavigator/EventNavigator.h.

111{ m_mcEmcMcHitsIdx = map; }

Referenced by EvtNavigatorCnv::TObjectToDataObject().

◆ setMcEmcMcHitsIdx() [2/3]

void EventNavigator::setMcEmcMcHitsIdx ( IndexMap & map)
inline

Definition at line 111 of file InstallArea/x86_64-el9-gcc13-dbg/include/EventNavigator/EventNavigator.h.

111{ m_mcEmcMcHitsIdx = map; }

◆ setMcEmcMcHitsIdx() [3/3]

void EventNavigator::setMcEmcMcHitsIdx ( IndexMap & map)
inline

Definition at line 111 of file InstallArea/x86_64-el9-gcc13-opt/include/EventNavigator/EventNavigator.h.

111{ m_mcEmcMcHitsIdx = map; }

◆ setMcEmcRecShowersIdx() [1/3]

void EventNavigator::setMcEmcRecShowersIdx ( IndexMap & map)
inline

Definition at line 112 of file Event/EventNavigator/include/EventNavigator/EventNavigator.h.

112{ m_mcEmcRecShowersIdx = map; }

Referenced by EvtNavigatorCnv::TObjectToDataObject().

◆ setMcEmcRecShowersIdx() [2/3]

void EventNavigator::setMcEmcRecShowersIdx ( IndexMap & map)
inline

Definition at line 112 of file InstallArea/x86_64-el9-gcc13-dbg/include/EventNavigator/EventNavigator.h.

112{ m_mcEmcRecShowersIdx = map; }

◆ setMcEmcRecShowersIdx() [3/3]

void EventNavigator::setMcEmcRecShowersIdx ( IndexMap & map)
inline

Definition at line 112 of file InstallArea/x86_64-el9-gcc13-opt/include/EventNavigator/EventNavigator.h.

112{ m_mcEmcRecShowersIdx = map; }

◆ setMcMdcMcHitsIdx() [1/3]

void EventNavigator::setMcMdcMcHitsIdx ( IndexMap & map)
inline

Definition at line 109 of file Event/EventNavigator/include/EventNavigator/EventNavigator.h.

109{ m_mcMdcMcHitsIdx = map; }

Referenced by EvtNavigatorCnv::TObjectToDataObject().

◆ setMcMdcMcHitsIdx() [2/3]

void EventNavigator::setMcMdcMcHitsIdx ( IndexMap & map)
inline

Definition at line 109 of file InstallArea/x86_64-el9-gcc13-dbg/include/EventNavigator/EventNavigator.h.

109{ m_mcMdcMcHitsIdx = map; }

◆ setMcMdcMcHitsIdx() [3/3]

void EventNavigator::setMcMdcMcHitsIdx ( IndexMap & map)
inline

Definition at line 109 of file InstallArea/x86_64-el9-gcc13-opt/include/EventNavigator/EventNavigator.h.

109{ m_mcMdcMcHitsIdx = map; }

◆ setMcMdcTracksIdx() [1/3]

void EventNavigator::setMcMdcTracksIdx ( IndexMap & map)
inline

Definition at line 110 of file Event/EventNavigator/include/EventNavigator/EventNavigator.h.

110{ m_mcMdcTracksIdx = map; }

Referenced by EvtNavigatorCnv::TObjectToDataObject().

◆ setMcMdcTracksIdx() [2/3]

void EventNavigator::setMcMdcTracksIdx ( IndexMap & map)
inline

Definition at line 110 of file InstallArea/x86_64-el9-gcc13-dbg/include/EventNavigator/EventNavigator.h.

110{ m_mcMdcTracksIdx = map; }

◆ setMcMdcTracksIdx() [3/3]

void EventNavigator::setMcMdcTracksIdx ( IndexMap & map)
inline

Definition at line 110 of file InstallArea/x86_64-el9-gcc13-opt/include/EventNavigator/EventNavigator.h.

110{ m_mcMdcTracksIdx = map; }

◆ setMdcCut() [1/3]

void EventNavigator::setMdcCut ( int cut)
inline

Definition at line 87 of file Event/EventNavigator/include/EventNavigator/EventNavigator.h.

87{ m_mdcCut = cut; };
*********Class see also m_nmax DOUBLE PRECISION m_MasPhot DOUBLE PRECISION m_phsu DOUBLE PRECISION m_Xenph DOUBLE PRECISION m_r2 DOUBLE PRECISION m_WtMass INTEGER m_nmax INTEGER m_Nevgen INTEGER m_IsFSR INTEGER m_MarTot *COMMON c_KarFin $ !Output file $ !Event serial number $ !alpha QED at Thomson limit $ !minimum energy at CMS for remooval $ !infrared cut
Definition KarFin.h:27

Referenced by BesNavigatorInit::execute().

◆ setMdcCut() [2/3]

void EventNavigator::setMdcCut ( int cut)
inline

◆ setMdcCut() [3/3]

void EventNavigator::setMdcCut ( int cut)
inline

◆ BesNavigatorInit


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