Namespaces | Functions
AssignLabels.cxx File Reference
#include "art/Framework/Services/Registry/ServiceHandle.h"
#include "canvas/Persistency/Common/FindManyP.h"
#include "art/Framework/Principal/Event.h"
#include "canvas/Utilities/InputTag.h"
#include "CVN/func/AssignLabels.h"
#include "CVN/func/InteractionType.h"
#include "CVN/func/TrainingData.h"
#include "CVN/func/ProngType.h"
#include "CVN/func/HitType.h"
#include "MCCheater/BackTracker.h"
#include "RecoBase/Cluster.h"
#include "nusimdata/SimulationBase/MCTruth.h"
#include "nusimdata/SimulationBase/MCParticle.h"
#include "nusimdata/SimulationBase/MCFlux.h"

Go to the source code of this file.

Namespaces

 cvn
 Defines an enumeration for prong classification.
 

Functions

std::map< int, intcvn::GetMultiplicityMap (const art::Ptr< simb::MCTruth > truth, std::vector< int > PDGs, bool *isnuint, bool *iscc, int *nupdg, int *trueMode)
 
FinalStateType cvn::GetFinalStateType (const art::Ptr< simb::MCTruth > truth)
 
FinalStateProngsType cvn::GetFinalStateProngsType (const art::Ptr< simb::MCTruth > truth)
 
InteractionType cvn::GetInteractionType (const simb::MCTruth &truth)
 
InteractionType cvn::GetInteractionTypeFromSlice (int pdg, bool iscc, int trueMode)
 
InteractionType cvn::SliceClassify (const art::Ptr< simb::MCTruth > truth, const rb::Cluster &slice, float &nuEnergy, float &lepEnergy, double &vtxx, double &vtxy, double &vtxz)
 
ParticlesType cvn::MakeParticleLabel (const art::Ptr< simb::MCTruth > truth, std::string NuType)
 
ParticlesType cvn::ParticlesSliceClassify (const art::Ptr< simb::MCTruth > truth, const rb::Cluster &slice, float &nuEnergy, float &lepEnergy, double &vtxx, double &vtxy, double &vtxz)
 
HitType cvn::GetHitTypeByPDG (int pdg)
 
HitType cvn::HitClassify (art::Ptr< rb::CellHit > Hit, HitType *hType, double *hPurity)
 
int cvn::HitObject (art::Ptr< rb::CellHit > Hit, int &hObjectCount, std::map< int, int > &hObjectMap)
 
int cvn::HitNuIndex (art::Ptr< rb::CellHit > Hit, const rb::Cluster &evtCluster)
 
ParentParticleType cvn::GetParentParticleType (const art::Ptr< simb::MCTruth > truth, const art::Event &evt)
 
ProngType cvn::GetTypeByPDG (int pdg)
 
ProngType cvn::ProngClassify (const rb::Prong &prong, ProngType *pType3D, ProngType *pTypeX, ProngType *pTypeY, bool *isprimary, double *purity3D, double *purityX, double *purityY, double *recE, unsigned int *ncellX, unsigned int *ncellY)
 
std::vector< std::pair< int, double > > cvn::GetProngPurityByPDG (const rb::Cluster &prong)
 
std::vector< std::pair< int, double > > cvn::GetProngEfficiencyByPDG (const rb::Cluster &prong, const rb::Cluster &slice)
 
std::vector< std::pair< int, double > > cvn::GetProngEnergyByPDG (const rb::Cluster &prong)
 
std::vector< std::pair< int, double > > cvn::Get2DProngPurityByPDG (const rb::Cluster &prong)
 
std::vector< std::pair< int, double > > cvn::Get2DProngEfficiencyByPDG (const rb::Cluster &prong, const rb::Cluster &slice)
 
std::vector< std::pair< int, double > > cvn::Get2DProngEnergyByPDG (const rb::Cluster &prong)