11 #ifndef EMShowerAlg_hxx 12 #define EMShowerAlg_hxx 46 #include "RtypesCore.h" 51 class DetectorClocksData;
52 class DetectorPropertiesData;
68 std::map<
int, std::vector<int>>& clusterToTracks,
69 std::map<
int, std::vector<int>>& trackToClusters)
const;
75 std::vector<int>
const& clustersToIgnore,
76 std::map<
int, std::vector<int>>& clusterToTracks,
77 std::map<
int, std::vector<int>>& trackToClusters)
const;
80 std::vector<int> CheckShowerPlanes(
std::vector<std::vector<int>>
const& initialShowers,
87 std::unique_ptr<recob::Track> ConstructTrack(
91 std::map<int, TVector2>
const& showerCentreMap)
const;
95 std::unique_ptr<recob::Track> ConstructTrack(
104 std::unique_ptr<recob::Track>& initialTrack,
108 std::vector<std::vector<int>> FindShowers(
109 std::map<
int, std::vector<int>>
const& trackToClusters)
const;
116 std::unique_ptr<recob::Track>
const& initialTrack,
127 std::vector<recob::SpacePoint> MakeSpacePoints(
133 std::map<int, std::vector<art::Ptr<recob::Hit>>> OrderShowerHits(
144 Int_t WeightedFit(
const Int_t
n,
148 Double_t* parm)
const;
162 bool CheckShowerHits_(
175 std::unique_ptr<recob::Track>
const&
track)
const;
182 bool perpendicular =
false)
const;
187 std::map<int, std::vector<art::Ptr<recob::Hit>>> FindShowerStart_(
196 std::map<int, std::map<int, bool>> GetPlanePermutations_(
201 double GlobalWire_(
const geo::WireID& wireID)
const;
217 std::unique_ptr<recob::Track> MakeInitialTrack_(
234 int cryostat = 0)
const;
240 std::map<double, int> RelativeWireWidth_(
shower::ShowerEnergyAlg const fShowerEnergyAlg
pma::ProjectionMatchingAlg const fProjectionMatchingAlg
Declaration of signal hit object.
The data type to uniquely identify a Plane.
double const fdEdxTrackLength
unsigned int const fNfitpass
Provides recob::Track data product.
std::vector< double > const fToler
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Access the description of detector geometry.
bool const fMakeRMSGradientPlot
std::vector< unsigned int > const fNfithits
double const fMinTrackLength
General LArSoft Utilities.
Declaration of cluster object.
Definition of data types for geometry description.
bool const fMakeGradientPlot
Detector simulation of raw signals on wires.
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< double >, ROOT::Math::GlobalCoordinateSystemTag > Point_t
Type for representation of position in physical 3D space.
Contains all timing reference information for the detector.
int const fNumShowerSegments
calo::CalorimetryAlg const fCalorimetryAlg
double const fSpacePointSize
2D representation of charge deposited in the TDC/wire plane
art::ServiceHandle< geo::Geometry const > fGeom
std::string const fDetector
art framework interface to geometry description