#include <McPrimaryParticle.h>
|
enum | ClassificationBits {
NOPRIMARY = 1
, CHARGED = 1<<1
, NEUTRAL = 1<<2
, GAMMA = 1<<3
,
CONVERT = 1<<4
, BREM = 1<<5
, COMPT = 1<<6
, PHOT = 1<<7
,
OTHER = 1<<8
, TRKCONVERT = 1<<12
, TRKBREM = 1<<13
, TRKCOMPT = 1<<14
,
TRKPHOT = 1<<15
, TRKOTHER = 1<<16
, RUNBIT = 1<<24
} |
| Define bits to help classify the event. More...
|
|
Definition at line 24 of file McPrimaryParticle.h.
◆ ClassificationBits
Define bits to help classify the event.
Enumerator |
---|
NOPRIMARY | |
CHARGED | No primary particle found (can't happen?)
|
NEUTRAL | Primary particle is charged.
|
GAMMA | Primary particle is neutral.
|
CONVERT | Primary is a gamma.
|
BREM | Secondaries from gamma conversion.
|
COMPT | Secondaries from Bremstrahlung.
|
PHOT | Secondaries from Compton scatter.
|
OTHER | Secondaries from Photoelectric effect (?)
|
TRKCONVERT | Secondaries from some other process.
|
TRKBREM | Secondaries from gamma conversion in tracker.
|
TRKCOMPT | Secondaries from Bremstrahlung in tracker.
|
TRKPHOT | Secondaries from Compton scatter in tracker.
|
TRKOTHER | Secondaries from Photoelectric effect in tracker.
|
RUNBIT | Secondaries from some other process in tracker.
|
Definition at line 28 of file McPrimaryParticle.h.
28 {
44 };
@ COMPT
Secondaries from Bremstrahlung.
@ TRKCOMPT
Secondaries from Bremstrahlung in tracker.
@ TRKPHOT
Secondaries from Compton scatter in tracker.
@ RUNBIT
Secondaries from some other process in tracker.
@ OTHER
Secondaries from Photoelectric effect (?)
@ NEUTRAL
Primary particle is charged.
@ TRKCONVERT
Secondaries from some other process.
@ CONVERT
Primary is a gamma.
@ CHARGED
No primary particle found (can't happen?)
@ TRKBREM
Secondaries from gamma conversion in tracker.
@ BREM
Secondaries from gamma conversion.
@ TRKOTHER
Secondaries from Photoelectric effect in tracker.
@ GAMMA
Primary particle is neutral.
@ PHOT
Secondaries from Compton scatter.
◆ McPrimaryParticle()
Event::McPrimaryParticle::McPrimaryParticle |
( |
| ) |
|
|
inline |
Dataobject compliant constructor.
Definition at line 47 of file McPrimaryParticle.h.
47 : ContainedObject()
48 {
49 m_classification = 0;
50 m_primary = 0;
51 m_secondaries.clear();
52 m_associated.clear();
53 }
◆ ~McPrimaryParticle()
Event::McPrimaryParticle::~McPrimaryParticle |
( |
| ) |
|
|
inline |
◆ addAssociated()
◆ addSecondary()
◆ beginAssociated()
Event::McParticleRefVec::const_iterator Event::McPrimaryParticle::beginAssociated |
( |
| ) |
const |
|
inline |
◆ beginSecondaries()
Event::McParticleRefVec::const_iterator Event::McPrimaryParticle::beginSecondaries |
( |
| ) |
const |
|
inline |
◆ classID()
static const CLID & Event::McPrimaryParticle::classID |
( |
| ) |
|
|
inlinestatic |
◆ clID()
virtual const CLID & Event::McPrimaryParticle::clID |
( |
| ) |
const |
|
inlinevirtual |
◆ endAssociated()
Event::McParticleRefVec::const_iterator Event::McPrimaryParticle::endAssociated |
( |
| ) |
const |
|
inline |
◆ endSecondaries()
Event::McParticleRefVec::const_iterator Event::McPrimaryParticle::endSecondaries |
( |
| ) |
const |
|
inline |
◆ getClassificationBits()
const unsigned long Event::McPrimaryParticle::getClassificationBits |
( |
| ) |
const |
|
inline |
Retrieve classification bits (see above definitions)
Definition at line 62 of file McPrimaryParticle.h.
62{return m_classification;}
◆ getNumAssociated()
const int Event::McPrimaryParticle::getNumAssociated |
( |
| ) |
const |
|
inline |
Retrieve number and iterators to the particles associated with primary.
Definition at line 73 of file McPrimaryParticle.h.
73{return m_associated.size();}
◆ getNumSecondaries()
const int Event::McPrimaryParticle::getNumSecondaries |
( |
| ) |
const |
|
inline |
Retrieve number and iterators to the daughters of the primary with hits in tracker.
Definition at line 68 of file McPrimaryParticle.h.
68{return m_secondaries.size();}
◆ getPrimaryParticle()
◆ getTrackVector()
Return an McParticle reference vector of all McParticles which leave hits in tracker.
Definition at line 9 of file McPrimaryParticle.cxx.
10{
11
12
13
14
15
16
17
18
19
20
21
22
23
24}
◆ setClassificationBits()
void Event::McPrimaryParticle::setClassificationBits |
( |
const unsigned long |
bits | ) |
|
|
inline |
◆ setPrimaryParticle()
The documentation for this class was generated from the following files: