#include <MCTruthAndFriendsItr.h>
Definition at line 32 of file MCTruthAndFriendsItr.h.
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.
47 for (
size_t mcl = 0; mcl <
mclists.size(); ++mcl) {
49 if ( ! mclistHandle.
isValid() ) {
72 for(
size_t nmc = 0; nmc < mclistHandle->size(); ++nmc) {
75 std::pair<int,int> ipair(mcl,nmc);
const bsim::Dk2Nu * thisDk2Nu
std::vector< art::Handle< std::vector< simb::MCTruth > > > mclists
std::vector< std::string > outlabels
const simb::GTruth * thisGTruth
bool getByLabel(std::string const &label, std::string const &instance, Handle< PROD > &result) const
Provenance const * provenance() const
void getManyByType(std::vector< Handle< PROD >> &results) const
std::vector< std::string > const & fInputModuleLabels
const bsim::NuChoice * thisNuChoice
std::set< std::pair< int, int > > indices
const simb::MCFlux * thisMCFlux
const simb::MCTruth * thisMCTruth
std::set< std::pair< int, int > >::const_iterator indx_itr
virtual evgb::MCTruthAndFriendsItr::~MCTruthAndFriendsItr |
( |
| ) |
|
|
inlinevirtual |
const bsim::Dk2Nu* evgb::MCTruthAndFriendsItr::GetDk2Nu |
( |
| ) |
const |
|
inline |
const simb::GTruth* evgb::MCTruthAndFriendsItr::GetGTruth |
( |
| ) |
const |
|
inline |
std::string evgb::MCTruthAndFriendsItr::GetLabel |
( |
| ) |
const |
|
inline |
const simb::MCFlux* evgb::MCTruthAndFriendsItr::GetMCFlux |
( |
| ) |
const |
|
inline |
const simb::MCTruth* evgb::MCTruthAndFriendsItr::GetMCTruth |
( |
| ) |
const |
|
inline |
const bsim::NuChoice* evgb::MCTruthAndFriendsItr::GetNuChoice |
( |
| ) |
const |
|
inline |
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.
107 size_t indx_handle = (*indx_itr).first;
108 size_t indx_within = (*indx_itr).second;
131 art::FindOneP<simb::GTruth> qgtruth(hvMCTruth,
evt,
outlabels[indx_handle]);
140 art::FindOneP<simb::MCFlux> qmcflux(hvMCTruth,
evt,
outlabels[indx_handle]);
149 art::FindOneP<bsim::Dk2Nu> qdk2nu(hvMCTruth,
evt,
outlabels[indx_handle]);
158 art::FindOneP<bsim::NuChoice> qnuchoice(hvMCTruth,
evt,
outlabels[indx_handle]);
const bsim::Dk2Nu * thisDk2Nu
std::vector< art::Handle< std::vector< simb::MCTruth > > > mclists
std::vector< std::string > outlabels
const simb::GTruth * thisGTruth
const bsim::NuChoice * thisNuChoice
const simb::MCFlux * thisMCFlux
const simb::MCTruth * thisMCTruth
std::set< std::pair< int, int > >::const_iterator indx_itr
int evgb::MCTruthAndFriendsItr::imctruth |
|
private |
std::set<std::pair<int,int> > evgb::MCTruthAndFriendsItr::indices |
|
private |
std::set<std::pair<int,int> >::const_iterator evgb::MCTruthAndFriendsItr::indx_itr |
|
private |
int evgb::MCTruthAndFriendsItr::nmctruth |
|
private |
const bsim::Dk2Nu* evgb::MCTruthAndFriendsItr::thisDk2Nu |
|
private |
const bsim::NuChoice* evgb::MCTruthAndFriendsItr::thisNuChoice |
|
private |
The documentation for this class was generated from the following files: