All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DUNEFarDetVDThreeView.h
Go to the documentation of this file.
1 /**
2  * @file larpandora/LArPandoraInterface/Detectors/DUNEFarDetVDThreeView.h
3  *
4  * @brief Detector interface for DUNE's vertical drift, 3 view far detector
5  *
6  * $Log: $
7  */
8 
10 
12 
13 namespace lar_pandora {
14 
15  /**
16  * @brief Detector interface DUNE's vertical drift far detector
17  */
19  public:
21  const geo::CryostatID::CryostatID_t cstat) const override;
22 
24  const geo::CryostatID::CryostatID_t cstat) const override;
25 
27  const geo::CryostatID::CryostatID_t cstat) const override;
28  };
29 
30  //------------------------------------------------------------------------------------------------------------------------------------------
31 
32  inline geo::View_t
34  const geo::CryostatID::CryostatID_t cstat) const
35  {
36  return this->GetLArSoftGeometry()->View(geo::PlaneID(cstat, tpc, 0));
37  }
38 
39  //------------------------------------------------------------------------------------------------------------------------------------------
40 
41  inline geo::View_t
43  const geo::CryostatID::CryostatID_t cstat) const
44  {
45  return this->GetLArSoftGeometry()->View(geo::PlaneID(cstat, tpc, 1));
46  }
47 
48  //------------------------------------------------------------------------------------------------------------------------------------------
49 
50  inline geo::View_t
52  const geo::CryostatID::CryostatID_t cstat) const
53  {
54  return this->GetLArSoftGeometry()->View(geo::PlaneID(cstat, tpc, 2));
55  }
56 
57 } // namespace lar_pandora
Detector interface for an older-style 3view, horizontal drift, single-phase LArTPC (e...
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.
Detector interface DUNE's vertical drift far detector.
enum geo::_plane_proj View_t
Enumerate the possible plane projections.
The data type to uniquely identify a Plane.
Definition: geo_types.h:472
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.
Detector interface for a 3view, horizontal drift, single-phase LArTPC.
const art::ServiceHandle< geo::Geometry > & GetLArSoftGeometry() const
Loan the LArSoft geometry handle owned by this class.
geo::View_t TargetViewU(const geo::TPCID::TPCID_t tpc, const geo::CryostatID::CryostatID_t cstat) const override
Map a LArSoft view to Pandora&#39;s U view.
unsigned int CryostatID_t
Type for the ID number.
Definition: geo_types.h:191
unsigned int TPCID_t
Type for the ID number.
Definition: geo_types.h:387
art framework interface to geometry description