BeamParticleIdTool class.
More...
#include "BeamParticleIdTool.h"
|
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.
|
|
◆ PlaneVector
◆ BeamParticleIdTool()
lar_content::BeamParticleIdTool::BeamParticleIdTool |
( |
| ) |
|
◆ 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.
◆ GetSelectedCaloHits()
Select a given fraction of a slice's calo hits that are closest to the beam spot.
- Parameters
-
inputCaloHitList | all calo hits in slice |
outputCaloHitList | to receive the list of selected calo hits |
closestHitToFaceDistance | to receive the distance of closest hit to beam spot |
Definition at line 180 of file BeamParticleIdTool.cc.
◆ GetTPCIntercepts()
Find the intercepts of a line with the protoDUNE detector.
- Parameters
-
a0 | a point on the line in question |
majorAxis | the direction of the line in question |
interceptOne | to receive the first intersection between line and protoDUNE detector |
interceptTwo | to receive the second intersection between line and protoDUNE detector |
Definition at line 212 of file BeamParticleIdTool.cc.
◆ GetType()
const std::string & pandora::Process::GetType |
( |
| ) |
const |
|
inlineinherited |
Get the type.
- Returns
- The type
Definition at line 102 of file Process.h.
◆ Initialize()
StatusCode lar_content::BeamParticleIdTool::Initialize |
( |
| ) |
|
|
privatevirtual |
◆ IsContained()
Check if a given 3D spacepoint is inside the global TPC volume.
- Parameters
-
Definition at line 239 of file BeamParticleIdTool.cc.
◆ ReadSettings()
◆ 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 |
◆ SelectOutputPfos()
Select which reconstruction hypotheses to use; neutrino outcomes or cosmic-ray muon outcomes for each slice.
- Parameters
-
pAlgorithm | the address of the master instance, used to access MCParticles when in training mode |
nuSliceHypotheses | the parent pfos representing the neutrino outcome for each slice |
crSliceHypotheses | the parent pfos representing the cosmic-ray muon outcome for each slice |
sliceNuPfos | to receive the list of selected pfos |
Implements lar_content::SliceIdBaseTool.
Definition at line 42 of file BeamParticleIdTool.cc.
◆ m_angleToBeamCut
float lar_content::BeamParticleIdTool::m_angleToBeamCut |
|
private |
Angle between major axis and beam direction, used in beam event selection.
Definition at line 106 of file BeamParticleIdTool.h.
◆ m_beamDirection
◆ m_beamTPCIntersection
◆ m_closestDistanceCut
float lar_content::BeamParticleIdTool::m_closestDistanceCut |
|
private |
Closest distance (of hit to beam spot), used in beam event selection.
Definition at line 105 of file BeamParticleIdTool.h.
◆ m_instanceName
std::string pandora::Process::m_instanceName |
|
protectedinherited |
The process instance name.
Definition at line 89 of file Process.h.
◆ m_nSelectedHits
unsigned int lar_content::BeamParticleIdTool::m_nSelectedHits |
|
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_projectionIntersectionCut
float lar_content::BeamParticleIdTool::m_projectionIntersectionCut |
|
private |
Projection intersection distance cut, used in beam event selection.
Definition at line 104 of file BeamParticleIdTool.h.
◆ m_selectAllBeamParticles
bool lar_content::BeamParticleIdTool::m_selectAllBeamParticles |
|
private |
First approach: select all beam particles, as opposed to selecting all cosmics.
Definition at line 92 of file BeamParticleIdTool.h.
◆ m_selectedFraction
float lar_content::BeamParticleIdTool::m_selectedFraction |
|
private |
◆ m_selectOnlyFirstSliceBeamParticles
bool lar_content::BeamParticleIdTool::m_selectOnlyFirstSliceBeamParticles |
|
private |
First approach: select first slice beam particles, cosmics for all subsequent slices.
Definition at line 93 of file BeamParticleIdTool.h.
◆ m_tpcMaxX
float lar_content::BeamParticleIdTool::m_tpcMaxX |
|
private |
◆ m_tpcMaxY
float lar_content::BeamParticleIdTool::m_tpcMaxY |
|
private |
◆ m_tpcMaxZ
float lar_content::BeamParticleIdTool::m_tpcMaxZ |
|
private |
◆ m_tpcMinX
float lar_content::BeamParticleIdTool::m_tpcMinX |
|
private |
◆ m_tpcMinY
float lar_content::BeamParticleIdTool::m_tpcMinY |
|
private |
◆ m_tpcMinZ
float lar_content::BeamParticleIdTool::m_tpcMinZ |
|
private |
◆ m_tpcPlanes
PlaneVector lar_content::BeamParticleIdTool::m_tpcPlanes |
|
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: