LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "MCRecoEdep.h"
Public Member Functions | |
MCRecoEdep (fhicl::ParameterSet const &pset) | |
Default constructor with fhicl parameters. More... | |
void | MakeMCEdep (const std::vector< sim::SimChannel > &schArray) |
bool | ExistTrack (const unsigned int track_id) const |
int | TrackToEdepIndex (unsigned int track_id) const |
Converts a track ID to MCEdep array index. Returns -1 if no corresponding array found . More... | |
const std::vector< sim::MCEdep > & | GetEdepArrayAt (size_t edep_index) const |
Returns a vector of MCEdep object at the given index. More... | |
const std::map< unsigned int, size_t > | TrackIndexMap () const |
Returns a map of track id <-> MCEdep vector index. More... | |
void | Clear () |
Protected Member Functions | |
std::vector< sim::MCEdep > & | __GetEdepArray__ (unsigned int track_id) |
Protected Attributes | |
bool | _debug_mode |
bool | _save_mchit |
std::map< unsigned int, size_t > | _track_index |
std::vector< std::vector< sim::MCEdep > > | _mc_edeps |
Definition at line 107 of file MCRecoEdep.h.
sim::MCRecoEdep::MCRecoEdep | ( | fhicl::ParameterSet const & | pset | ) |
Default constructor with fhicl parameters.
Definition at line 33 of file MCRecoEdep.cxx.
References fhicl::ParameterSet::get().
|
protected |
Definition at line 47 of file MCRecoEdep.cxx.
|
inline |
Definition at line 134 of file MCRecoEdep.h.
Referenced by MCReco::produce().
|
inline |
Definition at line 117 of file MCRecoEdep.h.
const std::vector< sim::MCEdep > & sim::MCRecoEdep::GetEdepArrayAt | ( | size_t | edep_index | ) | const |
Returns a vector of MCEdep object at the given index.
Definition at line 40 of file MCRecoEdep.cxx.
Referenced by sim::MCTrackRecoAlg::Reconstruct(), and sim::MCShowerRecoAlg::Reconstruct().
void sim::MCRecoEdep::MakeMCEdep | ( | const std::vector< sim::SimChannel > & | schArray | ) |
Definition at line 55 of file MCRecoEdep.cxx.
References geo::GeometryCore::ChannelToWire(), sim::details::createPlaneIndexMap(), sim::MCEdep::deps, and edep.
Referenced by MCReco::produce().
|
inline |
Returns a map of track id <-> MCEdep vector index.
Definition at line 131 of file MCRecoEdep.h.
|
inline |
Converts a track ID to MCEdep array index. Returns -1 if no corresponding array found .
Definition at line 121 of file MCRecoEdep.h.
Referenced by sim::MCTrackRecoAlg::Reconstruct(), and sim::MCShowerRecoAlg::Reconstruct().
|
protected |
Definition at line 144 of file MCRecoEdep.h.
|
protected |
Definition at line 147 of file MCRecoEdep.h.
|
protected |
Definition at line 145 of file MCRecoEdep.h.
|
protected |
Definition at line 146 of file MCRecoEdep.h.