9 #ifndef TrackCleanUpAlg_h 10 #define TrackCleanUpAlg_h 50 std::vector<rb::WeightedHit> CleanUpTrack(
const rb::Track &muonTrack,
52 double* mipRangeHigh = NULL,
53 double* mipRangeLow = NULL,
54 double* mipValue = NULL,
55 double* vertexRegionDeDxCutOff = NULL);
66 void ComputeVertexRegion(
const rb::Track &muonTrack,
68 double* vertexRegionDeDxCutOff = NULL);
79 void LastVertexPlanes(
const rb::Track &muonTrack,
81 double* vertexRegionDeDxCutOff = NULL);
92 double* mipRangeHigh = NULL,
93 double* mipRangeLow = NULL,
94 double* mipValue = NULL,
95 double* vertexRegionDeDxCutOff = NULL);
97 float ExtraEOnTrackInGeV(
const rb::Track &track,
99 double* mipRangeHigh = NULL,
100 double* mipRangeLow = NULL,
101 double* mipValue = NULL,
102 double* vertexRegionDeDxCutOff = NULL);
111 std::map<int, float> ExtraEOnTrackPlanes(
const rb::Track &track,
113 double* mipRangeHigh = NULL,
114 double* mipRangeLow = NULL,
115 double* mipValue = NULL,
116 double* vertexRegionDeDxCutOff = NULL);
118 std::map<int, float> ExtraEOnTrackPlanesInGeV(
const rb::Track &track,
120 double* mipRangeHigh = NULL,
121 double* mipRangeLow = NULL,
122 double* mipValue = NULL,
123 double* vertexRegionDeDxCutOff = NULL);
134 std::vector<rb::WeightedHit> CleanUpWeightedHits(
const rb::Track &muonTrack,
136 double* mipRangeHigh = NULL,
137 double* mipRangeLow = NULL,
138 double* mipValue = NULL,
139 double* vertexRegionDeDxCutOff = NULL);
142 std::map<unsigned int, double> DeDxInPlane(
const rb::Track &muonTrack );
145 float TrackEinMIP (
const rb::Track &track);
219 std::map<int, std::vector<art::Ptr<rb::CellHit> > >
fPlaneHits;
222 int IsMIP(
double dEdX)
const;
225 std::vector<rb::WeightedHit> ResetHitWeight( std::vector< rb::WeightedHit > &trackHits,
236 #endif // TrackCleanUpAlg_h std::vector< int > fTrajY
Trajectories points in y view.
std::map< int, float > fExtraEOnTrackPlanes
A map of planes in the vertex region of a track and the extra energy found on them.
std::vector< int > fTrajX
Trajectories points in x view.
std::map< int, std::vector< art::Ptr< rb::CellHit > > > fPlaneHits
A map to store the cell numbers that are in each plane of the track.
std::map< geo::OfflineChan, double > fCellEnergy
A map of cell and energy in Plane left by the track.
std::map< unsigned int, double > fPlaneDeDx
A map of plane and dE/dX of the track in the plane.
A collection of associated CellHits.
std::vector< rb::WeightedHit > fCleanUpWeightedHits
A vector of rb::WeightedHit that are impacted by CleanUp procedure.
float fMipRangeHigh
Default upper bound of allowed MIP range (FHiCL parameter)
art::ServiceHandle< geo::Geometry > fgeom
Handle to Geometry service.
A rb::Prong with full reconstructed trajectory.
float fVertexRegionDeDxCutOffInGev
the same as fVertexRegionDeDxCutOff but in GeV/cm units (FHiCL parameter)
float fVertexRegionDeDxCutOff
Default vertex region dedx cut off value (FHiCL parameter)
float fMipValueInGev
the same as fMipValue but in GeV/cm units (FHiCL parameter)
float fMipValue
Default MIP value in GeV/cm (FHiCL parameter)
std::vector< int > fPlanes
A vector of planes on muon track with hits in them.
Perform a "2 point" Hough transform on a collection of hits.
float fExtraEOnTrack
FHiCL Parameters.
std::vector< int > fPlanesX
A vector of X-view planes on muon track with hits in them.
std::vector< int > fPlanesY
A vector of Y-view planes on muon track with hits in them.
std::map< unsigned int, double > fPlaneTrkLength
A map of plane and track length through plane.
float fMipRangeLowInGev
the same as fMipRangeLow but in GeV/cm units (FHiCL parameter)
Simple object representing a (plane, cell) pair.
Encapsulate the geometry of one entire detector (near, far, ndos)
std::map< unsigned int, double > fPlaneEnergy
A map of plane and energy in plane left by the track.
float fMipRangeHighInGev
the same as fMipRangeHigh but in GeV/cm units (FHiCL parameter)
std::map< unsigned int, double > fAvgDeDx
A map of plane and average dedx over this and the next 2 planes.
float fMipRangeLow
Default lower bound of allowed MIP range (FHiCL parameter)