APRILContent
Algorithm of Particle Reconstruction for ILC - implementation with PandoraSDK
|
CaloHitHelper class. More...
#include <CaloHitHelper.h>
Static Public Member Functions | |
static pandora::StatusCode | RemoveCurrentConnections (const pandora::Algorithm &algorithm) |
Remove the connections of the current calo hit list. More... | |
static pandora::StatusCode | RemoveConnections (const pandora::CaloHitList *const pCaloHitList) |
Remove the connections of the calo hit list. More... | |
static pandora::StatusCode | ExtractCurrentSeedCaloHitList (const pandora::Algorithm &algorithm, pandora::CaloHitList &seedCaloHitList, bool discriminateLeafHits=false) |
Extract the calo hit seed list from the current calo hit list. More... | |
static pandora::StatusCode | ExtractSeedCaloHitList (const pandora::CaloHitList *const pCaloHitList, pandora::CaloHitList &seedCaloHitList, bool discriminateLeafHits=false) |
Extract the calo hit seed list from the calo hit list. More... | |
static pandora::StatusCode | ExtractCurrentLeafCaloHitList (const pandora::Algorithm &algorithm, pandora::CaloHitList &leafCaloHitList, bool discriminateSeedHits=false) |
Extract the calo hit leaf list from the current calo hit list. More... | |
static pandora::StatusCode | ExtractLeafCaloHitList (const pandora::CaloHitList *const pCaloHitList, pandora::CaloHitList &leafCaloHitList, bool discriminateSeedHits=false) |
Extract the calo hit leaf list from the calo hit list. More... | |
static pandora::StatusCode | BuildCaloHitList (const CaloHit *const pCaloHit, ConnectorDirection direction, pandora::CaloHitList &calohitList) |
Build the calo hit list starting from a calo hit by looking recursively in the connector list (forward or backward) More... | |
static pandora::StatusCode | BuildCaloHitList (const CaloHit *const pCaloHit, ConnectorDirection direction, pandora::CaloHitList &calohitList, unsigned int connectionLimit, unsigned int pseudoLayerLimit) |
Build the calo hit list starting from a calo hit by looking recursively in the connector list (forward or backward). Stops after n recursive steps from the initial calo hit or after reaching a pseudo layer limit. More... | |
static pandora::StatusCode | GetMeanDirection (const CaloHit *const pCaloHit, ConnectorDirection connectorDirection, pandora::CartesianVector &direction, unsigned int depth) |
Get the mean direction of the calo hit in a given direction. More... | |
static bool | CanConnect (const CaloHit *const pCaloHit1, const CaloHit *const pCaloHit2, const pandora::CartesianVector &expectedDirection, const float normaleMaxAngle, const float normaleMaxDistance, const float transverseMaxAngle, const float transverseMaxDistance) |
Whether the two calo hits can be connected. The valid region to connect two hits is contained within a cone. More... | |
static bool | CanConnect (const pandora::Track *const pTrack, const CaloHit *const pCaloHit, const float normaleMaxAngle, const float normaleMaxDistance, const float transverseMaxAngle, const float transverseMaxDistance) |
Whether the track and the calo hit can be connected. The valid region is contained within a cone. More... | |
static bool | IsInRegionOfInterest (const pandora::CartesianVector &startRegionPosition, const pandora::CartesianVector &testPosition, const pandora::CartesianVector &expectedDirection, const pandora::CartesianVector &normaleVector, const float normaleMaxAngle, const float normaleMaxDistance, const float transverseMaxAngle, const float transverseMaxDistance) |
Whether the tested position is in the region of interest. The valid region is contained within a cone. More... | |
CaloHitHelper class.
|
static |
Build the calo hit list starting from a calo hit by looking recursively in the connector list (forward or backward)
pCaloHit | the calo hit to start from |
direction | the direction to look recursively for |
caloHitList | the calo hit list recursively built to receive |
|
static |
Build the calo hit list starting from a calo hit by looking recursively in the connector list (forward or backward). Stops after n recursive steps from the initial calo hit or after reaching a pseudo layer limit.
pCaloHit | the calo hit to start from |
direction | the direction to look recursively for |
caloHitList | the calo hit list recursively built to receive |
connectionLimit | the maximum number of recursive steps from the initial calo hit |
pseudoLayerLimit | the pseudo layer limit to reach for stopping the recursive list building |
|
static |
Whether the two calo hits can be connected. The valid region to connect two hits is contained within a cone.
pCaloHit1 | a backward calo hit to connect |
pCaloHit2 | a forward calo hit to connect |
exceptedDirection | the expected of the shower development from pCaloHit1 |
normaleMaxAngle | the maximum angle between the two hits when the expected direction is colinear to the cell direction of pCaloHit1 |
normaleMaxDistance | the maximum distance between the two hits when the expected direction is colinear to the cell direction of pCaloHit1 |
transverseMaxAngle | the maximum angle between the two hits when the expected direction is perpendicular to the cell direction of pCaloHit1 |
transverseMaxDistance | the maximum distance between the two hits when the expected direction is perpendicular to the cell direction of pCaloHit1 |
|
static |
Whether the track and the calo hit can be connected. The valid region is contained within a cone.
pTrack | a track with a valid calorimeter projection |
pCaloHit | a forward calo hit to connect |
normaleMaxAngle | the maximum angle between the two hits when the expected direction is colinear to the cell direction of pCaloHit1 |
normaleMaxDistance | the maximum distance between the two hits when the expected direction is colinear to the cell direction of pCaloHit1 |
transverseMaxAngle | the maximum angle between the two hits when the expected direction is perpendicular to the cell direction of pCaloHit1 |
transverseMaxDistance | the maximum distance between the two hits when the expected direction is perpendicular to the cell direction of pCaloHit1 |
|
static |
Extract the calo hit leaf list from the current calo hit list.
algorithm | the algorithm to access the content |
leafCaloHitList | the calo hit leaf list to receive |
discriminateLeafHits | whether the leaf/seed hits have to be put in the extracted list |
|
static |
Extract the calo hit seed list from the current calo hit list.
algorithm | the algorithm to access the content |
seedCaloHitList | the calo hit seed list to receive |
discriminateLeafHits | whether the leaf/seed hits have to be put in the extracted list |
|
static |
Extract the calo hit leaf list from the calo hit list.
pCaloHitList | the list to extract the sub calo hit leaf list |
leafCaloHitList | the calo hit leaf list to receive |
discriminateLeafHits | whether the leaf/seed hits have to be put in the extracted list |
|
static |
Extract the calo hit seed list from the calo hit list.
pCaloHitList | the list to extract the sub calo hit seed list |
seedCaloHitList | the calo hit seed list to receive |
discriminateLeafHits | whether the leaf/seed hits have to be put in the extracted list |
|
static |
Get the mean direction of the calo hit in a given direction.
pCaloHit | the calo hit to evaluate the mean direction |
connectorDirection | the connector direction to evaluate the mean direction |
direction | the mean direction to receive |
depth | the maximum connector depth to reach for the direction evaluation |
|
static |
Whether the tested position is in the region of interest. The valid region is contained within a cone.
startRegionPosition | the position where the region of interest starts |
testPosition | the position to test inside the region of interest |
exceptedDirection | the expected of the shower development from startRegionPosition |
normaleMaxAngle | the maximum angle between the two hits when the expected direction is colinear to the cell direction of startRegionPosition |
normaleMaxDistance | the maximum distance between the two hits when the expected direction is colinear to the cell direction of startRegionPosition |
transverseMaxAngle | the maximum angle between the two hits when the expected direction is perpendicular to the cell direction of startRegionPosition |
transverseMaxDistance | the maximum distance between the two hits when the expected direction is perpendicular to the cell direction of startRegionPosition |
|
static |
Remove the connections of the calo hit list.
pCaloHitList | the calo hit list to remove the connections |
|
static |
Remove the connections of the current calo hit list.
algorithm | the algorithm to access the content |