Helper for SimpleRecordList and OnDemandRecordList.
More...
#include <EvtLibRecordList.h>
genie::evtlib::RecordLoader::RecordLoader |
( |
TTree * |
tree | ) |
|
Definition at line 36 of file EvtLibRecordList.cxx.
39 fTree->SetBranchAddress(
"Enu", &
Enu);
45 fTree->SetBranchAddress(
"E", &
Es);
46 fTree->SetBranchAddress(
"px", &
px);
47 fTree->SetBranchAddress(
"py", &
py);
48 fTree->SetBranchAddress(
"pz", &
pz);
float px[kEvtLibMaxParts]
float Es[kEvtLibMaxParts]
float py[kEvtLibMaxParts]
float pz[kEvtLibMaxParts]
int pdgs[kEvtLibMaxParts]
genie::evtlib::RecordLoader::~RecordLoader |
( |
| ) |
|
EvtLibRecord genie::evtlib::RecordLoader::GetRecord |
( |
int |
i | ) |
const |
Definition at line 63 of file EvtLibRecordList.cxx.
78 std::vector<EvtLibParticle> parts(
nparts);
79 for(
int j = 0; j <
nparts; ++j){
80 parts[j].pdg =
pdgs[j];
const int kEvtLibMaxParts
Maximum number of particles supported in a single library event record.
float px[kEvtLibMaxParts]
float Es[kEvtLibMaxParts]
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
float py[kEvtLibMaxParts]
float pz[kEvtLibMaxParts]
int pdgs[kEvtLibMaxParts]
long genie::evtlib::RecordLoader::NRecords |
( |
| ) |
const |
float genie::evtlib::RecordLoader::Enu |
|
protected |
TTree* genie::evtlib::RecordLoader::fTree |
|
protected |
int genie::evtlib::RecordLoader::nparts |
|
protected |
int genie::evtlib::RecordLoader::prod_id |
|
protected |
The documentation for this class was generated from the following files: