CGEM BOSS
6.6.5.g
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
*/
7
#include "
McTruth/McPrimaryParticle.h
"
8
9
Event::McParticleRefVec
Event::McPrimaryParticle::getTrackVector
()
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
}
McPrimaryParticle.h
Event::McPrimaryParticle::getTrackVector
Event::McParticleRefVec getTrackVector()
Return an McParticle reference vector of all McParticles which leave hits in tracker.
Definition:
McPrimaryParticle.cxx:9
Event::McParticleRefVec
SmartRefVector< Event::McParticle > McParticleRefVec
Definition:
McPrimaryParticle.h:21
source
Event
McTruth
McTruth-00-04-10
src
McPrimaryParticle.cxx
Generated by
1.9.6