11 #ifndef EMShowerAlg_hxx 12 #define EMShowerAlg_hxx 16 #include "canvas/Persistency/Common/FindManyP.h" 41 #include "RtypesCore.h" 49 class DetectorClocksData;
50 class DetectorPropertiesData;
64 art::FindManyP<recob::Hit>
const& fmh,
65 art::FindManyP<recob::Track>
const& fmt,
66 std::map<
int, std::vector<int>>& clusterToTracks,
67 std::map<
int, std::vector<int>>& trackToClusters)
const;
71 art::FindManyP<recob::Hit>
const& fmh,
72 art::FindManyP<recob::Track>
const& fmt,
73 std::vector<int>
const& clustersToIgnore,
74 std::map<
int, std::vector<int>>& clusterToTracks,
75 std::map<
int, std::vector<int>>& trackToClusters)
const;
78 std::vector<int> CheckShowerPlanes(
std::vector<std::vector<int>>
const& initialShowers,
80 art::FindManyP<recob::Hit>
const& fmh)
const;
85 std::unique_ptr<recob::Track> ConstructTrack(
89 std::map<int, TVector2>
const& showerCentreMap)
const;
93 std::unique_ptr<recob::Track> ConstructTrack(
102 std::unique_ptr<recob::Track>& initialTrack,
107 std::vector<std::vector<int>> FindShowers(
108 std::map<
int, std::vector<int>>
const& trackToClusters)
const;
115 std::unique_ptr<recob::Track>
const& initialTrack,
126 std::vector<recob::SpacePoint> MakeSpacePoints(
132 std::map<int, std::vector<art::Ptr<recob::Hit>>> OrderShowerHits(
143 Int_t WeightedFit(
const Int_t
n,
147 Double_t* parm)
const;
161 bool CheckShowerHits_(
174 std::unique_ptr<recob::Track>
const& track)
const;
181 bool perpendicular =
false)
const;
186 std::map<int, std::vector<art::Ptr<recob::Hit>>> FindShowerStart_(
195 std::map<int, std::map<int, bool>> GetPlanePermutations_(
200 double GlobalWire_(
const geo::WireID& wireID)
const;
216 std::unique_ptr<recob::Track> MakeInitialTrack_(
231 TVector3
const& point,
233 int cryostat = 0)
const;
239 std::map<double, int> RelativeWireWidth_(
shower::ShowerEnergyAlg const fShowerEnergyAlg
pma::ProjectionMatchingAlg const fProjectionMatchingAlg
The data type to uniquely identify a Plane.
recob::Shower MakeShower(float E, int bestPlane=2, int ID=1)
double const fdEdxTrackLength
unsigned int const fNfitpass
art framework interface to geometry description
std::vector< double > const fToler
bool const fMakeRMSGradientPlot
std::vector< unsigned int > const fNfithits
double const fMinTrackLength
General LArSoft Utilities.
Definition of data types for geometry description.
bool const fMakeGradientPlot
Detector simulation of raw signals on wires.
Declaration of signal hit object.
Contains all timing reference information for the detector.
int const fNumShowerSegments
calo::CalorimetryAlg const fCalorimetryAlg
Provides recob::Track data product.
Access the description of detector geometry.
double const fSpacePointSize
2D representation of charge deposited in the TDC/wire plane
art::ServiceHandle< geo::Geometry const > fGeom
std::string const fDetector