LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "MCTrackCollectionAnaAlg.h"
Public Member Functions | |
MCTrackCollectionAnaAlg () | |
void | SetOutputTree (TTree *, bool fill=true) |
void | FillTree (unsigned int, unsigned int, const std::vector< sim::MCTrack > &) |
Private Member Functions | |
void | FillDominantParticleInfo (const sim::MCTrack &) |
Private Attributes | |
TTree * | fTree |
bool | fFillTree |
unsigned int | fRun |
unsigned int | fEvent |
unsigned int | fNMCTracks |
unsigned int | fDParticle |
float | fDParticleFraction |
int | fDParticleOrigin |
int | fDParticlePdgCode |
unsigned int | fDParticleTrackId |
float | fDParticleStartY |
float | fDParticleStartZ |
float | fDParticleStartX |
float | fDParticleStartE |
float | fDParticleEndY |
float | fDParticleEndZ |
float | fDParticleEndX |
float | fDParticleEndE |
int | fDParticleMotherPdgCode |
unsigned int | fDParticleMotherTrackId |
int | fDParticleAncestorPdgCode |
unsigned int | fDParticleAncestorTrackId |
float | fCollectionY |
float | fCollectionZ |
float | fCollectionX |
float | fCollectionRMSY |
float | fCollectionRMSZ |
float | fCollectionRMSX |
float | fCollectionEnergy |
float | fMinX |
float | fMaxX |
float | fMinY |
float | fMaxY |
float | fMinZ |
float | fMaxZ |
Definition at line 19 of file MCTrackCollectionAnaAlg.h.
|
inline |
Definition at line 23 of file MCTrackCollectionAnaAlg.h.
References trkf::fill(), FillTree(), and SetOutputTree().
|
private |
Definition at line 158 of file MCTrackCollectionAnaAlg.cxx.
References sim::MCTrack::AncestorPdgCode(), sim::MCTrack::AncestorTrackID(), fDParticleAncestorPdgCode, fDParticleAncestorTrackId, fDParticleEndE, fDParticleEndX, fDParticleEndY, fDParticleEndZ, fDParticleMotherPdgCode, fDParticleMotherTrackId, fDParticleOrigin, fDParticlePdgCode, fDParticleStartE, fDParticleStartX, fDParticleStartY, fDParticleStartZ, fDParticleTrackId, sim::MCTrack::MotherPdgCode(), sim::MCTrack::MotherTrackID(), sim::MCTrack::Origin(), sim::MCTrack::PdgCode(), and sim::MCTrack::TrackID().
Referenced by FillTree().
void sim::MCTrackCollectionAnaAlg::FillTree | ( | unsigned int | run, |
unsigned int | event, | ||
const std::vector< sim::MCTrack > & | mctVec | ||
) |
Definition at line 62 of file MCTrackCollectionAnaAlg.cxx.
References fCollectionEnergy, fCollectionRMSX, fCollectionRMSY, fCollectionRMSZ, fCollectionX, fCollectionY, fCollectionZ, fDParticle, fDParticleFraction, fEvent, fFillTree, FillDominantParticleInfo(), fMaxX, fMaxY, fMaxZ, fMinX, fMinY, fMinZ, fNMCTracks, fRun, and fTree.
Referenced by MCTrackCollectionAnaAlg(), and opdet::FlashHypothesisAnaAlg::RunComparison().
void sim::MCTrackCollectionAnaAlg::SetOutputTree | ( | TTree * | tree, |
bool | fill = true |
||
) |
Title: MCTrackCollectionAnaAlg Class Author: Wes Ketchum (wketc) hum@ lanl. gov
Description: Alg to put properties of collection of MCTracks in a tree.
Definition at line 16 of file MCTrackCollectionAnaAlg.cxx.
References fCollectionEnergy, fCollectionRMSX, fCollectionRMSY, fCollectionRMSZ, fCollectionX, fCollectionY, fCollectionZ, fDParticle, fDParticleAncestorPdgCode, fDParticleAncestorTrackId, fDParticleEndE, fDParticleEndX, fDParticleEndY, fDParticleEndZ, fDParticleFraction, fDParticleMotherPdgCode, fDParticleMotherTrackId, fDParticleOrigin, fDParticlePdgCode, fDParticleStartE, fDParticleStartX, fDParticleStartY, fDParticleStartZ, fDParticleTrackId, fEvent, fFillTree, trkf::fill(), fMaxX, fMaxY, fMaxZ, fMinX, fMinY, fMinZ, fNMCTracks, fRun, and fTree.
Referenced by MCTrackCollectionAnaAlg(), and opdet::FlashHypothesisAnaAlg::SetOutputObjects().
|
private |
Definition at line 64 of file MCTrackCollectionAnaAlg.h.
Referenced by FillTree(), and SetOutputTree().
|
private |
Definition at line 63 of file MCTrackCollectionAnaAlg.h.
Referenced by FillTree(), and SetOutputTree().
|
private |
Definition at line 61 of file MCTrackCollectionAnaAlg.h.
Referenced by FillTree(), and SetOutputTree().
|
private |
Definition at line 62 of file MCTrackCollectionAnaAlg.h.
Referenced by FillTree(), and SetOutputTree().
|
private |
Definition at line 60 of file MCTrackCollectionAnaAlg.h.
Referenced by FillTree(), and SetOutputTree().
|
private |
Definition at line 58 of file MCTrackCollectionAnaAlg.h.
Referenced by FillTree(), and SetOutputTree().
|
private |
Definition at line 59 of file MCTrackCollectionAnaAlg.h.
Referenced by FillTree(), and SetOutputTree().
|
private |
Definition at line 39 of file MCTrackCollectionAnaAlg.h.
Referenced by FillTree(), and SetOutputTree().
|
private |
Definition at line 55 of file MCTrackCollectionAnaAlg.h.
Referenced by FillDominantParticleInfo(), and SetOutputTree().
|
private |
Definition at line 56 of file MCTrackCollectionAnaAlg.h.
Referenced by FillDominantParticleInfo(), and SetOutputTree().
|
private |
Definition at line 52 of file MCTrackCollectionAnaAlg.h.
Referenced by FillDominantParticleInfo(), and SetOutputTree().
|
private |
Definition at line 51 of file MCTrackCollectionAnaAlg.h.
Referenced by FillDominantParticleInfo(), and SetOutputTree().
|
private |
Definition at line 49 of file MCTrackCollectionAnaAlg.h.
Referenced by FillDominantParticleInfo(), and SetOutputTree().
|
private |
Definition at line 50 of file MCTrackCollectionAnaAlg.h.
Referenced by FillDominantParticleInfo(), and SetOutputTree().
|
private |
Definition at line 40 of file MCTrackCollectionAnaAlg.h.
Referenced by FillTree(), and SetOutputTree().
|
private |
Definition at line 53 of file MCTrackCollectionAnaAlg.h.
Referenced by FillDominantParticleInfo(), and SetOutputTree().
|
private |
Definition at line 54 of file MCTrackCollectionAnaAlg.h.
Referenced by FillDominantParticleInfo(), and SetOutputTree().
|
private |
Definition at line 42 of file MCTrackCollectionAnaAlg.h.
Referenced by FillDominantParticleInfo(), and SetOutputTree().
|
private |
Definition at line 43 of file MCTrackCollectionAnaAlg.h.
Referenced by FillDominantParticleInfo(), and SetOutputTree().
|
private |
Definition at line 48 of file MCTrackCollectionAnaAlg.h.
Referenced by FillDominantParticleInfo(), and SetOutputTree().
|
private |
Definition at line 47 of file MCTrackCollectionAnaAlg.h.
Referenced by FillDominantParticleInfo(), and SetOutputTree().
|
private |
Definition at line 45 of file MCTrackCollectionAnaAlg.h.
Referenced by FillDominantParticleInfo(), and SetOutputTree().
|
private |
Definition at line 46 of file MCTrackCollectionAnaAlg.h.
Referenced by FillDominantParticleInfo(), and SetOutputTree().
|
private |
Definition at line 44 of file MCTrackCollectionAnaAlg.h.
Referenced by FillDominantParticleInfo(), and SetOutputTree().
|
private |
Definition at line 36 of file MCTrackCollectionAnaAlg.h.
Referenced by FillTree(), and SetOutputTree().
|
private |
Definition at line 33 of file MCTrackCollectionAnaAlg.h.
Referenced by FillTree(), and SetOutputTree().
|
private |
Definition at line 66 of file MCTrackCollectionAnaAlg.h.
Referenced by FillTree(), and SetOutputTree().
|
private |
Definition at line 68 of file MCTrackCollectionAnaAlg.h.
Referenced by FillTree(), and SetOutputTree().
|
private |
Definition at line 70 of file MCTrackCollectionAnaAlg.h.
Referenced by FillTree(), and SetOutputTree().
|
private |
Definition at line 65 of file MCTrackCollectionAnaAlg.h.
Referenced by FillTree(), and SetOutputTree().
|
private |
Definition at line 67 of file MCTrackCollectionAnaAlg.h.
Referenced by FillTree(), and SetOutputTree().
|
private |
Definition at line 69 of file MCTrackCollectionAnaAlg.h.
Referenced by FillTree(), and SetOutputTree().
|
private |
Definition at line 38 of file MCTrackCollectionAnaAlg.h.
Referenced by FillTree(), and SetOutputTree().
|
private |
Definition at line 35 of file MCTrackCollectionAnaAlg.h.
Referenced by FillTree(), and SetOutputTree().
|
private |
Definition at line 32 of file MCTrackCollectionAnaAlg.h.
Referenced by FillTree(), and SetOutputTree().