LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "ClusterParamsAlg.h"
Public Member Functions | |
ClusterParamsAlg () | |
ClusterParamsAlg (const std::vector< util::PxHit > &) | |
void | Initialize () |
void | SetMinNHits (size_t nhit) |
size_t | MinNHits () const |
int | SetHits (const std::vector< util::PxHit > &) |
void | SetRefineDirectionQMin (double qmin) |
void | SetVerbose (bool yes=true) |
template<typename Stream > | |
void | TimeReport (Stream &stream) const |
void | GetFANNVector (std::vector< float > &data) |
void | PrintFANNVector () |
void | FillParams (util::GeometryUtilities const &gser, bool override_DoGetAverages=false, bool override_DoGetRoughAxis=false, bool override_DoGetProfileInfo=false, bool override_DoRefineStartPointsAndDirection=false, bool override_DoGetFinalSlope=false, bool override_DoTrackShowerSep=false, bool override_DoEndCharge=false) |
const cluster_params & | GetParams () const |
void | GetAverages (bool override=false) |
void | GetRoughAxis (bool override=false) |
void | GetProfileInfo (util::GeometryUtilities const &gser, bool override=false) |
void | RefineStartPoints (util::GeometryUtilities const &gser) |
void | GetFinalSlope (util::GeometryUtilities const &gser, bool override=false) |
void | GetEndCharges (util::GeometryUtilities const &gser, bool override_=false) |
void | RefineDirection (bool override=false) |
void | RefineStartPointAndDirection (util::GeometryUtilities const &gser, bool override=false) |
void | TrackShowerSeparation (bool override=false) |
void | setNeuralNetPath (std::string s) |
void | FillPolygon (util::GeometryUtilities const &gser) |
void | GetOpeningAngle () |
const util::PxPoint & | RoughStartPoint () |
const util::PxPoint & | RoughEndPoint () |
double | RoughSlope () |
double | RoughIntercept () |
double | StartCharge (util::GeometryUtilities const &gser, float length=1., unsigned int nbins=10) |
Returns the expected charge at the beginning of the cluster. More... | |
double | EndCharge (util::GeometryUtilities const &gser, float length=1., unsigned int nbins=10) |
Returns the expected charge at the end of the cluster. More... | |
float | MultipleHitWires () |
Returns the number of multiple hits per wire. More... | |
float | MultipleHitDensity (util::GeometryUtilities const &gser) |
Returns the number of multiple hits per wire. More... | |
void | EnableFANN () |
void | DisableFANN () |
size_t | GetNHits () const |
const std::vector< util::PxHit > & | GetHitVector () const |
int | Plane () const |
void | SetPlane (int p) |
Public Attributes | |
cluster::cluster_params | fParams |
std::string | fNeuralNetPath |
std::vector< std::string > | fTimeRecord_ProcName |
std::vector< double > | fTimeRecord_ProcTime |
Protected Member Functions | |
double | IntegrateFitCharge (util::GeometryUtilities const &gser, double from_length, double to_length, unsigned int fit_first_bin, unsigned int fit_end_bin) |
Integrates the charge between two positions in the cluster axis. More... | |
Static Protected Member Functions | |
static double | LinearIntegral (double m, double q, double x1, double x2) |
Returns the integral of f(x) = mx + q defined in [x1, x2]. More... | |
Protected Attributes | |
size_t | fMinNHits |
Cut value for # hits: below this value clusters are not evaluated. More... | |
std::vector< util::PxHit > | fHitVector |
bool | verbose |
std::vector< double > | fChargeCutoffThreshold |
int | fPlane |
double | fQMinRefDir |
std::vector< double > | fChargeProfile |
std::vector< double > | fCoarseChargeProfile |
std::vector< double > | fChargeProfileNew |
int | fCoarseNbins |
int | fProfileNbins |
int | fProfileMaximumBin |
double | fProfileIntegralForward |
double | fProfileIntegralBackward |
double | fProjectedLength |
double | fBeginIntercept |
double | fEndIntercept |
double | fInterHigh_side |
double | fInterLow_side |
bool | fFinishedGetAverages |
bool | fFinishedGetRoughAxis |
bool | fFinishedGetProfileInfo |
bool | fFinishedRefineStartPoints |
bool | fFinishedRefineDirection |
bool | fFinishedGetFinalSlope |
bool | fFinishedRefineStartPointAndDirection |
bool | fFinishedTrackShowerSep |
bool | fFinishedGetEndCharges |
double | fRough2DSlope |
double | fRough2DIntercept |
util::PxPoint | fRoughBeginPoint |
util::PxPoint | fRoughEndPoint |
bool | enableFANN |
Definition at line 24 of file ClusterParamsAlg.h.
cluster::ClusterParamsAlg::ClusterParamsAlg | ( | ) |
Definition at line 32 of file ClusterParamsAlg.cxx.
References enableFANN, fMinNHits, Initialize(), and verbose.
cluster::ClusterParamsAlg::ClusterParamsAlg | ( | const std::vector< util::PxHit > & | inhitlist | ) |
Definition at line 40 of file ClusterParamsAlg.cxx.
References enableFANN, fMinNHits, SetHits(), and verbose.
|
inline |
Definition at line 227 of file ClusterParamsAlg.h.
void cluster::ClusterParamsAlg::EnableFANN | ( | ) |
double cluster::ClusterParamsAlg::EndCharge | ( | util::GeometryUtilities const & | gser, |
float | length = 1. , |
||
unsigned int | nbins = 10 |
||
) |
Returns the expected charge at the end of the cluster.
nbins | use at least this number of charge bins from charge profile |
length | space before the end of cluster where to collect charge, in cm the expected charge at the end of the cluster |
This method returns the charge under the last length cm of the cluster. See StartCharge() for a detailed explanation. For even more details, see IntegrateFitCharge().
Definition at line 1448 of file ClusterParamsAlg.cxx.
References fChargeProfile, fHitVector, fProjectedLength, GetProfileInfo(), and IntegrateFitCharge().
Referenced by cluster::StandardClusterParamsAlg::EndCharge(), and GetEndCharges().
void cluster::ClusterParamsAlg::FillParams | ( | util::GeometryUtilities const & | gser, |
bool | override_DoGetAverages = false , |
||
bool | override_DoGetRoughAxis = false , |
||
bool | override_DoGetProfileInfo = false , |
||
bool | override_DoRefineStartPointsAndDirection = false , |
||
bool | override_DoGetFinalSlope = false , |
||
bool | override_DoTrackShowerSep = false , |
||
bool | override_DoEndCharge = false |
||
) |
Runs all the functions which calculate cluster params and stashes the results in the private ClusterParams struct.
override_DoGetAverages | force re-execution of GetAverages() |
override_DoGetRoughAxis | force re-execution of GetRoughAxis() |
override_DoGetProfileInfo | force re-execution of GetProfileInfo() |
override_DoRefineStartPoints | force re-execution of RefineStartPoints() |
override_DoGetFinalSlope | force re-execution of GetFinalSlope() |
override_DoEndCharge | force re-execution of GetEndCharges() |
Definition at line 177 of file ClusterParamsAlg.cxx.
References GetAverages(), GetEndCharges(), GetFinalSlope(), GetProfileInfo(), GetRoughAxis(), RefineStartPointAndDirection(), and TrackShowerSeparation().
void cluster::ClusterParamsAlg::FillPolygon | ( | util::GeometryUtilities const & | gser | ) |
Definition at line 1236 of file ClusterParamsAlg.cxx.
References fHitVector, fParams, fTimeRecord_ProcName, fTimeRecord_ProcTime, cluster::cluster_params::PolyObject, and util::GeometryUtilities::SelectPolygonHitList().
void cluster::ClusterParamsAlg::GetAverages | ( | bool | override = false | ) |
Calculates the following variables: mean_charge mean_x mean_y charge_wgt_x charge_wgt_y eigenvalue_principal eigenvalue_secondary multi_hit_wires N_Wires
override | force recalculation of variables |
Definition at line 195 of file ClusterParamsAlg.cxx.
References lar::util::StatCollector< T, W >::add(), lar::util::StatCollector< T, W >::Average(), cluster::cluster_params::charge_wgt_x, cluster::cluster_params::charge_wgt_y, cluster::cluster_params::eigenvalue_principal, cluster::cluster_params::eigenvalue_secondary, fFinishedGetAverages, fHitVector, fParams, fTimeRecord_ProcName, fTimeRecord_ProcTime, cluster::cluster_params::mean_ADC, cluster::cluster_params::mean_charge, cluster::cluster_params::mean_x, cluster::cluster_params::mean_y, cluster::cluster_params::multi_hit_wires, cluster::cluster_params::N_Hits, cluster::cluster_params::N_Wires, lar::util::StatCollector< T, W >::RMS(), cluster::cluster_params::rms_ADC, cluster::cluster_params::rms_charge, lar::util::StatCollector< T, W >::Sum(), cluster::cluster_params::sum_ADC, and cluster::cluster_params::sum_charge.
Referenced by FillParams(), GetRoughAxis(), cluster::StandardClusterParamsAlg::Integral(), cluster::StandardClusterParamsAlg::IntegralStdDev(), cluster::StandardClusterParamsAlg::MultipleHitDensity(), MultipleHitDensity(), MultipleHitWires(), cluster::StandardClusterParamsAlg::NHits(), cluster::StandardClusterParamsAlg::SummedADC(), and cluster::StandardClusterParamsAlg::SummedADCStdDev().
void cluster::ClusterParamsAlg::GetEndCharges | ( | util::GeometryUtilities const & | gser, |
bool | override_ = false |
||
) |
Calculates the following variables: start_charge end_charge
override_ | force recompute the variables |
Definition at line 1344 of file ClusterParamsAlg.cxx.
References cluster::cluster_params::end_charge, EndCharge(), fFinishedGetEndCharges, fParams, fTimeRecord_ProcName, fTimeRecord_ProcTime, cluster::cluster_params::start_charge, and StartCharge().
Referenced by FillParams().
void cluster::ClusterParamsAlg::GetFANNVector | ( | std::vector< float > & | data | ) |
This function returns a feature vector suitable for a neural net This function uses the data from cluster_params but packages it up in a different way, and so is inappropriate to include in clusterParams.hh. That's why it's here.
data | takes a reference to a vector< float> |
Definition at line 84 of file ClusterParamsAlg.cxx.
References cluster::cluster_params::closing_angle, cluster::cluster_params::closing_angle_charge_wgt, cluster::cluster_params::eigenvalue_principal, cluster::cluster_params::eigenvalue_secondary, fParams, cluster::cluster_params::hit_density_1D, cluster::cluster_params::length, cluster::cluster_params::mean_charge, cluster::cluster_params::modified_hit_density, cluster::cluster_params::multi_hit_wires, cluster::cluster_params::N_Hits, cluster::cluster_params::N_Hits_HC, cluster::cluster_params::N_Wires, cluster::cluster_params::opening_angle, cluster::cluster_params::opening_angle_charge_wgt, PI, cluster::cluster_params::RMS_charge, cluster::cluster_params::sum_charge, and cluster::cluster_params::width.
Referenced by PrintFANNVector(), and TrackShowerSeparation().
void cluster::ClusterParamsAlg::GetFinalSlope | ( | util::GeometryUtilities const & | gser, |
bool | override = false |
||
) |
Calculates the following variables: hit_density_1D hit_density_2D angle_2d direction
override | [description] |
Calculates the following variables: angle_2d modified_hit_density
end testing
Definition at line 870 of file ClusterParamsAlg.cxx.
References cluster::cluster_params::angle_2d, fChargeProfile, fChargeProfileNew, fCoarseChargeProfile, fCoarseNbins, fFinishedGetFinalSlope, fFinishedRefineStartPoints, fHitVector, fParams, fProfileNbins, fProjectedLength, fRough2DIntercept, fRough2DSlope, fTimeRecord_ProcName, fTimeRecord_ProcTime, util::GeometryUtilities::Get2Dangle(), util::GeometryUtilities::Get2DDistance(), util::GeometryUtilities::GetPointOnLine(), cluster::cluster_params::hit_density_1D, cluster::cluster_params::length, cluster::cluster_params::mean_charge, cluster::cluster_params::modified_hit_density, cluster::cluster_params::modmeancharge, PI, RefineStartPoints(), cluster::cluster_params::start_point, and verbose.
Referenced by FillParams().
|
inline |
Definition at line 230 of file ClusterParamsAlg.h.
|
inline |
Definition at line 229 of file ClusterParamsAlg.h.
Referenced by cluster::StandardClusterParamsAlg::NInputHits(), and cmtool::CPriorityAlgoBase::Priority().
void cluster::ClusterParamsAlg::GetOpeningAngle | ( | ) |
|
inline |
Definition at line 82 of file ClusterParamsAlg.h.
Referenced by cluster::StandardClusterParamsAlg::EndOpeningAngle(), cluster::StandardClusterParamsAlg::Integral(), cluster::StandardClusterParamsAlg::IntegralStdDev(), cluster::StandardClusterParamsAlg::MultipleHitDensity(), cluster::StandardClusterParamsAlg::NHits(), cmtool::CFAlgoShowerCompat::PrintClusterInfo(), cluster::StandardClusterParamsAlg::StartAngle(), cluster::StandardClusterParamsAlg::StartOpeningAngle(), cluster::StandardClusterParamsAlg::SummedADC(), cluster::StandardClusterParamsAlg::SummedADCStdDev(), and cluster::StandardClusterParamsAlg::Width().
void cluster::ClusterParamsAlg::GetProfileInfo | ( | util::GeometryUtilities const & | gser, |
bool | override = false |
||
) |
Calculates the following variables: opening_angle opening_angle_highcharge closing_angle closing_angle_highcharge offaxis_hits
override | [description] |
Definition at line 337 of file ClusterParamsAlg.cxx.
References cluster::cluster_params::end_point, fBeginIntercept, fChargeCutoffThreshold, fChargeProfile, fCoarseChargeProfile, fCoarseNbins, fEndIntercept, fFinishedGetProfileInfo, fFinishedGetRoughAxis, fHitVector, fInterHigh_side, fInterLow_side, fParams, fPlane, fProfileIntegralBackward, fProfileIntegralForward, fProfileMaximumBin, fProfileNbins, fProjectedLength, fRough2DIntercept, fRough2DSlope, fRoughBeginPoint, fRoughEndPoint, fTimeRecord_ProcName, fTimeRecord_ProcTime, util::GeometryUtilities::Get2DDistance(), util::GeometryUtilities::GetPointOnLine(), util::GeometryUtilities::GetPointOnLineWSlopes(), GetRoughAxis(), leg, cluster::cluster_params::N_Hits, util::PxPoint::plane, cluster::cluster_params::start_point, cluster::cluster_params::sum_charge, util::PxPoint::t, verbose, util::PxPoint::w, weight, and cluster::cluster_params::width.
Referenced by EndCharge(), FillParams(), IntegrateFitCharge(), RefineStartPointAndDirection(), and cluster::StandardClusterParamsAlg::Width().
void cluster::ClusterParamsAlg::GetRoughAxis | ( | bool | override = false | ) |
Calculates the following variables: verticalness fRough2DSlope fRough2DIntercept
override | [description] |
Definition at line 268 of file ClusterParamsAlg.cxx.
References cluster::cluster_params::charge_wgt_x, cluster::cluster_params::charge_wgt_y, cluster::cluster_params::cluster_angle_2d, fFinishedGetAverages, fFinishedGetRoughAxis, fHitVector, fParams, fRough2DIntercept, fRough2DSlope, fTimeRecord_ProcName, fTimeRecord_ProcTime, GetAverages(), geo::vect::isfinite(), cluster::cluster_params::mean_charge, cluster::cluster_params::mean_x, cluster::cluster_params::mean_y, cluster::cluster_params::N_Hits, cluster::cluster_params::N_Hits_HC, PI, cluster::cluster_params::RMS_charge, cluster::cluster_params::rms_x, and cluster::cluster_params::rms_y.
Referenced by FillParams(), GetProfileInfo(), and cluster::StandardClusterParamsAlg::StartAngle().
void cluster::ClusterParamsAlg::Initialize | ( | ) |
Definition at line 126 of file ClusterParamsAlg.cxx.
References cluster::cluster_params::Clear(), fChargeCutoffThreshold, fFinishedGetAverages, fFinishedGetEndCharges, fFinishedGetFinalSlope, fFinishedGetProfileInfo, fFinishedGetRoughAxis, fFinishedRefineDirection, fFinishedRefineStartPointAndDirection, fFinishedRefineStartPoints, fFinishedTrackShowerSep, fHitVector, fParams, fProfileIntegralBackward, fProfileIntegralForward, fProfileMaximumBin, fRough2DIntercept, fRough2DSlope, fRoughBeginPoint, fRoughEndPoint, fTimeRecord_ProcName, fTimeRecord_ProcTime, util::PxPoint::t, and util::PxPoint::w.
Referenced by cluster::StandardClusterParamsAlg::Clear(), ClusterParamsAlg(), and SetHits().
|
protected |
Integrates the charge between two positions in the cluster axis.
from_length | position on the axis to start integration from, in cm |
to_length | position on the axis to end integration at, in cm |
fit_first_bin | first bin for the charge fit |
fit_end_bin | next-to-last bin for the charge fit |
This function provides an almost-punctual charge at a position in the axis. Since the effective punctual charge is 0 ADC counts by definition, the charge can be integrated for some length. The procedure is made of two steps:
The region at point 1. is from fit_first_bin
to fit_end_bin
. These are specified in bin units. The binning is the one of the charge profile. It is suggested that a few bins are always kept, say 5 to 10, to reduce statistical fluctuations but maintaining a decent hypothesis of linearity along the range. The linear fit weighs all the bins in the profile the same.
The region at point to is from from_length
to to_length
, and it is measured in cm along the cluster axis, starting at the start of the cluster.
Definition at line 1371 of file ClusterParamsAlg.cxx.
References lar::util::details::SimplePolyFitterDataBase< T, D >::add(), fChargeProfile, lar::util::details::SimplePolyFitterBase< T, 1U >::FitParameters(), fProjectedLength, GetProfileInfo(), and LinearIntegral().
Referenced by EndCharge(), and StartCharge().
|
staticprotected |
Returns the integral of f(x) = mx + q defined in [x1, x2].
Definition at line 1365 of file ClusterParamsAlg.cxx.
Referenced by IntegrateFitCharge().
|
inline |
Definition at line 33 of file ClusterParamsAlg.h.
float cluster::ClusterParamsAlg::MultipleHitDensity | ( | util::GeometryUtilities const & | gser | ) |
Returns the number of multiple hits per wire.
This returns the number of wires with mmore than one hit belonging to this cluster, divided by the cluster length in cm.
Definition at line 1488 of file ClusterParamsAlg.cxx.
References fHitVector, fParams, GetAverages(), cluster::cluster_params::length, cluster::cluster_params::multi_hit_wires, and RefineStartPoints().
float cluster::ClusterParamsAlg::MultipleHitWires | ( | ) |
Returns the number of multiple hits per wire.
This returns the fraction of wires that have more than one hit belonging to this cluster.
Definition at line 1476 of file ClusterParamsAlg.cxx.
References fHitVector, fParams, GetAverages(), cluster::cluster_params::multi_hit_wires, and cluster::cluster_params::N_Wires.
|
inline |
Definition at line 231 of file ClusterParamsAlg.h.
void cluster::ClusterParamsAlg::PrintFANNVector | ( | ) |
For debugging purposes, prints the result of GetFANNVector in a nicely formatted form.
Definition at line 104 of file ClusterParamsAlg.cxx.
References GetFANNVector(), and verbose.
void cluster::ClusterParamsAlg::RefineDirection | ( | bool | override = false | ) |
This function calculates the opening/closing angles It also makes a decision on whether or not to flip the direction the cluster. Then the start point is refined later.
override | [description] |
Definition at line 1028 of file ClusterParamsAlg.cxx.
References cluster::cluster_params::closing_angle, cluster::cluster_params::closing_angle_charge_wgt, cluster::cluster_params::end_point, fCoarseChargeProfile, fFinishedRefineDirection, fFinishedRefineStartPoints, fHitVector, fParams, fQMinRefDir, fRoughBeginPoint, fRoughEndPoint, fTimeRecord_ProcName, fTimeRecord_ProcTime, cluster::cluster_params::mean_charge, cluster::cluster_params::N_Hits, cluster::cluster_params::N_Hits_HC, cluster::cluster_params::opening_angle, cluster::cluster_params::opening_angle_charge_wgt, PI, cluster::cluster_params::start_point, cluster::cluster_params::sum_charge, util::PxPoint::t, verbose, and util::PxPoint::w.
Referenced by cluster::StandardClusterParamsAlg::EndOpeningAngle(), RefineStartPointAndDirection(), and cluster::StandardClusterParamsAlg::StartOpeningAngle().
void cluster::ClusterParamsAlg::RefineStartPointAndDirection | ( | util::GeometryUtilities const & | gser, |
bool | override = false |
||
) |
Definition at line 1261 of file ClusterParamsAlg.cxx.
References cluster::cluster_params::direction, cluster::cluster_params::end_point, fFinishedGetProfileInfo, fFinishedRefineStartPointAndDirection, fParams, fRoughBeginPoint, fRoughEndPoint, fTimeRecord_ProcName, fTimeRecord_ProcTime, GetProfileInfo(), RefineDirection(), RefineStartPoints(), cluster::cluster_params::start_point, util::PxPoint::t, verbose, and util::PxPoint::w.
Referenced by FillParams().
void cluster::ClusterParamsAlg::RefineStartPoints | ( | util::GeometryUtilities const & | gser | ) |
Calculates the following variables: length width
Calculates the following variables: length width hit_density_1D hit_density_2D direction
override | [description] |
Definition at line 686 of file ClusterParamsAlg.cxx.
References util::PxHit::charge, d, cluster::cluster_params::end_point, fFinishedRefineStartPoints, fHitVector, fParams, fRough2DSlope, fRoughBeginPoint, fRoughEndPoint, fTimeRecord_ProcName, fTimeRecord_ProcTime, util::GeometryUtilities::Get2DDistance(), cluster::cluster_params::hit_density_1D, cluster::cluster_params::hit_density_2D, cluster::cluster_params::length, cluster::cluster_params::N_Hits, util::PxPoint::plane, util::GeometryUtilities::SelectLocalHitlist(), cluster::cluster_params::start_point, util::PxPoint::t, verbose, util::PxPoint::w, cluster::cluster_params::width, and z.
Referenced by GetFinalSlope(), MultipleHitDensity(), and RefineStartPointAndDirection().
|
inline |
Definition at line 158 of file ClusterParamsAlg.h.
|
inline |
Definition at line 161 of file ClusterParamsAlg.h.
|
inline |
Definition at line 160 of file ClusterParamsAlg.h.
|
inline |
Definition at line 157 of file ClusterParamsAlg.h.
int cluster::ClusterParamsAlg::SetHits | ( | const std::vector< util::PxHit > & | inhitlist | ) |
Definition at line 48 of file ClusterParamsAlg.cxx.
References fHitVector, fMinNHits, fPlane, Initialize(), and verbose.
Referenced by ClusterParamsAlg(), and cluster::StandardClusterParamsAlg::SetHitsFromPointers().
|
inline |
Definition at line 31 of file ClusterParamsAlg.h.
Referenced by cmtool::CMManagerBase::SetClusters().
|
inline |
Definition at line 151 of file ClusterParamsAlg.h.
void cluster::ClusterParamsAlg::SetPlane | ( | int | p | ) |
Definition at line 75 of file ClusterParamsAlg.cxx.
References cluster::cluster_params::end_point, fHitVector, fParams, fPlane, fRoughBeginPoint, fRoughEndPoint, util::PxPoint::plane, and cluster::cluster_params::start_point.
|
inline |
Definition at line 37 of file ClusterParamsAlg.h.
|
inline |
Definition at line 39 of file ClusterParamsAlg.h.
Referenced by cmtool::CMManagerBase::SetClusters(), and cluster::StandardClusterParamsAlg::SetVerbose().
double cluster::ClusterParamsAlg::StartCharge | ( | util::GeometryUtilities const & | gser, |
float | length = 1. , |
||
unsigned int | nbins = 10 |
||
) |
Returns the expected charge at the beginning of the cluster.
nbins | use at least this number of charge bins from charge profile |
length | space at the start of cluster where to collect charge, in cm the expected charge at the beginning of the cluster |
ClusterParamsAlg extracts a binned charge profile, parametrized versus the distance from the start of the cluster. All the charge on the plane orthogonal to cluster axis is collapsed into the point where that plane intersects the axis. The resulting 1D distribution is then binned.
This method returns the charge under the first length cm of the cluster.
This method considers the first nbins of this charge distribution and through a linear fit determines the expected charge at the first bin. Then, it scales the result to reflect how much charge would be deposited in a space of length centimetres, according to this linear fit.
Note that length may be 0 (charge will be 0) or negative (sort of extrapolation ahead of the cluster start).
For more details, see IntegrateFitCharge().
Definition at line 1430 of file ClusterParamsAlg.cxx.
References fHitVector, and IntegrateFitCharge().
Referenced by GetEndCharges(), and cluster::StandardClusterParamsAlg::StartCharge().
void cluster::ClusterParamsAlg::TimeReport | ( | Stream & | stream | ) | const |
Definition at line 345 of file ClusterParamsAlg.h.
void cluster::ClusterParamsAlg::TrackShowerSeparation | ( | bool | override = false | ) |
Definition at line 1329 of file ClusterParamsAlg.cxx.
References enableFANN, GetFANNVector(), and verbose.
Referenced by FillParams().
|
protected |
Definition at line 287 of file ClusterParamsAlg.h.
Referenced by ClusterParamsAlg(), EnableFANN(), and TrackShowerSeparation().
|
protected |
Definition at line 267 of file ClusterParamsAlg.h.
Referenced by GetProfileInfo().
|
protected |
Definition at line 248 of file ClusterParamsAlg.h.
Referenced by GetProfileInfo(), and Initialize().
|
protected |
Definition at line 254 of file ClusterParamsAlg.h.
Referenced by EndCharge(), GetFinalSlope(), GetProfileInfo(), and IntegrateFitCharge().
|
protected |
Definition at line 257 of file ClusterParamsAlg.h.
Referenced by GetFinalSlope().
|
protected |
Definition at line 255 of file ClusterParamsAlg.h.
Referenced by GetFinalSlope(), GetProfileInfo(), and RefineDirection().
|
protected |
Definition at line 259 of file ClusterParamsAlg.h.
Referenced by GetFinalSlope(), and GetProfileInfo().
|
protected |
Definition at line 268 of file ClusterParamsAlg.h.
Referenced by GetProfileInfo().
|
protected |
Definition at line 273 of file ClusterParamsAlg.h.
Referenced by GetAverages(), GetRoughAxis(), and Initialize().
|
protected |
Definition at line 281 of file ClusterParamsAlg.h.
Referenced by GetEndCharges(), and Initialize().
|
protected |
Definition at line 278 of file ClusterParamsAlg.h.
Referenced by GetFinalSlope(), and Initialize().
|
protected |
Definition at line 275 of file ClusterParamsAlg.h.
Referenced by GetProfileInfo(), Initialize(), and RefineStartPointAndDirection().
|
protected |
Definition at line 274 of file ClusterParamsAlg.h.
Referenced by GetProfileInfo(), GetRoughAxis(), and Initialize().
|
protected |
Definition at line 277 of file ClusterParamsAlg.h.
Referenced by Initialize(), and RefineDirection().
|
protected |
Definition at line 279 of file ClusterParamsAlg.h.
Referenced by Initialize(), and RefineStartPointAndDirection().
|
protected |
Definition at line 276 of file ClusterParamsAlg.h.
Referenced by GetFinalSlope(), Initialize(), RefineDirection(), and RefineStartPoints().
|
protected |
Definition at line 280 of file ClusterParamsAlg.h.
Referenced by Initialize().
|
protected |
This vector holds the pointer to hits. This should be used for computation for speed.
Definition at line 242 of file ClusterParamsAlg.h.
Referenced by EndCharge(), FillPolygon(), GetAverages(), GetFinalSlope(), GetProfileInfo(), GetRoughAxis(), Initialize(), MultipleHitDensity(), MultipleHitWires(), RefineDirection(), RefineStartPoints(), SetHits(), SetPlane(), and StartCharge().
|
protected |
Definition at line 269 of file ClusterParamsAlg.h.
Referenced by GetProfileInfo().
|
protected |
Definition at line 270 of file ClusterParamsAlg.h.
Referenced by GetProfileInfo().
|
protected |
Cut value for # hits: below this value clusters are not evaluated.
Definition at line 236 of file ClusterParamsAlg.h.
Referenced by ClusterParamsAlg(), and SetHits().
std::string cluster::ClusterParamsAlg::fNeuralNetPath |
Definition at line 329 of file ClusterParamsAlg.h.
cluster::cluster_params cluster::ClusterParamsAlg::fParams |
Definition at line 327 of file ClusterParamsAlg.h.
Referenced by FillPolygon(), GetAverages(), GetEndCharges(), GetFANNVector(), GetFinalSlope(), GetProfileInfo(), GetRoughAxis(), Initialize(), MultipleHitDensity(), MultipleHitWires(), RefineDirection(), RefineStartPointAndDirection(), RefineStartPoints(), and SetPlane().
|
protected |
Definition at line 249 of file ClusterParamsAlg.h.
Referenced by GetProfileInfo(), SetHits(), and SetPlane().
|
protected |
Definition at line 263 of file ClusterParamsAlg.h.
Referenced by GetProfileInfo(), and Initialize().
|
protected |
Definition at line 262 of file ClusterParamsAlg.h.
Referenced by GetProfileInfo(), and Initialize().
|
protected |
Definition at line 261 of file ClusterParamsAlg.h.
Referenced by GetProfileInfo(), and Initialize().
|
protected |
Definition at line 260 of file ClusterParamsAlg.h.
Referenced by GetFinalSlope(), and GetProfileInfo().
|
protected |
Definition at line 264 of file ClusterParamsAlg.h.
Referenced by EndCharge(), GetFinalSlope(), GetProfileInfo(), and IntegrateFitCharge().
|
protected |
Definition at line 252 of file ClusterParamsAlg.h.
Referenced by RefineDirection().
|
protected |
Definition at line 284 of file ClusterParamsAlg.h.
Referenced by GetFinalSlope(), GetProfileInfo(), GetRoughAxis(), and Initialize().
|
protected |
Definition at line 283 of file ClusterParamsAlg.h.
Referenced by GetFinalSlope(), GetProfileInfo(), GetRoughAxis(), Initialize(), and RefineStartPoints().
|
protected |
Definition at line 285 of file ClusterParamsAlg.h.
Referenced by GetProfileInfo(), Initialize(), RefineDirection(), RefineStartPointAndDirection(), RefineStartPoints(), and SetPlane().
|
protected |
Definition at line 286 of file ClusterParamsAlg.h.
Referenced by GetProfileInfo(), Initialize(), RefineDirection(), RefineStartPointAndDirection(), RefineStartPoints(), and SetPlane().
std::vector<std::string> cluster::ClusterParamsAlg::fTimeRecord_ProcName |
Definition at line 331 of file ClusterParamsAlg.h.
Referenced by FillPolygon(), GetAverages(), GetEndCharges(), GetFinalSlope(), GetProfileInfo(), GetRoughAxis(), Initialize(), RefineDirection(), RefineStartPointAndDirection(), and RefineStartPoints().
std::vector<double> cluster::ClusterParamsAlg::fTimeRecord_ProcTime |
Definition at line 332 of file ClusterParamsAlg.h.
Referenced by FillPolygon(), GetAverages(), GetEndCharges(), GetFinalSlope(), GetProfileInfo(), GetRoughAxis(), Initialize(), RefineDirection(), RefineStartPointAndDirection(), and RefineStartPoints().
|
protected |
Definition at line 245 of file ClusterParamsAlg.h.
Referenced by ClusterParamsAlg(), GetFinalSlope(), GetProfileInfo(), PrintFANNVector(), RefineDirection(), RefineStartPointAndDirection(), RefineStartPoints(), SetHits(), and TrackShowerSeparation().