-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to Vertex Reconstruction (#226)
* Update to Vertex Reconstruction, including new FineGrid search and mean time selection * False Commit to enable checkout; please ignore. * Edited recent vertex reconstruction updates for better mesh with TA code Removed redundant GenerateFineGrid function in VtxSeedGenerator Removed experimental penalty term calculation in FoMCalculator * Fixed small typo in VtxSeedGenerator.cpp * Fixes to VtxSeedFineGrid. Added new PDF charge fitter to FoMCalculator, and handling in VtxExtendedVertexFinder and MinuitOptimizer. This change is experimental, but should only trigger with appropriate config variables. * bug fixes to recent update * Fixes to VtxExtendedVertexFinder, and further progress in experimental charge fit. * Incremental update on pdf charge fit. Updated to chi2 definition. * Charge fit update for LikelihoodCheck tool, along with a debug ability to vary 2D angle instead of position * Further debug update of charge fit addition to FoMCalculator * Bringing up to date with new charge fitter fixes. Added VGCheck-pdfcharge.root, which is the file containing pdf plot for use within new charge fitter.
- Loading branch information
Showing
25 changed files
with
1,767 additions
and
559 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/************************************************************************* | ||
> File Name: MinuitOptimizer.hh | ||
> File Name: FoMCalculator.hh | ||
> Author: Jingbo Wang, Teal Pershing | ||
> mail: [email protected], [email protected] | ||
> Created Time: MAY 07, 2019 | ||
|
@@ -50,6 +50,7 @@ class FoMCalculator { | |
double FindSimpleTimeProperties(double myConeEdge); | ||
void TimePropertiesLnL(double vtxTime, double& vtxFom); | ||
void ConePropertiesFoM(double coneEdge, double& chi2); | ||
void ConePropertiesLnL(double vtxX, double vtxY, double VtxZ, double dirX, double dirY, double dirZ, double coneEdge, double& chi2, TH1D angularDist, double& phimax, double& phimin); | ||
void PointPositionChi2(double vtxX, double vtxY, double vtxZ, double vtxTime, double& fom); | ||
void PointDirectionChi2(double vtxX, double vtxY, double vtxZ, double dirX, double dirY, double dirZ, double coneAngle, double& fom); | ||
void PointVertexChi2(double vtxX, double vtxY, double vtxZ, | ||
|
@@ -58,6 +59,9 @@ class FoMCalculator { | |
void ExtendedVertexChi2(double vtxX, double vtxY, double vtxZ, | ||
double dirX, double dirY, double dirZ, | ||
double coneAngle, double vtxTime, double& fom); | ||
void ExtendedVertexChi2(double vtxX, double vtxY, double vtxZ, | ||
double dirX, double dirY, double dirZ, | ||
double coneAngle, double vtxTime, double& fom, TH1D pdf); | ||
// void ConePropertiesLnL(double coneParam0, double coneParam1, double coneParam2, double& coneAngle, double& coneFOM); | ||
// void CorrectedVertexChi2(double vtxX, double vtxY, double vtxZ, | ||
// double dirX, double dirY, double dirZ, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.