LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "MCTruthAndFriendsItr.h"
Public Member Functions | |
MCTruthAndFriendsItr (art::Event const &evtIn, std::vector< std::string > const &labels) | |
virtual | ~MCTruthAndFriendsItr () |
bool | Next () |
const simb::MCTruth * | GetMCTruth () const |
const simb::GTruth * | GetGTruth () const |
const simb::MCFlux * | GetMCFlux () const |
const bsim::Dk2Nu * | GetDk2Nu () const |
const bsim::NuChoice * | GetNuChoice () const |
std::string | GetLabel () const |
Private Attributes | |
art::Event const & | evt |
std::vector< std::string > const & | fInputModuleLabels |
std::vector< art::Handle< std::vector< simb::MCTruth > > > | mclists |
std::set< std::pair< int, int > > | indices |
std::set< std::pair< int, int > >::const_iterator | indx_itr |
std::vector< std::string > | outlabels |
int | nmctruth |
int | imctruth |
const simb::MCTruth * | thisMCTruth |
const simb::GTruth * | thisGTruth |
const simb::MCFlux * | thisMCFlux |
const bsim::Dk2Nu * | thisDk2Nu |
const bsim::NuChoice * | thisNuChoice |
std::string | thisLabel |
Definition at line 32 of file MCTruthAndFriendsItr.h.
evgb::MCTruthAndFriendsItr::MCTruthAndFriendsItr | ( | art::Event const & | evtIn, |
std::vector< std::string > const & | labels | ||
) |
std::cout << "+++ mcl " << mcl << "[" << mclists.size() << "] " << "nmc " << nmc << "[" << mclistHandle->size() << "] " << std::endl; std::cout << *(mct.get()) << std::endl;
Definition at line 15 of file MCTruthAndFriendsItr.cxx.
References evt, fInputModuleLabels, art::DataViewImpl::getByLabel(), art::DataViewImpl::getManyByType(), indices, indx_itr, art::Handle< T >::isValid(), mclists, nmctruth, outlabels, and art::Handle< T >::provenance().
|
inlinevirtual |
|
inline |
Definition at line 44 of file MCTruthAndFriendsItr.h.
References thisDk2Nu.
|
inline |
Definition at line 42 of file MCTruthAndFriendsItr.h.
References thisGTruth.
|
inline |
|
inline |
Definition at line 43 of file MCTruthAndFriendsItr.h.
References thisMCFlux.
|
inline |
Definition at line 41 of file MCTruthAndFriendsItr.h.
References thisMCTruth.
|
inline |
Definition at line 45 of file MCTruthAndFriendsItr.h.
References thisNuChoice.
bool evgb::MCTruthAndFriendsItr::Next | ( | ) |
std::cout << "imctruth " << std::setw(3) << imctruth << " [" << indx_handle << "," << indx_within << "]" << " hvMCTruth.isValid() " << hvMCTruth.isValid() << " '" << outlabels[indx_handle] << "' " << std::endl;
Definition at line 96 of file MCTruthAndFriendsItr.cxx.
References evt, art::Ptr< T >::get(), imctruth, indx_itr, mclists, nmctruth, outlabels, thisDk2Nu, thisGTruth, thisLabel, thisMCFlux, thisMCTruth, and thisNuChoice.
Referenced by ~MCTruthAndFriendsItr().
|
private |
Definition at line 52 of file MCTruthAndFriendsItr.h.
Referenced by MCTruthAndFriendsItr(), and Next().
|
private |
Definition at line 53 of file MCTruthAndFriendsItr.h.
Referenced by MCTruthAndFriendsItr().
|
private |
Definition at line 62 of file MCTruthAndFriendsItr.h.
Referenced by Next().
|
private |
Definition at line 57 of file MCTruthAndFriendsItr.h.
Referenced by MCTruthAndFriendsItr().
|
private |
Definition at line 58 of file MCTruthAndFriendsItr.h.
Referenced by MCTruthAndFriendsItr(), and Next().
|
private |
Definition at line 55 of file MCTruthAndFriendsItr.h.
Referenced by MCTruthAndFriendsItr(), and Next().
|
private |
Definition at line 61 of file MCTruthAndFriendsItr.h.
Referenced by MCTruthAndFriendsItr(), and Next().
|
private |
Definition at line 59 of file MCTruthAndFriendsItr.h.
Referenced by MCTruthAndFriendsItr(), and Next().
|
private |
Definition at line 67 of file MCTruthAndFriendsItr.h.
Referenced by GetDk2Nu(), and Next().
|
private |
Definition at line 65 of file MCTruthAndFriendsItr.h.
Referenced by GetGTruth(), and Next().
|
private |
Definition at line 69 of file MCTruthAndFriendsItr.h.
Referenced by GetLabel(), and Next().
|
private |
Definition at line 66 of file MCTruthAndFriendsItr.h.
Referenced by GetMCFlux(), and Next().
|
private |
Definition at line 64 of file MCTruthAndFriendsItr.h.
Referenced by GetMCTruth(), and Next().
|
private |
Definition at line 68 of file MCTruthAndFriendsItr.h.
Referenced by GetNuChoice(), and Next().