Namespaces | Functions
G4ReweightUtils.h File Reference
#include <vector>
#include "larsim/MCCheater/ParticleInventoryService.h"
#include "larcore/Geometry/Geometry.h"
#include "geant4reweight/src/ReweightBase/G4ReweightTraj.hh"
#include "geant4reweight/src/ReweightBase/G4MultiReweighter.hh"

Go to the source code of this file.

Namespaces

 protoana
 
 protoana::G4ReweightUtils
 

Functions

bool protoana::G4ReweightUtils::CreateRWTraj (const simb::MCParticle &part, const sim::ParticleList &plist, art::ServiceHandle< geo::Geometry > geo_serv, int event, G4ReweightTraj *theTraj)
 
std::vector< G4ReweightTraj * > protoana::G4ReweightUtils::CreateNRWTrajs (const simb::MCParticle &part, const sim::ParticleList &plist, art::ServiceHandle< geo::Geometry > geo_serv, int event, std::string material_name="LAr", bool fVerbose=false)
 
std::vector< std::vector< G4ReweightTraj * > > protoana::G4ReweightUtils::BuildHierarchy (int ID, int PDG, const sim::ParticleList &plist, art::ServiceHandle< geo::Geometry > geo_serv, int event, std::string material_name="LAr", bool fVerbose=false)
 
double protoana::G4ReweightUtils::GetNTrajWeightFromSetPars (const std::vector< G4ReweightTraj * > &trajs, G4MultiReweighter &rw)
 
std::pair< double, double > protoana::G4ReweightUtils::GetNTrajPMSigmaWeights (const std::vector< G4ReweightTraj * > &trajs, G4MultiReweighter &rw, size_t iPar)