Namespaces | Functions
FillTruth.h File Reference
#include "StandardRecord/StandardRecord.h"
#include "NovaDAQConventions/DAQConventions.h"
#include "canvas/Persistency/Common/PtrVector.h"
#include <vector>
#include <iterator>
#include <nusimdata/SimulationBase/MCGeneratorInfo.h>
#include "nusimdata/SimulationBase/MCTruth.h"

Go to the source code of this file.

Namespaces

 rb
 Perform a "2 point" Hough transform on a collection of hits.
 
 sim
 Example routine for calculating the "ultimate e-m mother" of a particle in a simulated event.
 
 cheat
 code to link reconstructed objects back to the MC truth information
 
 rwgt
 Use NuReweight to compute +/-1,2sigma shifts for all systematics.
 
 g4rwgt
 Store +/- 1 sigma shifts for all geant4reweight channels.
 
 fxwgt
 
 caf
 This module creates Common Analysis Files.
 

Functions

SRParticleTruth caf::FillParticleTruth (const std::vector< rb::Cluster > &sliceList, const art::PtrVector< rb::CellHit > &hits, std::vector< cheat::TrackIDE > &allTracks, std::vector< cheat::TrackIDE > &sliceTracks, std::vector< cheat::TrackIDE > &allTracksBirks, std::vector< cheat::TrackIDE > &sliceTracksBirks, int sliceIdx)
 Function to fill the particle truth for a set of hits. More...
 
void caf::AddParticleToVec (const sim::Particle &part, std::vector< cheat::TrackIDE > &allTracks, std::vector< cheat::TrackIDE > &sliceTracks, std::vector< cheat::TrackIDE > &allTracksBirks, std::vector< cheat::TrackIDE > &sliceTracksBirks, std::vector< SRTrueParticle > *vec, const std::vector< sim::TrueEnergy > &TrueEnergies)
 
float caf::FindDaughterVisE (const sim::Particle &part, std::vector< cheat::TrackIDE > &tracks)
 
float caf::FindDaughterVisENonRecur (const sim::Particle &part, std::vector< cheat::TrackIDE > &tracks)
 
void caf::AddCosmicTruthToVec (const cheat::NeutrinoEffPur *effPur, std::vector< cheat::TrackIDE > &allTracks, std::vector< cheat::TrackIDE > &sliceTracks, std::vector< cheat::TrackIDE > &allTracksBirks, std::vector< cheat::TrackIDE > &sliceTracksBirks, std::vector< SRCosmic > *vec)
 
void caf::FindAndAddMichels (std::vector< const sim::Particle * > particles, std::vector< cheat::TrackIDE > &allTracks, std::vector< SRTrueMichelE > *michelVec)
 
void caf::AddTrueMichelEToVec (const sim::Particle &michel, const sim::Particle &motherMuon, std::vector< cheat::TrackIDE > &allTracks, std::vector< SRTrueMichelE > *vec)
 
void caf::AddPreFSI (const art::Ptr< simb::MCTruth > &truth, SRNeutrino &nu)
 
double caf::TrueNeutrinoDistance (novadaq::cnv::DetId det, const SRNeutrino &nu)
 
std::vector< SRGenieWeights > caf::GenieReweightTable (const rwgt::GENIEReweightTable &table)
 
SRFluxWeights caf::FluxReweights (const fxwgt::FluxWeights &flxwgts)
 
SRGeant4Weights caf::Geant4Reweights (const g4rwgt::G4WeightTable &g4wgts)
 
caf::generator_ caf::CAFGeneratorEnum (simb::Generator_t simbGeneratorEnum)
 
std::vector< unsigned intcaf::DecodeGeneratorVersion (const std::string &versionString)