Classes | Namespaces | Functions | Variables
TruthAnalyzer_module.cc File Reference
#include "art/Framework/Core/EDAnalyzer.h"
#include "art/Framework/Core/ModuleMacros.h"
#include "art/Framework/Principal/Event.h"
#include "art/Framework/Principal/Handle.h"
#include "art/Framework/Principal/Run.h"
#include "art/Framework/Principal/SubRun.h"
#include "canvas/Utilities/InputTag.h"
#include "fhiclcpp/ParameterSet.h"
#include "messagefacility/MessageLogger/MessageLogger.h"
#include "larcore/Geometry/Geometry.h"
#include "larsim/MCCheater/BackTrackerService.h"
#include "larsim/MCCheater/ParticleInventoryService.h"
#include "lardataobj/Simulation/SimEnergyDeposit.h"
#include "protoduneana/Utilities/ProtoDUNETruthUtils.h"
#include "nusimdata/SimulationBase/MCParticle.h"
#include "nusimdata/SimulationBase/MCTruth.h"
#include "TTree.h"
#include "art_root_io/TFileService.h"
#include <deque>

Go to the source code of this file.

Classes

class  pionana::TruthAnalyzer
 

Namespaces

 pionana
 

Functions

std::vector< int > pionana::MakeSlices (double E0, double Ef, double p, const simb::MCParticle *part)
 
std::map< size_t, double > pionana::GetEDepByTraj (const simb::MCParticle *part, int id, const std::vector< sim::SimEnergyDeposit > &dep_vec, const sim::ParticleList &plist)
 
std::map< size_t, std::vector< int > > pionana::GetEMDaughterByTraj (const simb::MCParticle *part, const sim::ParticleList &plist)
 
double pionana::gamma (double KE, const simb::MCParticle *part)
 
double pionana::beta (double KE, const simb::MCParticle *part)
 
double pionana::Tmax (double KE, const simb::MCParticle *part)
 
double pionana::dEdX (double KE, const simb::MCParticle *part)
 
double pionana::MPV (double KE, double p, const simb::MCParticle *part)
 

Variables

double pionana::K = .30705
 
double pionana::A = 39.95
 
double pionana::Z = 18
 
double pionana::I = 188.e-6
 
double pionana::me = .511
 
double pionana::rho = 1.39