LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "MergeSimSources.h"
Public Member Functions | |
MergeSimSourcesUtility (std::vector< int > const &) | |
void | Reset () |
void | MergeMCParticles (std::vector< simb::MCParticle > &, const std::vector< simb::MCParticle > &, size_t) |
void | MergeSimChannels (std::vector< sim::SimChannel > &, const std::vector< sim::SimChannel > &, size_t) |
void | MergeAuxDetSimChannels (std::vector< sim::AuxDetSimChannel > &, const std::vector< sim::AuxDetSimChannel > &, size_t) |
void | MergeSimPhotons (std::vector< sim::SimPhotons > &, const std::vector< sim::SimPhotons > &) |
void | MergeSimPhotonsLite (std::vector< sim::SimPhotonsLite > &, const std::vector< sim::SimPhotonsLite > &) |
const std::vector< std::vector< size_t > > & | GetMCParticleListMap () |
Private Member Functions | |
void | UpdateG4TrackIDRange (std::pair< int, int >, size_t) |
Private Attributes | |
std::vector< int > | fG4TrackIDOffsets |
std::vector< std::pair< int, int > > | fG4TrackIDRanges |
std::vector< std::vector< size_t > > | fMCParticleListMap |
Definition at line 23 of file MergeSimSources.h.
sim::MergeSimSourcesUtility::MergeSimSourcesUtility | ( | std::vector< int > const & | ) |
Title: MergeSimSources Utility Class Author: Wes Ketchum (wketc) hum@ lanl. gov
Description: Class that merges different simulation sources together to created a combined sim list. Typically just merges vectors/maps/etc together. But, if anything as a G4 trackID, applies a user-defined offset to those IDs.
Definition at line 18 of file MergeSimSources.cxx.
References fG4TrackIDOffsets, and Reset().
|
inline |
Definition at line 49 of file MergeSimSources.h.
References fMCParticleListMap.
Referenced by sim::MergeSimSources::produce().
void sim::MergeSimSourcesUtility::MergeAuxDetSimChannels | ( | std::vector< sim::AuxDetSimChannel > & | merged_vector, |
const std::vector< sim::AuxDetSimChannel > & | input_vector, | ||
size_t | source_index | ||
) |
Definition at line 90 of file MergeSimSources.cxx.
References fG4TrackIDOffsets, max, min, and UpdateG4TrackIDRange().
Referenced by sim::MergeSimSources::produce().
void sim::MergeSimSourcesUtility::MergeMCParticles | ( | std::vector< simb::MCParticle > & | merged_vector, |
const std::vector< simb::MCParticle > & | input_vector, | ||
size_t | source_index | ||
) |
Definition at line 33 of file MergeSimSources.cxx.
References fG4TrackIDOffsets, fMCParticleListMap, max, min, and UpdateG4TrackIDRange().
Referenced by sim::MergeSimSources::produce().
void sim::MergeSimSourcesUtility::MergeSimChannels | ( | std::vector< sim::SimChannel > & | merged_vector, |
const std::vector< sim::SimChannel > & | input_vector, | ||
size_t | source_index | ||
) |
Definition at line 62 of file MergeSimSources.cxx.
References fG4TrackIDOffsets, max, min, and UpdateG4TrackIDRange().
Referenced by sim::MergeSimSources::produce().
void sim::MergeSimSourcesUtility::MergeSimPhotons | ( | std::vector< sim::SimPhotons > & | merged_vector, |
const std::vector< sim::SimPhotons > & | input_vector | ||
) |
Definition at line 118 of file MergeSimSources.cxx.
Referenced by sim::MergeSimSources::produce().
void sim::MergeSimSourcesUtility::MergeSimPhotonsLite | ( | std::vector< sim::SimPhotonsLite > & | merged_vector, |
const std::vector< sim::SimPhotonsLite > & | input_vector | ||
) |
Definition at line 136 of file MergeSimSources.cxx.
Referenced by sim::MergeSimSources::produce().
void sim::MergeSimSourcesUtility::Reset | ( | ) |
Definition at line 24 of file MergeSimSources.cxx.
References fG4TrackIDOffsets, fG4TrackIDRanges, fMCParticleListMap, max, and min.
Referenced by MergeSimSourcesUtility(), and sim::MergeSimSources::produce().
|
private |
Definition at line 154 of file MergeSimSources.cxx.
References fG4TrackIDOffsets, fG4TrackIDRanges, and ss.
Referenced by MergeAuxDetSimChannels(), MergeMCParticles(), and MergeSimChannels().
|
private |
Definition at line 53 of file MergeSimSources.h.
Referenced by MergeAuxDetSimChannels(), MergeMCParticles(), MergeSimChannels(), MergeSimSourcesUtility(), Reset(), and UpdateG4TrackIDRange().
|
private |
Definition at line 54 of file MergeSimSources.h.
Referenced by Reset(), and UpdateG4TrackIDRange().
|
private |
Definition at line 56 of file MergeSimSources.h.
Referenced by GetMCParticleListMap(), MergeMCParticles(), and Reset().