11 #ifndef EMShowerAlg_hxx 12 #define EMShowerAlg_hxx 45 #include "RtypesCore.h" 50 class DetectorClocksData;
51 class DetectorPropertiesData;
67 std::map<
int, std::vector<int>>& clusterToTracks,
68 std::map<
int, std::vector<int>>& trackToClusters)
const;
74 std::vector<int>
const& clustersToIgnore,
75 std::map<
int, std::vector<int>>& clusterToTracks,
76 std::map<
int, std::vector<int>>& trackToClusters)
const;
79 std::vector<int> CheckShowerPlanes(
std::vector<std::vector<int>>
const& initialShowers,
86 std::unique_ptr<recob::Track> ConstructTrack(
90 std::map<int, TVector2>
const& showerCentreMap)
const;
94 std::unique_ptr<recob::Track> ConstructTrack(
103 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_(
233 int cryostat = 0)
const;
239 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.
cout<< "Opened file "<< fin<< " ixs= "<< ixs<< endl;if(ixs==0) hhh=(TH1F *) fff-> Get("h1")
double const fdEdxTrackLength
unsigned int const fNfitpass
std::vector< double > const fToler
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Access the description of the physical detector geometry.
bool const fMakeRMSGradientPlot
std::vector< unsigned int > const fNfithits
Interface for a class providing readout channel mapping to geometry.
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.
Provides recob::Track data product.
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