LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
CheatingCosmicRayTaggingTool class. More...
#include "CheatingCosmicRayTaggingTool.h"
Public Member Functions | |
CheatingCosmicRayTaggingTool () | |
Default constructor. More... | |
void | FindAmbiguousPfos (const pandora::PfoList &parentCosmicRayPfos, pandora::PfoList &ambiguousPfos, const MasterAlgorithm *const pAlgorithm) |
Find the list of ambiguous pfos (could represent cosmic-ray muons or neutrinos) More... | |
Private Member Functions | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Private Attributes | |
float | m_maxCosmicRayFraction |
The maximum cosmic ray fraction for a pfo to be declared an ambiguous cosmic ray. More... | |
CheatingCosmicRayTaggingTool class.
Definition at line 20 of file CheatingCosmicRayTaggingTool.h.
lar_content::CheatingCosmicRayTaggingTool::CheatingCosmicRayTaggingTool | ( | ) |
Default constructor.
Definition at line 22 of file CheatingCosmicRayTaggingTool.cc.
|
virtual |
Find the list of ambiguous pfos (could represent cosmic-ray muons or neutrinos)
parentCosmicRayPfos | the list of parent cosmic-ray pfos |
ambiguousPfos | to receive the list of ambiguous pfos |
pAlgorithm | the address of this master algorithm |
Implements lar_content::CosmicRayTaggingBaseTool.
Definition at line 29 of file CheatingCosmicRayTaggingTool.cc.
References f, lar_content::LArPfoHelper::GetAllConnectedPfos(), lar_content::LArPfoHelper::GetAllDownstreamPfos(), lar_content::CheatingSliceIdBaseTool::GetTargetParticleWeight(), lar_content::LArMCParticleHelper::IsCosmicRay(), and m_maxCosmicRayFraction.
|
private |
Definition at line 53 of file CheatingCosmicRayTaggingTool.cc.
References m_maxCosmicRayFraction.
|
private |
The maximum cosmic ray fraction for a pfo to be declared an ambiguous cosmic ray.
Definition at line 33 of file CheatingCosmicRayTaggingTool.h.
Referenced by FindAmbiguousPfos(), and ReadSettings().