Class KPSRecoManager

Inheritance Relationships

Base Type

  • public larcv_base

Class Documentation

class KPSRecoManager : public larcv_base

Uses all the different larflow::reco classes and executes event reconstruction.

Public Functions

KPSRecoManager(std::string inputfile = "outana_kpsrecomanager.root")

constructor where an output file is made

Parameters
  • inputfile_name: Name of output file for non-larcv and non-larlite reco products

~KPSRecoManager()
void process(larcv::IOManager &iolcv, larlite::storage_manager &ioll)

process event data in larcv and larlite IO managers

Parameters
  • iolcv: LArCV IO manager
  • ioll: larlite IO manager

void recoKeypoints(larcv::IOManager &iolcv, larlite::storage_manager &ioll)

make keypoints for use to help make particle track and nu interaction candidates

Parameters
  • iolcv: LArCV IO manager
  • ioll: larlite IO manager

void recoParticles(larcv::IOManager &iolcv, larlite::storage_manager &ioll)

reconstruct tracks and showers

Parameters
  • iolcv: LArCV IO manager
  • ioll: larlite IO manager

void multiProngReco(larcv::IOManager &iolcv, larlite::storage_manager &ioll)

reconstruct tracks and showers attached to vertices

Parameters
  • iolcv: LArCV IO manager
  • ioll: larlite IO manager

void write_ana_file()

write the reco products to file

Public Members

ublarcvapp::EmptyChannelAlgo _badchmaker

bad channel image maker. also finds empty channels.

KeypointReco _kpreco_nu

reconstruct keypoints from network scores for neutrino class

KeypointReco _kpreco_track

reconstruct keypoints from network scores for track class

KeypointReco _kpreco_shower

reconstruct keypoints from network scores for shower class

KeypointReco _kpreco_track_cosmic

reconstruct keypoints from network scores for track class on wirecell cosmic-tagged spacepoints

KeypointFilterByClusterSize _kpfilter

filter out reconstructed keypoints on small clusters

KeypointFilterByWCTagger _wcfilter

filter out keypoints on wirecell cosmic-tagged pixes

SplitHitsBySSNet _splithits_full

splits shower space points from track spacepoints

SplitHitsBySSNet _splithits_wcfilter

splits shower spacepoints from track spacepoints for wc filtered hits

ProjectionDefectSplitter _projsplitter

split wirecell filtered track clusters into straight clusters

ProjectionDefectSplitter _projsplitter_cosmic

split cosmic-track clusters into straight clusters

ShowerRecoKeypoint _showerkp

reconstruct shower prongs using shower hits and shower keypoints

ChooseMaxLArFlowHit _choosemaxhit

reduce cosmic-track hits using max larmatch score

NuVertexMaker _nuvertexmaker

make proto-vertices from prongs

CosmicTrackBuilder _cosmic_track_builder

build tracks using cosmic clusters

NuTrackBuilder _nu_track_builder

build tracs for non-comic track clusters

Protected Functions

void make_ana_file()

create ana file and define output tree

The tree created is KPSRecoManagerTree.

Protected Attributes

TFile *_ana_file

output file for non-larlite and non-larcv reco products

TTree *_ana_tree

tree to store non-larlite and non-larcv reco products

std::string _ana_output_file

name of the ana file to create

int _ana_run

run number for tree entry

int _ana_subrun

subrun number for tree entry

int _ana_event

event number for tree entry