1 #ifndef SBNCODE_SINGLEPHOTONANALYSIS_ANALYZE_MC_H
2 #define SBNCODE_SINGLEPHOTONANALYSIS_ANALYZE_MC_H
7 #include "art/Framework/Principal/Event.h"
8 #include "nusimdata/SimulationBase/simb.h"
9 #include "nusimdata/SimulationBase/MCTruth.h"
17 namespace single_photon
28 std::vector<PandoraPFParticle> all_PPFPs,
29 std::map<
int, art::Ptr<simb::MCParticle>> & MCParticleToTrackIDMap,
30 std::map<art::Ptr<recob::Shower>, art::Ptr<simb::MCParticle> > & showerToMCParticleMap,
31 std::map<art::Ptr<recob::Track>, art::Ptr<simb::MCParticle> > &trackToMCParticleMap,
40 #endif // SBNCODE_SINGLEPHOTONANALYSIS_ANALYZE_MC_H
void AnalyzeEventWeight(art::Event const &e, var_all &vars)
void AnalyzeGeant4(const std::vector< art::Ptr< simb::MCParticle >> &mcParticleVector, var_all &vars)
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Provides recob::Track data product.
void AnalyzeMCTruths(std::vector< art::Ptr< simb::MCTruth >> &mcTruthVector, std::vector< art::Ptr< simb::MCParticle >> &mcParticleVector, var_all &vars, para_all ¶s)
void AnalyzeRecoMCSlices(std::string signal_def, std::vector< PandoraPFParticle > all_PPFPs, std::map< int, art::Ptr< simb::MCParticle >> &MCParticleToTrackIDMap, std::map< art::Ptr< recob::Shower >, art::Ptr< simb::MCParticle > > &showerToMCParticleMap, std::map< art::Ptr< recob::Track >, art::Ptr< simb::MCParticle > > &trackToMCParticleMap, var_all &vars, para_all ¶s)