1 #ifndef BEAMFLASHTRACKMATCHTAGGERALG_H 2 #define BEAMFLASHTRACKMATCHTAGGERALG_H 45 class BeamFlashTrackMatchTaggerAlg;
56 void RunCompatibilityCheck(std::vector<recob::OpFlash>
const&,
57 std::vector<recob::Track>
const&,
58 std::vector<anab::CosmicTag>&,
64 void SetHypothesisComparisonTree(TTree*, TH1F*, TH1F*);
66 void RunHypothesisComparison(
unsigned int const,
68 std::vector<recob::OpFlash>
const&,
69 std::vector<recob::Track>
const&,
74 void RunHypothesisComparison(
unsigned int const,
76 std::vector<recob::OpFlash>
const&,
77 std::vector<simb::MCParticle>
const&,
132 : leaf_structure(
"run/i:event/i:flash_index/i:flash_totalPE/F:flash_y/F:flash_sigmay/" 133 "F:flash_z/F:flash_sigmaz/F:flash_nOpDet/i:hyp_index/i:hyp_totalPE/F:hyp_y/" 134 "F:hyp_sigmay/F:hyp_z/F:hyp_sigmaz/F:trk_startx/F:trk_starty/F:trk_startz/" 135 "F:trk_endx/F:trk_endy/F:trk_endz/F:chi2/F")
168 void AddLightFromSegment(TVector3
const&
pt1,
170 std::vector<float>& lightHypothesis,
171 float& totalHypothesisPE,
174 float const& PromptMIPScintYield,
177 void NormalizeLightHypothesis(std::vector<float>& lightHypothesis,
178 float const& totalHypothesisPE,
181 CompatibilityResultType CheckCompatibility(std::vector<float>
const& lightHypothesis,
188 void FillFlashProperties(std::vector<float>
const& opdetVector,
196 float CalculateChi2(std::vector<float>
const&, std::vector<float>
const&);
199 void PrintTrackProperties(
recob::Track const&, std::ostream* output = &std::cout);
200 void PrintFlashProperties(
recob::OpFlash const&, std::ostream* output = &std::cout);
201 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
FlashComparisonProperties_t cFlashComparison_p
bool fMakeOutsideDriftTags
unsigned int flash_nOpDet
Provides recob::Track data product.
General LArSoft Utilities.
Description of geometry of one entire detector.
std::string leaf_structure
General LArSoft Utilities.
unsigned int fCumulativeChannelCut
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.
Namespace collecting geometry-related classes utilities.
Track from a non-cascading particle.A recob::Track consists of a recob::TrackTrajectory, plus additional members relevant for a "fitted" track: