All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions
sbnana/sbnanalysis/ana/SBNOsc/Utilities.h File Reference
#include "nusimdata/SimulationBase/MCTruth.h"
#include "lardataobj/MCBase/MCShower.h"
#include "lardataobj/MCBase/MCTrack.h"
#include "gallery/Event.h"
#include "core/Event.hh"
#include "ubcore/LLBasicTool/GeoAlgo/GeoAABox.h"
#include "TRandom.h"

Go to the source code of this file.

Classes

struct  ana::SBNOsc::VisibleEnergyCalculator
 

Namespaces

 ana
 Oscillation analysis framework, runs over CAF files outside of ART.
 
 ana::SBNOsc
 

Functions

void ana::SBNOsc::hello ()
 
event::Interaction ana::SBNOsc::TruthReco (const simb::MCTruth &mctruth)
 
double ana::SBNOsc::NuMuOscillation (double numu_energy, double numu_dist, double osc_dm2, double osc_angle)
 
double ana::SBNOsc::containedLength (const TVector3 &v0, const TVector3 &v1, const std::vector< geoalgo::AABox > &boxes)
 
double ana::SBNOsc::PDGMass (int pdg)
 
double ana::SBNOsc::PDGCharge (int pdg)
 
bool ana::SBNOsc::isFromNuVertex (const simb::MCTruth &mc, const sim::MCShower &show, float distance)
 
bool ana::SBNOsc::isFromNuVertex (const simb::MCTruth &mc, const sim::MCTrack &track, float distance)
 
bool ana::SBNOsc::isFromNuVertex (const simb::MCTruth &mc, const simb::MCParticle &mcp, float distance)
 
double ana::SBNOsc::ECCQE (const TVector3 &l_momentum, double l_energy, double energy_distortion, double angle_distortion)
 
double ana::SBNOsc::visibleEnergy (TRandom &rand, const simb::MCTruth &mctruth, const std::vector< sim::MCTrack > &mctrack_list, const std::vector< sim::MCShower > &mcshower_list, const VisibleEnergyCalculator &calculator, bool include_showers)
 
double ana::SBNOsc::visibleEnergyProposal (TRandom &rand, const simb::MCTruth &mctruth, const std::vector< sim::MCTrack > &mctrack_list, const VisibleEnergyCalculator &calculator)
 
double ana::SBNOsc::visibleEnergyProposalMCParticles (TRandom &rand, const simb::MCTruth &mctruth, const std::vector< sim::MCTrack > mctrack_list, const VisibleEnergyCalculator &calculator)
 
double ana::SBNOsc::smearLeptonEnergy (TRandom &rand, const sim::MCTrack &mct, const VisibleEnergyCalculator &calculator)
 
double ana::SBNOsc::closestDistance (const TVector3 &line0, const TVector3 &line1, const TVector3 &p)
 
double ana::SBNOsc::closestDistanceDim (const TVector3 &line0, const TVector3 &line1, const TVector3 &p, int dim)