1 #ifndef BEAMFLASHTRACKMATCHTAGGERALG_H 2 #define BEAMFLASHTRACKMATCHTAGGERALG_H 43 class BeamFlashTrackMatchTaggerAlg;
54 void RunCompatibilityCheck(std::vector<recob::OpFlash>
const&,
55 std::vector<recob::Track>
const&,
56 std::vector<anab::CosmicTag>&,
62 void SetHypothesisComparisonTree(TTree*, TH1F*, TH1F*);
64 void RunHypothesisComparison(
unsigned int const,
66 std::vector<recob::OpFlash>
const&,
67 std::vector<recob::Track>
const&,
72 void RunHypothesisComparison(
unsigned int const,
74 std::vector<recob::OpFlash>
const&,
75 std::vector<simb::MCParticle>
const&,
130 : leaf_structure(
"run/i:event/i:flash_index/i:flash_totalPE/F:flash_y/F:flash_sigmay/" 131 "F:flash_z/F:flash_sigmaz/F:flash_nOpDet/i:hyp_index/i:hyp_totalPE/F:hyp_y/" 132 "F:hyp_sigmay/F:hyp_z/F:hyp_sigmaz/F:trk_startx/F:trk_starty/F:trk_startz/" 133 "F:trk_endx/F:trk_endy/F:trk_endz/F:chi2/F")
166 void AddLightFromSegment(TVector3
const&
pt1,
168 std::vector<float>& lightHypothesis,
169 float& totalHypothesisPE,
172 float const& PromptMIPScintYield,
175 void NormalizeLightHypothesis(std::vector<float>& lightHypothesis,
176 float const& totalHypothesisPE,
179 CompatibilityResultType CheckCompatibility(std::vector<float>
const& lightHypothesis,
187 void FillFlashProperties(std::vector<float>
const& opdetVector,
195 float CalculateChi2(std::vector<float>
const&, std::vector<float>
const&);
198 void PrintTrackProperties(
recob::Track const&, std::ostream* output = &std::cout);
199 void PrintFlashProperties(
recob::OpFlash const&, std::ostream* output = &std::cout);
200 void PrintHypothesisFlashComparison(std::vector<float>
const&,
204 CompatibilityResultType,
205 std::ostream* output = &std::cout);
FlashComparisonProperties()
float fCumulativeChannelThreshold
enum anab::cosmic_tag_id CosmicTagID_t
bool fNormalizeHypothesisToFlash
const anab::CosmicTagID_t COSMIC_TYPE_OUTSIDEDRIFT
std::vector< float > cOpDetVector_flash
Interface for a class providing readout channel mapping to geometry.
FlashComparisonProperties_t cFlashComparison_p
bool fMakeOutsideDriftTags
unsigned int flash_nOpDet
General LArSoft Utilities.
Description of the physical geometry of one entire detector.
std::string leaf_structure
General LArSoft Utilities.
unsigned int fCumulativeChannelCut
Provides recob::Track data product.
std::vector< float > cOpDetVector_hyp
Container for a list of pointers to providers.
const anab::CosmicTagID_t COSMIC_TYPE_FLASHMATCH
Data structure containing constant pointers to classes.
Track from a non-cascading particle.A recob::Track consists of a recob::TrackTrajectory, plus additional members relevant for a "fitted" track: