11 namespace fhicl {
class ParameterSet; }
61 if(
_x < rhs.
_x)
return true;
62 if(rhs.
_x <
_x)
return false;
63 if(
_y < rhs.
_y)
return true;
64 if(rhs.
_y <
_y)
return false;
65 if(
_z < rhs.
_z)
return true;
66 if(rhs.
_z <
_z)
return false;
83 std::vector<deposit>
deps {};
103 void MakeMCEdep(
const std::vector<sim::SimChannel>& schArray);
105 void MakeMCEdep(
const std::vector<sim::SimEnergyDeposit>& sedArray);
107 void MakeMCEdep(
const std::vector<sim::SimEnergyDepositLite>& sedArray);
116 return (iter ==
_track_index.end() ? -1 : (int)((*iter).second));
120 const std::vector<sim::MCEdep>&
GetEdepArrayAt(
size_t edep_index)
const;
129 std::vector<std::vector<sim::MCEdep>>().swap(
_mc_edeps);
MCEdep(sim::UniquePosition p, geo::PlaneID pi, size_t num_planes, float e, float c, size_t id)
bool operator<(const UniquePosition &rhs) const
process_name opflash particleana ie ie ie z
void MakeMCEdep(const std::vector< sim::SimChannel > &schArray)
process_name opflash particleana ie x
The data type to uniquely identify a Plane.
std::map< geo::PlaneID, size_t > createPlaneIndexMap()
const std::vector< sim::MCEdep > & GetEdepArrayAt(size_t edep_index) const
Returns a vector of MCEdep object at the given index.
MCRecoEdep(fhicl::ParameterSet const &pset)
Default constructor with fhicl parameters.
process_name opflash particleana ie ie y
int TrackToEdepIndex(unsigned int track_id) const
Converts a track ID to MCEdep array index. Returns -1 if no corresponding array found ...
bool ExistTrack(const unsigned int track_id) const
contains information for a single step in the detector simulation (pared down in size to the essentia...
Definition of data types for geometry description.
std::vector< std::vector< sim::MCEdep > > _mc_edeps
deposit(float e, float c)
UniquePosition(double x=0, double y=0, double z=0)
std::vector< sim::MCEdep > & __GetEdepArray__(unsigned int track_id)
contains information for a single step in the detector simulation
object containing MC truth information necessary for making RawDigits and doing back tracking ...
std::vector< deposit > deps
std::map< unsigned int, size_t > _track_index
const std::map< unsigned int, size_t > TrackIndexMap() const
Returns a map of track id <-> MCEdep vector index.