LArSoft
v07_13_02
Liquid Argon Software toolkit - http://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 37 of file MCShowerRecoPart.h.
|
explicit |
Default constructor with fhicl parameters.
Definition at line 18 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 25 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 56 of file MCShowerRecoPart.h.
References _shower_daughters.
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 79 of file MCShowerRecoPart.h.
References _shower_id.
|
inline |
Returns a list of shower-mother's particle index. Order respects shower index number.
Definition at line 65 of file MCShowerRecoPart.h.
References _shower_index.
Referenced by sim::MCShowerRecoAlg::Reconstruct().
|
protected |
lots of stdout stream
Definition at line 88 of file MCShowerRecoPart.h.
Referenced by ConstructShower(), and MCShowerRecoPart().
|
protected |
Shower time-ordered daughters.
Definition at line 100 of file MCShowerRecoPart.h.
Referenced by ConstructShower(), and ShowerDaughters().
|
protected |
Track index to shower index map.
Definition at line 91 of file MCShowerRecoPart.h.
Referenced by ConstructShower(), and ShowerIndex().
|
protected |
Shower Primary Index ID => Shower Index Map.
Definition at line 97 of file MCShowerRecoPart.h.
Referenced by ConstructShower(), and ShowerMothers().
|
static |
Definition at line 41 of file MCShowerRecoPart.h.
|
static |
Definition at line 40 of file MCShowerRecoPart.h.