All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
sbnana/sbnanalysis/ana/SBNOscReco/RecoUtils/RecoUtils.h File Reference
#include "art/Framework/Principal/Event.h"
#include "fhiclcpp/ParameterSet.h"
#include "art/Framework/Principal/Handle.h"
#include "canvas/Persistency/Common/Ptr.h"
#include "canvas/Persistency/Common/PtrVector.h"
#include "canvas/Persistency/Common/FindManyP.h"
#include "nusimdata/SimulationBase/MCParticle.h"
#include "nusimdata/SimulationBase/MCTruth.h"
#include "lardataobj/RecoBase/Hit.h"
#include "lardataobj/RecoBase/Track.h"
#include "larsim/MCCheater/BackTrackerService.h"
#include "larcore/Geometry/Geometry.h"
#include "core/ProviderManager.hh"
#include <vector>
#include <map>
#include "TTree.h"

Go to the source code of this file.

Namespaces

 SBNRecoUtils
 

Functions

int SBNRecoUtils::TrueParticleID (const core::ProviderManager &manager, const art::Ptr< recob::Hit > hit, bool rollup_unsaved_ids=1)
 
int SBNRecoUtils::TrueParticleIDFromTotalTrueEnergy (const core::ProviderManager &manager, const std::vector< art::Ptr< recob::Hit > > &hits, bool rollup_unsaved_ids=1)
 
int SBNRecoUtils::TrueParticleIDFromTotalRecoCharge (const core::ProviderManager &manager, const std::vector< art::Ptr< recob::Hit > > &hits, bool rollup_unsaved_ids=1)
 
int SBNRecoUtils::TrueParticleIDFromTotalRecoHits (const core::ProviderManager &manager, const std::vector< art::Ptr< recob::Hit > > &hits, bool rollup_unsaved_ids=1)
 
bool SBNRecoUtils::IsInsideTPC (const core::ProviderManager &manager, TVector3 position, double distance_buffer)
 
double SBNRecoUtils::CalculateTrackLength (const core::ProviderManager &manager, const art::Ptr< recob::Track > track)
 
double SBNRecoUtils::TrackCompletion (const core::ProviderManager &manager, int mcparticle_id, const std::vector< art::Ptr< recob::Hit >> &reco_track_hits)