BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
McPrimaryParticle.cxx
Go to the documentation of this file.
1/**
2 * @class McPrimaryParticle
3 *
4 * @brief Implements the methods described in McPrimaryParticle.h
5 *
6 */
8
10{
11/* Event::McParticleRefVec trackVec;
12
13 trackVec.clear();
14
15 if (m_primary->statusFlags() & Event::McParticle::POSHIT) trackVec.push_back(m_primary);
16
17 Event::McParticleRefVec::const_iterator refIter;
18
19 for(refIter = m_secondaries.begin(); refIter != m_secondaries.end(); refIter++) trackVec.push_back(*refIter);
20 for(refIter = m_associated.begin(); refIter != m_associated.end(); refIter++) trackVec.push_back(*refIter);
21
22 return trackVec;
23*/
24}
Event::McParticleRefVec getTrackVector()
Return an McParticle reference vector of all McParticles which leave hits in tracker.
SmartRefVector< Event::McParticle > McParticleRefVec