Namespaces | Functions
AnaUtils.h File Reference
#include <string>
#include <unordered_map>
#include <vector>
#include <TLorentzVector.h>
#include "nusimdata/SimulationBase/GTruth.h"
#include "garana/DataProducts/GTruth.h"
#include "nusimdata/SimulationBase/MCParticle.h"
#include "garana/DataProducts/FSParticle.h"
#include "garana/DataProducts/G4Particle.h"
#include "ReconstructionDataProducts/Track.h"
#include "garana/DataProducts/Track.h"
#include "ReconstructionDataProducts/Cluster.h"
#include "garana/DataProducts/CaloCluster.h"
#include "ReconstructionDataProducts/Vertex.h"
#include "garana/DataProducts/Vertex.h"
#include "ReconstructionDataProducts/Vee.h"
#include "garana/DataProducts/Vee.h"

Go to the source code of this file.

Namespaces

 gar
 General GArSoft Utilities.
 

Functions

int gar::ProcessNameToCode (std::string const &p)
 
void gar::FillGTruth (const simb::GTruth &gt, garana::GTruth &outtruth)
 
garana::GTruth gar::MakeAnaGTruth (const simb::GTruth &gt, const int &vtxregion)
 
garana::FSParticle gar::MakeFSParticle (const simb::MCParticle &mcp)
 
garana::G4Particle gar::MakeG4Particle (const simb::MCParticle &mcp, int parentPdg, int progenitorPdg, int progenitorTrackId, const vector< pair< TLorentzVector, TLorentzVector >> &positions, const vector< pair< TLorentzVector, TLorentzVector >> &momenta, const vector< int > &regions, const vector< size_t > &nptsPerRegion)
 
const garana::Track gar::MakeAnaTrack (const rec::Track &trk, const vector< pair< int, float >> &pidf, const vector< pair< int, float >> &pidb, float ionf, float ionb, const vector< pair< UInt_t, TLorentzVector >> &posBeg, const vector< pair< UInt_t, TLorentzVector >> &posEnd, const vector< pair< UInt_t, TLorentzVector >> &momBeg, const vector< pair< UInt_t, TLorentzVector >> &momEnd, const vector< pair< int, float >> &edeps)
 
garana::CaloCluster gar::MakeAnaCalCluster (const rec::Cluster &clust, const int &region, const vector< pair< int, float >> &edeps)
 
garana::Vee gar::MakeAnaVee (const rec::Vee &vee)
 
garana::Vertex gar::MakeAnaVtx (const rec::Vertex &vtx)