Skip to content
Snippets Groups Projects

Added GetFirstPointInDetector and GetLastPointInDetector methods and...

3 files
+ 189
52
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 5
0
@@ -115,6 +115,10 @@ class EDEPTrajectory {
@@ -115,6 +115,10 @@ class EDEPTrajectory {
* @return The PDG code of this trajectory.
* @return The PDG code of this trajectory.
*/
*/
int GetPDGCode() const {return pdg_code_;};
int GetPDGCode() const {return pdg_code_;};
 
 
 
EDEPTrajectoryHits& GetFirstPointInDetector(component component_name);
 
EDEPTrajectoryHits& GetLastPointInDetector(component component_name);
/**
/**
* @brief Get the initial momentum of this trajectory.
* @brief Get the initial momentum of this trajectory.
@@ -194,6 +198,7 @@ class EDEPTrajectory {
@@ -194,6 +198,7 @@ class EDEPTrajectory {
bool HasHitBeforeTime(double start_time) const;
bool HasHitBeforeTime(double start_time) const;
bool HasHitAfterTime(double stop_time) const;
bool HasHitAfterTime(double stop_time) const;
bool IsTrajectorySaturated() const;
bool IsTrajectorySaturated() const;
 
bool Match(std::string volume, std::initializer_list<std::string> names) const;
bool HasHitInTime(double start_time, double stop_time) const;
bool HasHitInTime(double start_time, double stop_time) const;
bool HasHitWithIdInDetector( int id, component component_name) const;
bool HasHitWithIdInDetector( int id, component component_name) const;
Loading