HitCreationBaseTool class.
More...
#include <HitCreationBaseTool.h>
|
virtual void | GetBestPosition3D (const pandora::HitType hitType1, const pandora::HitType hitType2, const pandora::CartesianPointVector &fitPositionList1, const pandora::CartesianPointVector &fitPositionList2, ProtoHit &protoHit) const |
| Get the three dimensional position using a provided two dimensional calo hit and candidate fit positions from the other two views. More...
|
|
virtual void | GetBestPosition3D (const pandora::HitType hitType1, const pandora::HitType hitType2, const pandora::CartesianVector &fitPosition1, const pandora::CartesianVector &fitPosition2, ProtoHit &protoHit) const |
| Get the three dimensional position using a provided two dimensional calo hit and candidate fit positions from the other two views. More...
|
|
virtual void | GetBestPosition3D (const pandora::HitType hitType, const pandora::CartesianVector &fitPosition, ProtoHit &protoHit) const |
| Get the three dimensional position using a provided two dimensional calo hit and a candidate fit position from another view. More...
|
|
virtual pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
|
lar_content::HitCreationBaseTool::HitCreationBaseTool |
( |
| ) |
|
Default constructor.
Definition at line 20 of file HitCreationBaseTool.cc.
double m_sigmaX2
The sigmaX squared value, for calculation of chi2 deltaX term.
double m_chiSquaredCut
The chi squared cut (accept only values below the cut value)
lar_content::HitCreationBaseTool::~HitCreationBaseTool |
( |
| ) |
|
|
virtual |
virtual void lar_content::HitCreationBaseTool::GetBestPosition3D |
( |
const pandora::HitType |
hitType1, |
|
|
const pandora::HitType |
hitType2, |
|
|
const pandora::CartesianPointVector & |
fitPositionList1, |
|
|
const pandora::CartesianPointVector & |
fitPositionList2, |
|
|
ProtoHit & |
protoHit |
|
) |
| const |
|
protectedvirtual |
Get the three dimensional position using a provided two dimensional calo hit and candidate fit positions from the other two views.
- Parameters
-
hitType1 | the hit type identifying the first view |
hitType2 | the hit type identifying the second view |
fitPositionList1 | the candidate sliding fit position in the first view |
fitPositionList2 | the candidate sliding fit position in the second view |
protoHit | to receive the populated proto hit |
virtual void lar_content::HitCreationBaseTool::GetBestPosition3D |
( |
const pandora::HitType |
hitType1, |
|
|
const pandora::HitType |
hitType2, |
|
|
const pandora::CartesianVector & |
fitPosition1, |
|
|
const pandora::CartesianVector & |
fitPosition2, |
|
|
ProtoHit & |
protoHit |
|
) |
| const |
|
protectedvirtual |
Get the three dimensional position using a provided two dimensional calo hit and candidate fit positions from the other two views.
- Parameters
-
hitType1 | the hit type identifying the first view |
hitType2 | the hit type identifying the second view |
fitPosition1 | the candidate sliding fit position in the first view |
fitPosition2 | the candidate sliding fit position in the second view |
protoHit | to receive the populated proto hit |
virtual void lar_content::HitCreationBaseTool::GetBestPosition3D |
( |
const pandora::HitType |
hitType, |
|
|
const pandora::CartesianVector & |
fitPosition, |
|
|
ProtoHit & |
protoHit |
|
) |
| const |
|
protectedvirtual |
Get the three dimensional position using a provided two dimensional calo hit and a candidate fit position from another view.
- Parameters
-
hitType | the hit type identifying the other view |
fitPosition | the candidate sliding fit position in the other view |
protoHit | to receive the populated proto hit |
StatusCode lar_content::HitCreationBaseTool::ReadSettings |
( |
const pandora::TiXmlHandle |
xmlHandle | ) |
|
|
protectedvirtual |
Reimplemented in lar_content::TrackHitsBaseTool, lar_content::ShowerHitsBaseTool, lar_content::LongitudinalTrackHitsBaseTool, and lar_content::ThreeViewShowerHitsTool.
Definition at line 136 of file HitCreationBaseTool.cc.
140 PANDORA_RETURN_RESULT_IF_AND_IF(STATUS_CODE_SUCCESS, STATUS_CODE_NOT_FOUND, !=, XmlHelper::ReadValue(xmlHandle,
"SigmaX", sigmaX));
144 if (
m_sigmaX2 < std::numeric_limits<double>::epsilon())
146 std::cout <<
"HitCreationBaseTool - Invalid parameter, SigmaX: " << sigmaX <<
std::endl;
147 return STATUS_CODE_INVALID_PARAMETER;
150 PANDORA_RETURN_RESULT_IF_AND_IF(STATUS_CODE_SUCCESS, STATUS_CODE_NOT_FOUND, !=, XmlHelper::ReadValue(xmlHandle,
"ChiSquaredCut",
m_chiSquaredCut));
152 return STATUS_CODE_SUCCESS;
double m_sigmaX2
The sigmaX squared value, for calculation of chi2 deltaX term.
double m_chiSquaredCut
The chi squared cut (accept only values below the cut value)
QTextStream & endl(QTextStream &s)
virtual void lar_content::HitCreationBaseTool::Run |
( |
ThreeDHitCreationAlgorithm *const |
pAlgorithm, |
|
|
const pandora::ParticleFlowObject *const |
pPfo, |
|
|
const pandora::CaloHitVector & |
inputTwoDHits, |
|
|
ProtoHitVector & |
protoHitVector |
|
) |
| |
|
pure virtual |
double lar_content::HitCreationBaseTool::m_chiSquaredCut |
|
protected |
double lar_content::HitCreationBaseTool::m_sigmaX2 |
|
protected |
The sigmaX squared value, for calculation of chi2 deltaX term.
Definition at line 85 of file HitCreationBaseTool.h.
The documentation for this class was generated from the following files: