#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 20 of file MCShowerRecoPart.h.
|
explicit |
Default constructor with fhicl parameters.
Definition at line 21 of file MCShowerRecoPart.cxx.
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 28 of file MCShowerRecoPart.cxx.
|
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.
|
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 62 of file MCShowerRecoPart.h.
|
inline |
Returns a list of shower-mother's particle index. Order respects shower index number.
Definition at line 48 of file MCShowerRecoPart.h.
|
protected |
lots of stdout stream
Definition at line 71 of file MCShowerRecoPart.h.
|
protected |
Shower time-ordered daughters.
Definition at line 83 of file MCShowerRecoPart.h.
|
protected |
Track index to shower index map.
Definition at line 74 of file MCShowerRecoPart.h.
|
protected |
Shower Primary Index ID => Shower Index Map.
Definition at line 80 of file MCShowerRecoPart.h.
|
static |
Definition at line 24 of file MCShowerRecoPart.h.
|
static |
Definition at line 23 of file MCShowerRecoPart.h.