All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
analyze_PandoraReco.h
Go to the documentation of this file.
1 #ifndef SBNCODE_SINGLEPHOTONANALYSIS_ANALYZE_PANDORARECO_H
2 #define SBNCODE_SINGLEPHOTONANALYSIS_ANALYZE_PANDORARECO_H
3 
6 
7 namespace single_photon
8 {
9 
10 
11 
12  //Analyze Tracks
13  void AnalyzeTracks(
14  std::vector<PandoraPFParticle> all_PPFPs,
15  const std::vector<art::Ptr<recob::Track>>& tracks,
16  std::map<art::Ptr<recob::PFParticle>, std::vector<art::Ptr<recob::SpacePoint>>> & pfParticleToSpacePointsMap,
17  std::map<int, art::Ptr<simb::MCParticle> > & MCParticleToTrackIdMap,
18  std::map<int, double> &sliceIdToNuScoreMap,
19  var_all& vars,
20  para_all& paras);
21 
22  void AnalyzeTrackCalo(const std::vector<art::Ptr<recob::Track>> &tracks, std::vector<PandoraPFParticle> all_PPFPs, var_all& vars, para_all& paras);
23 
24  void CollectPID(std::vector<art::Ptr<recob::Track>> & tracks,
25  std::vector<PandoraPFParticle> all_PPFPs, var_all& vars);
26 
27 
28  //Analyze falshes
29  void AnalyzeFlashes(const std::vector<art::Ptr<recob::OpFlash>>& flashes, art::Handle<std::vector<sbn::crt::CRTHit>> crthit_h, double evt_timeGPS_nsec, std::map<art::Ptr<recob::OpFlash>, std::vector< art::Ptr<sbn::crt::CRTHit>>> crtvetoToFlashMap, var_all& vars, para_all& paras);
30 
31 
32  //Analyze Showers
33  void AnalyzeShowers(
34  std::vector<PandoraPFParticle> all_PPFPs,
35  const std::vector<art::Ptr<recob::Shower>>& showers,
36  std::map<art::Ptr<recob::Cluster>, std::vector<art::Ptr<recob::Hit>> > & clusterToHitMap ,
37  double triggeroffset,
38  detinfo::DetectorPropertiesData const & theDetector,
39  var_all& vars,
40  para_all& paras);
41 }
42 #endif // SBNCODE_SINGLEPHOTONANALYSIS_ANALYZE_PANDORARECO_H
void AnalyzeTrackCalo(const std::vector< art::Ptr< recob::Track >> &tracks, std::vector< PandoraPFParticle > all_PPFPs, var_all &vars, para_all &paras)
ClusterModuleLabel join with tracks
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Definition: DumpUtils.h:265
void AnalyzeTracks(std::vector< PandoraPFParticle > all_PPFPs, const std::vector< art::Ptr< recob::Track >> &tracks, std::map< art::Ptr< recob::PFParticle >, std::vector< art::Ptr< recob::SpacePoint >>> &pfParticleToSpacePointsMap, std::map< int, art::Ptr< simb::MCParticle > > &MCParticleToTrackIdMap, std::map< int, double > &sliceIdToNuScoreMap, var_all &vars, para_all &paras)
void CollectPID(std::vector< art::Ptr< recob::Track >> &tracks, std::vector< PandoraPFParticle > all_PPFPs, var_all &vars)
void AnalyzeShowers(std::vector< PandoraPFParticle > all_PPFPs, const std::vector< art::Ptr< recob::Shower >> &showers, std::map< art::Ptr< recob::Cluster >, std::vector< art::Ptr< recob::Hit >> > &clusterToHitMap, double triggeroffset, detinfo::DetectorPropertiesData const &theDetector, var_all &vars, para_all &paras)
void AnalyzeFlashes(const std::vector< art::Ptr< recob::OpFlash >> &flashes, art::Handle< std::vector< sbn::crt::CRTHit >> crthit_h, double evt_timeGPS_nsec, std::map< art::Ptr< recob::OpFlash >, std::vector< art::Ptr< sbn::crt::CRTHit >>> crtvetoToFlashMap, var_all &vars, para_all &paras)