17 #include "cetlib_except/exception.h" 28 const unsigned int nPlanes(wireReadoutGeom.MaxPlanes());
29 std::set<geo::View_t> planeSet;
31 planeSet.insert(plane.View());
33 if (nPlanes == 3 && planeSet.count(
geo::kU) && planeSet.count(
geo::kY) &&
37 if (nPlanes == 3 && planeSet.count(
geo::kU) && planeSet.count(
geo::kV) &&
41 if (nPlanes == 3 && planeSet.count(
geo::kU) && planeSet.count(
geo::kV) &&
45 if (nPlanes == 2 && planeSet.count(
geo::kW) && planeSet.count(
geo::kY)) {
49 throw cet::exception(
"LArPandora") <<
"LArPandoraDetectorType::GetDetectorType --- unable to " 50 "determine the detector type from the geometry GDML";
Detector interface for an older-style 3view, horizontal drift, single-phase LArTPC (e...
Detector interface for ProtoDUNE dual phase.
Detector interface DUNE's vertical drift far detector.
Detector interface for ProtoDUNE dual phase.
Empty interface to map pandora to specifics in the LArSoft geometry.
Detector interface for DUNE's vertical drift, 3 view far detector.
Planes which measure Z direction.
cout<< "Opened file "<< fin<< " ixs= "<< ixs<< endl;if(ixs==0) hhh=(TH1F *) fff-> Get("h1")
Planes which measure Y direction.
Detector interface for ICARUS.
Detector interface for a 3view, horizontal drift, single-phase LArTPC.
Geometry information for a single wire plane.The plane is represented in the geometry by a solid whic...
The data type to uniquely identify a TPC.
Detector interface for ICARUS.
LArPandoraDetectorType * GetDetectorType()
Factory class that returns the correct detector type interface.
Planes which measure W (third view for Bo, MicroBooNE, etc).
Helper functions for extracting detector geometry for use in reconsruction.
cet::coded_exception< error, detail::translate > exception