Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
lar_pandora::ICARUS Class Reference

Detector interface for ICARUS. More...

#include "ICARUS.h"

Inheritance diagram for lar_pandora::ICARUS:
Collaboration diagram for lar_pandora::ICARUS:

Public Member Functions

geo::View_t TargetViewU (const geo::TPCID::TPCID_t tpc, const geo::CryostatID::CryostatID_t cstat) const override
 Map a LArSoft view to Pandora's U view.
 
geo::View_t TargetViewV (const geo::TPCID::TPCID_t tpc, const geo::CryostatID::CryostatID_t cstat) const override
 Map a LArSoft view to Pandora's V view.
 
geo::View_t TargetViewW (const geo::TPCID::TPCID_t tpc, const geo::CryostatID::CryostatID_t cstat) const override
 Map a LArSoft view to Pandora's W view.
 
float WireAngleW (const geo::TPCID::TPCID_t tpc, const geo::CryostatID::CryostatID_t cstat) const override
 The angle of the wires in the mapped V view.
 
virtual float WirePitchU () const override
 The wire pitch of the mapped U view.
 
virtual float WirePitchV () const override
 The wire pitch of the mapped V view.
 
virtual float WirePitchW () const override
 The wire pitch of the mapped W view.
 
virtual float WireAngleU (const geo::TPCID::TPCID_t tpc, const geo::CryostatID::CryostatID_t cstat) const override
 The angle of the wires in the mapped U view.
 
virtual float WireAngleV (const geo::TPCID::TPCID_t tpc, const geo::CryostatID::CryostatID_t cstat) const override
 The angle of the wires in the mapped V view.
 
virtual bool CheckDetectorGapSize (const geo::Vector_t &gaps, const geo::Vector_t &deltas, const float maxDisplacement) const override
 Check whether a gap size is small enough to be registered as a detector gap.
 
virtual LArDetectorGap CreateDetectorGap (const geo::Point_t &point1, const geo::Point_t &point2, const geo::Vector_t &widths) const override
 Create a detector gap.
 
virtual void LoadDaughterDetectorGaps (const LArDriftVolume &driftVolume, const float maxDisplacement, LArDetectorGapList &listOfGaps) const override
 Create detector gaps for all daughter volumes in a logical TPC volume.
 
virtual PandoraApi::Geometry::LineGap::Parameters CreateLineGapParametersFromDetectorGaps (const LArDetectorGap &gap) const override
 Create the line gap parameters to give to the pandora API.
 
virtual PandoraApi::Geometry::LineGap::Parameters CreateLineGapParametersFromReadoutGaps (const geo::View_t view, const geo::TPCID::TPCID_t tpc, const geo::CryostatID::CryostatID_t cstat, const geo::Point_t &firstXYZ, const geo::Point_t &lastXYZ, const float halfWirePitch, const float xFirst, const float xLast, const pandora::Pandora *pPandora) const override
 Create the line gap parameters to give to the pandora API.
 
const art::ServiceHandle< geo::Geometry > & GetLArSoftGeometry () const
 Loan the LArSoft geometry handle owned by this class.
 

Private Attributes

art::ServiceHandle< geo::Geometry > m_LArSoftGeometry
 the LArSoft geometry handle
 

Detailed Description

Detector interface for ICARUS.

Definition at line 20 of file ICARUS.h.

Member Function Documentation

◆ CheckDetectorGapSize()

bool lar_pandora::VintageLArTPCThreeView::CheckDetectorGapSize ( const geo::Vector_t &  gaps,
const geo::Vector_t &  deltas,
const float  maxDisplacement 
) const
inlineoverridevirtualinherited

Check whether a gap size is small enough to be registered as a detector gap.

Parameters
gapsa cartesean vector holding gap sizes between adjacent TPCs
deltasa cartesean vector holding distances between adjacent TPCs
maxDisplacementthe gap size threshold
Returns
logic bool

Implements lar_pandora::LArPandoraDetectorType.

Reimplemented in lar_pandora::ProtoDUNEDualPhase.

Definition at line 172 of file VintageLArTPCThreeView.h.

◆ CreateDetectorGap()

LArDetectorGap lar_pandora::VintageLArTPCThreeView::CreateDetectorGap ( const geo::Point_t &  point1,
const geo::Point_t &  point2,
const geo::Vector_t &  widths 
) const
inlineoverridevirtualinherited

Create a detector gap.

Parameters
point1a point on TPC1 that are closest to TPC2
point2a point on TPC2 that are closest to TPC1
widththe gap sizes
Returns
the detector gap object

Implements lar_pandora::LArPandoraDetectorType.

Reimplemented in lar_pandora::ProtoDUNEDualPhase.

Definition at line 184 of file VintageLArTPCThreeView.h.

◆ CreateLineGapParametersFromDetectorGaps()

PandoraApi::Geometry::LineGap::Parameters lar_pandora::VintageLArTPCThreeView::CreateLineGapParametersFromDetectorGaps ( const LArDetectorGap gap) const
inlineoverridevirtualinherited

Create the line gap parameters to give to the pandora API.

Parameters
gapthe input detector gap
Returns
the pandora API's line gap parameters object

Implements lar_pandora::LArPandoraDetectorType.

Reimplemented in lar_pandora::ProtoDUNEDualPhase.

Definition at line 203 of file VintageLArTPCThreeView.h.

Here is the call graph for this function:

◆ CreateLineGapParametersFromReadoutGaps()

PandoraApi::Geometry::LineGap::Parameters lar_pandora::VintageLArTPCThreeView::CreateLineGapParametersFromReadoutGaps ( const geo::View_t  view,
const geo::TPCID::TPCID_t  tpc,
const geo::CryostatID::CryostatID_t  cstat,
const geo::Point_t &  firstXYZ,
const geo::Point_t &  lastXYZ,
const float  halfWirePitch,
const float  xFirst,
const float  xLast,
const pandora::Pandora pPandora 
) const
inlineoverridevirtualinherited

Create the line gap parameters to give to the pandora API.

Parameters
viewthe LArSoft view
tpcthe LArSoft TPC ID
cstatthe LArSoft cryostat ID
firstXYZthe first 3D coordinate
lastXYZthe last 3D coordinate
halfWirePitchthe half wire pitch
pPandorathe pandora instance
xFirstthe min X of the gap
xLastthe max X of the gap
Returns
the pandora API's line gap parameters object

Implements lar_pandora::LArPandoraDetectorType.

Reimplemented in lar_pandora::ProtoDUNEDualPhase.

Definition at line 211 of file VintageLArTPCThreeView.h.

Here is the call graph for this function:

◆ GetLArSoftGeometry()

const art::ServiceHandle< geo::Geometry > & lar_pandora::VintageLArTPCThreeView::GetLArSoftGeometry ( ) const
inlineinherited

Loan the LArSoft geometry handle owned by this class.

Returns
The LArSoft geometry handle

Definition at line 247 of file VintageLArTPCThreeView.h.

Here is the caller graph for this function:

◆ LoadDaughterDetectorGaps()

void lar_pandora::VintageLArTPCThreeView::LoadDaughterDetectorGaps ( const LArDriftVolume driftVolume,
const float  maxDisplacement,
LArDetectorGapList listOfGaps 
) const
inlineoverridevirtualinherited

Create detector gaps for all daughter volumes in a logical TPC volume.

Parameters
driftVolumethe parent drift volume
maxDisplacementthe gap size threshold
listOfGapsthe gaps vector to be filled

Implements lar_pandora::LArPandoraDetectorType.

Reimplemented in lar_pandora::ProtoDUNEDualPhase.

Definition at line 193 of file VintageLArTPCThreeView.h.

◆ TargetViewU()

geo::View_t lar_pandora::ICARUS::TargetViewU ( const geo::TPCID::TPCID_t  tpc,
const geo::CryostatID::CryostatID_t  cstat 
) const
inlineoverridevirtual

Map a LArSoft view to Pandora's U view.

Parameters
tpcthe LArSoft TPC ID
cstatthe LArSoft cryostat ID
Returns
The mapped LArSoft view

Reimplemented from lar_pandora::VintageLArTPCThreeView.

Definition at line 35 of file ICARUS.h.

Here is the call graph for this function:

◆ TargetViewV()

geo::View_t lar_pandora::ICARUS::TargetViewV ( const geo::TPCID::TPCID_t  tpc,
const geo::CryostatID::CryostatID_t  cstat 
) const
inlineoverridevirtual

Map a LArSoft view to Pandora's V view.

Parameters
tpcthe LArSoft TPC ID
cstatthe LArSoft cryostat ID
Returns
The mapped LArSoft view

Reimplemented from lar_pandora::VintageLArTPCThreeView.

Definition at line 46 of file ICARUS.h.

Here is the call graph for this function:

◆ TargetViewW()

geo::View_t lar_pandora::ICARUS::TargetViewW ( const geo::TPCID::TPCID_t  tpc,
const geo::CryostatID::CryostatID_t  cstat 
) const
inlineoverridevirtual

Map a LArSoft view to Pandora's W view.

Parameters
tpcthe LArSoft TPC ID
cstatthe LArSoft cryostat ID
Returns
The mapped LArSoft view

Reimplemented from lar_pandora::VintageLArTPCThreeView.

Definition at line 57 of file ICARUS.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WireAngleU()

float lar_pandora::VintageLArTPCThreeView::WireAngleU ( const geo::TPCID::TPCID_t  tpc,
const geo::CryostatID::CryostatID_t  cstat 
) const
inlineoverridevirtualinherited

The angle of the wires in the mapped U view.

Returns
The mapped wire angle

Implements lar_pandora::LArPandoraDetectorType.

Definition at line 145 of file VintageLArTPCThreeView.h.

Here is the call graph for this function:

◆ WireAngleV()

float lar_pandora::VintageLArTPCThreeView::WireAngleV ( const geo::TPCID::TPCID_t  tpc,
const geo::CryostatID::CryostatID_t  cstat 
) const
inlineoverridevirtualinherited

The angle of the wires in the mapped V view.

Returns
The mapped wire angle

Implements lar_pandora::LArPandoraDetectorType.

Definition at line 154 of file VintageLArTPCThreeView.h.

Here is the call graph for this function:

◆ WireAngleW()

float lar_pandora::ICARUS::WireAngleW ( const geo::TPCID::TPCID_t  tpc,
const geo::CryostatID::CryostatID_t  cstat 
) const
inlineoverridevirtual

The angle of the wires in the mapped V view.

Returns
The mapped wire angle

Reimplemented from lar_pandora::VintageLArTPCThreeView.

Definition at line 65 of file ICARUS.h.

Here is the call graph for this function:

◆ WirePitchU()

float lar_pandora::VintageLArTPCThreeView::WirePitchU ( ) const
inlineoverridevirtualinherited

The wire pitch of the mapped U view.

Returns
The mapped wire pitch

Implements lar_pandora::LArPandoraDetectorType.

Definition at line 124 of file VintageLArTPCThreeView.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WirePitchV()

float lar_pandora::VintageLArTPCThreeView::WirePitchV ( ) const
inlineoverridevirtualinherited

The wire pitch of the mapped V view.

Returns
The mapped wire pitch

Implements lar_pandora::LArPandoraDetectorType.

Definition at line 131 of file VintageLArTPCThreeView.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WirePitchW()

float lar_pandora::VintageLArTPCThreeView::WirePitchW ( ) const
inlineoverridevirtualinherited

The wire pitch of the mapped W view.

Returns
The mapped wire pitch

Implements lar_pandora::LArPandoraDetectorType.

Reimplemented in lar_pandora::ProtoDUNEDualPhase.

Definition at line 138 of file VintageLArTPCThreeView.h.

Here is the call graph for this function:

Member Data Documentation

◆ m_LArSoftGeometry

art::ServiceHandle<geo::Geometry> lar_pandora::VintageLArTPCThreeView::m_LArSoftGeometry
privateinherited

the LArSoft geometry handle

Definition at line 88 of file VintageLArTPCThreeView.h.


The documentation for this class was generated from the following file: