ThreeDHitCreationAlgorithm::Algorithm class.
More...
#include "ThreeDHitCreationAlgorithm.h"
|
class | ProtoHit |
| Proto hits are temporary constructs to be used during iterative 3D hit procedure. More...
|
|
class | TrajectorySample |
| Trajectory samples record the results of sampling a particles in a particular view. More...
|
|
|
virtual StatusCode | Initialize () |
| Perform any operations that must occur after reading settings, but before running the process.
|
|
virtual StatusCode | Reset () |
| Perform any operations when pandora is reset, typically at the end of each event.
|
|
StatusCode | RegisterDetails (const Pandora *const pPandora, const std::string &type, const std::string &instanceName) |
| Register i) the pandora instance that will run the process and ii) the process type.
|
|
|
pandora::StatusCode | Run () |
| Run the algorithm.
|
|
void | SeparateTwoDHits (const pandora::ParticleFlowObject *const pPfo, const ProtoHitVector &protoHitVector, pandora::CaloHitVector &remainingHitVector) const |
| Get the list of 2D calo hits in a pfo for which 3D hits have and have not been created.
|
|
void | IterativeTreatment (ProtoHitVector &protoHitVector) const |
| Improve initial 3D hits by fitting proto hits and iteratively creating consisted 3D hit trajectory.
|
|
void | ExtractResults (const ProtoHitVector &protoHitVector, double &chi2, pandora::CartesianPointVector &pointVector) const |
| Extract key results from a provided proto hit vector.
|
|
double | GetChi2WrtFit (const ThreeDSlidingFitResult &slidingFitResult, const ProtoHitVector &protoHitVector) const |
| Receive a chi2 value indicating consistency of a list of proto hits with a provided 3D sliding fit trajectory.
|
|
double | GetHitMovementChi2 (const ProtoHitVector &protoHitVector) const |
| Receive a chi2 value indicating consistency of a list of proto hits with the original, input hit positions.
|
|
void | RefineHitPositions (const ThreeDSlidingFitResult &slidingFitResult, ProtoHitVector &protoHitVector) const |
| Refine the 3D hit positions (and chi2) for a list of proto hits, in accordance with a provided 3D sliding fit trajectory.
|
|
void | CreateThreeDHits (const ProtoHitVector &protoHitVector, pandora::CaloHitList &newThreeDHits) const |
| Create new three dimensional hits from two dimensional hits.
|
|
void | CreateThreeDHit (const ProtoHit &protoHit, const pandora::CaloHit *&pCaloHit3D) const |
| Create a new three dimensional hit from a two dimensional hit.
|
|
bool | CheckThreeDHit (const ProtoHit &protoHit) const |
| Check that a new three dimensional position is not unphysical.
|
|
void | AddThreeDHitsToPfo (const pandora::ParticleFlowObject *const pPfo, const pandora::CaloHitList &caloHitList) const |
| Add a specified list of three dimensional hits to a cluster in a pfo, creating the new cluster if required.
|
|
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
| Read the algorithm settings.
|
|
ThreeDHitCreationAlgorithm::Algorithm class.
Definition at line 27 of file ThreeDHitCreationAlgorithm.h.
◆ HitCreationToolVector
◆ ProtoHitVector
◆ TrajectorySampleVector
◆ ThreeDHitCreationAlgorithm()
lar_content::ThreeDHitCreationAlgorithm::ThreeDHitCreationAlgorithm |
( |
| ) |
|
◆ AddThreeDHitsToPfo()
Add a specified list of three dimensional hits to a cluster in a pfo, creating the new cluster if required.
- Parameters
-
pPfo | the address of the pfo |
caloHitList | the list of three dimensional hits |
Definition at line 391 of file ThreeDHitCreationAlgorithm.cc.
◆ CheckThreeDHit()
bool lar_content::ThreeDHitCreationAlgorithm::CheckThreeDHit |
( |
const ProtoHit & |
protoHit | ) |
const |
|
private |
Check that a new three dimensional position is not unphysical.
- Parameters
-
protoHit | the proto hit |
boolean | |
Definition at line 373 of file ThreeDHitCreationAlgorithm.cc.
◆ CreateThreeDHit()
void lar_content::ThreeDHitCreationAlgorithm::CreateThreeDHit |
( |
const ProtoHit & |
protoHit, |
|
|
const pandora::CaloHit *& |
pCaloHit3D |
|
) |
| const |
|
private |
Create a new three dimensional hit from a two dimensional hit.
- Parameters
-
protoHit | the proto hit containing all required information |
pCaloHit3D | to receive the address of the new three dimensional calo hit |
Definition at line 338 of file ThreeDHitCreationAlgorithm.cc.
◆ CreateThreeDHits()
Create new three dimensional hits from two dimensional hits.
- Parameters
-
protoHitVector | the input proto hit vector |
newThreeDHits | to receive the addresses of the new three dimensional calo hits |
Definition at line 322 of file ThreeDHitCreationAlgorithm.cc.
◆ ExtractResults()
Extract key results from a provided proto hit vector.
- Parameters
-
protoHitVector | the proto hit vector |
chi2 | to receive the sum of the proto hit chi2 values |
pointVector | to receive a vector of proto hit 3D positions |
Definition at line 180 of file ThreeDHitCreationAlgorithm.cc.
◆ FilterCaloHitsByType()
Get the subset of a provided calo hit vector corresponding to a specified hit type.
- Parameters
-
inputCaloHitVector | the input calo hit vector |
hitType | the hit type to filter upon |
outputCaloHitVector | to receive the output calo hit vector |
Definition at line 39 of file ThreeDHitCreationAlgorithm.cc.
◆ GetChi2WrtFit()
Receive a chi2 value indicating consistency of a list of proto hits with a provided 3D sliding fit trajectory.
- Parameters
-
slidingFitResult | the 3D sliding fit result |
protoHitVector | the proto hit vector |
- Returns
- the chi2 value
Definition at line 194 of file ThreeDHitCreationAlgorithm.cc.
◆ GetHitMovementChi2()
double lar_content::ThreeDHitCreationAlgorithm::GetHitMovementChi2 |
( |
const ProtoHitVector & |
protoHitVector | ) |
const |
|
private |
Receive a chi2 value indicating consistency of a list of proto hits with the original, input hit positions.
- Parameters
-
protoHitVector | the proto hit vector |
- Returns
- the chi2 value
Definition at line 230 of file ThreeDHitCreationAlgorithm.cc.
◆ GetInstanceName()
const std::string & pandora::Process::GetInstanceName |
( |
| ) |
const |
|
inlineinherited |
Get the instance name.
- Returns
- The instance name
Definition at line 109 of file Process.h.
◆ GetPandora()
const Pandora & pandora::Process::GetPandora |
( |
| ) |
const |
|
inlineinherited |
Get the associated pandora instance.
- Returns
- the associated pandora instance
Definition at line 116 of file Process.h.
◆ GetType()
const std::string & pandora::Process::GetType |
( |
| ) |
const |
|
inlineinherited |
Get the type.
- Returns
- The type
Definition at line 102 of file Process.h.
◆ Initialize()
|
inlineprotectedvirtualinherited |
◆ IterativeTreatment()
void lar_content::ThreeDHitCreationAlgorithm::IterativeTreatment |
( |
ProtoHitVector & |
protoHitVector | ) |
const |
|
private |
Improve initial 3D hits by fitting proto hits and iteratively creating consisted 3D hit trajectory.
- Parameters
-
protoHitVector | the vector of proto hits, describing current state of 3D hit construction |
Definition at line 138 of file ThreeDHitCreationAlgorithm.cc.
◆ ReadSettings()
◆ RefineHitPositions()
Refine the 3D hit positions (and chi2) for a list of proto hits, in accordance with a provided 3D sliding fit trajectory.
- Parameters
-
slidingFitResult | the 3D sliding fit result |
protoHitVector | the proto hit vector, non const as proto hit properties will be updated |
Definition at line 251 of file ThreeDHitCreationAlgorithm.cc.
◆ RegisterDetails()
StatusCode pandora::Process::RegisterDetails |
( |
const Pandora *const |
pPandora, |
|
|
const std::string & |
type, |
|
|
const std::string & |
instanceName |
|
) |
| |
|
inlineprotectedinherited |
Register i) the pandora instance that will run the process and ii) the process type.
- Parameters
-
pPandora | address of the pandora object that will run the process |
type | the process type |
instanceName | the process instance name |
Definition at line 146 of file Process.h.
◆ Reset()
|
inlineprotectedvirtualinherited |
◆ Run()
StatusCode lar_content::ThreeDHitCreationAlgorithm::Run |
( |
| ) |
|
|
privatevirtual |
◆ SeparateTwoDHits()
Get the list of 2D calo hits in a pfo for which 3D hits have and have not been created.
- Parameters
-
pPfo | the address of the pfo |
protoHitVector | the vector of proto hits, describing current state of 3D hit construction |
remainingHitVector | to receive the vector of 2D calo hits for which 3D hits have not been created |
Definition at line 105 of file ThreeDHitCreationAlgorithm.cc.
◆ m_algorithmToolVector
◆ m_inputPfoListName
std::string lar_content::ThreeDHitCreationAlgorithm::m_inputPfoListName |
|
private |
◆ m_instanceName
std::string pandora::Process::m_instanceName |
|
protectedinherited |
The process instance name.
Definition at line 89 of file Process.h.
◆ m_iterateShowerHits
bool lar_content::ThreeDHitCreationAlgorithm::m_iterateShowerHits |
|
private |
◆ m_iterateTrackHits
bool lar_content::ThreeDHitCreationAlgorithm::m_iterateTrackHits |
|
private |
◆ m_iterationMaxChi2Ratio
double lar_content::ThreeDHitCreationAlgorithm::m_iterationMaxChi2Ratio |
|
private |
◆ m_nHitRefinementIterations
unsigned int lar_content::ThreeDHitCreationAlgorithm::m_nHitRefinementIterations |
|
private |
◆ m_outputCaloHitListName
std::string lar_content::ThreeDHitCreationAlgorithm::m_outputCaloHitListName |
|
private |
◆ m_outputClusterListName
std::string lar_content::ThreeDHitCreationAlgorithm::m_outputClusterListName |
|
private |
◆ m_pPandora
const Pandora* pandora::Process::m_pPandora |
|
protectedinherited |
The pandora object that will run the process.
Definition at line 87 of file Process.h.
◆ m_sigma3DFitMultiplier
double lar_content::ThreeDHitCreationAlgorithm::m_sigma3DFitMultiplier |
|
private |
◆ m_slidingFitHalfWindow
unsigned int lar_content::ThreeDHitCreationAlgorithm::m_slidingFitHalfWindow |
|
private |
◆ m_type
std::string pandora::Process::m_type |
|
protectedinherited |
The process type.
Definition at line 88 of file Process.h.
The documentation for this class was generated from the following files: