LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "MCShowerRecoPart.h"
Public Member Functions | |
MCShowerRecoPart (fhicl::ParameterSet const &pset) | |
Default constructor with fhicl parameters. More... | |
void | ConstructShower (const MCRecoPart &part_v) |
Main function to read-in data and fill variables in this algorithm to reconstruct MC shower. More... | |
const std::vector< unsigned int > & | ShowerDaughters (const unsigned int shower_id) const |
const std::vector< unsigned int > | ShowerMothers () const |
int | ShowerIndex (const unsigned int part_index) const |
Static Public Attributes | |
static const unsigned int | kINVALID_UINT = std::numeric_limits<unsigned int>::max() |
static const int | kINVALID_INT = std::numeric_limits<int>::max() |
Protected Attributes | |
bool | _debug_mode |
lots of stdout stream More... | |
std::vector< int > | _shower_id |
Track index to shower index map. More... | |
std::map< unsigned int, unsigned int > | _shower_index |
Shower Primary Index ID => Shower Index Map. More... | |
std::vector< std::vector< unsigned int > > | _shower_daughters |
Shower time-ordered daughters. More... | |
Definition at line 21 of file MCShowerRecoPart.h.
|
explicit |
Default constructor with fhicl parameters.
Definition at line 23 of file MCShowerRecoPart.cxx.
References _debug_mode, and fhicl::ParameterSet::get().
void sim::MCShowerRecoPart::ConstructShower | ( | const MCRecoPart & | part_v | ) |
Main function to read-in data and fill variables in this algorithm to reconstruct MC shower.
Definition at line 30 of file MCShowerRecoPart.cxx.
References _debug_mode, _shower_daughters, _shower_id, _shower_index, and sim::MCRecoPart::_track_index.
Referenced by sim::MCShowerRecoAlg::Reconstruct().
|
inline |
Returns a list ot daughter particle index numbers for the specified shower with the shower index number as an input
Definition at line 39 of file MCShowerRecoPart.h.
Referenced by sim::MCShowerRecoAlg::Reconstruct().
|
inline |
Take particle index number and returns shower index number to which this particle belongs. Returns -1 if a particle does not belong to any MC shower. Returns kINVALID_INT if input is invalid.
Definition at line 64 of file MCShowerRecoPart.h.
|
inline |
Returns a list of shower-mother's particle index. Order respects shower index number.
Definition at line 49 of file MCShowerRecoPart.h.
Referenced by sim::MCShowerRecoAlg::Reconstruct().
|
protected |
lots of stdout stream
Definition at line 72 of file MCShowerRecoPart.h.
Referenced by ConstructShower(), and MCShowerRecoPart().
|
protected |
Shower time-ordered daughters.
Definition at line 84 of file MCShowerRecoPart.h.
Referenced by ConstructShower().
|
protected |
Track index to shower index map.
Definition at line 75 of file MCShowerRecoPart.h.
Referenced by ConstructShower().
|
protected |
Shower Primary Index ID => Shower Index Map.
Definition at line 81 of file MCShowerRecoPart.h.
Referenced by ConstructShower().
|
static |
Definition at line 25 of file MCShowerRecoPart.h.
|
static |
Definition at line 24 of file MCShowerRecoPart.h.