#include <FCS_Cell.h>
Definition at line 58 of file FCS_Cell.h.
◆ clear()
void FCS_matchedcell::clear |
( |
| ) |
|
|
inline |
◆ operator<()
◆ scalingfactor()
float FCS_matchedcell::scalingfactor |
( |
| ) |
|
|
inline |
Definition at line 64 of file FCS_Cell.h.
64 {
float hitsum =0.;
for (
unsigned int i=0;
i<
hit.size();
i++){hitsum+=
hit[
i].hit_energy;};
return cell.
energy/hitsum;};
◆ sort()
void FCS_matchedcell::sort |
( |
| ) |
|
|
inline |
◆ sortg4hit()
void FCS_matchedcell::sortg4hit |
( |
| ) |
|
|
inline |
◆ sorthit()
void FCS_matchedcell::sorthit |
( |
| ) |
|
|
inline |
◆ time_trim()
void FCS_matchedcell::time_trim |
( |
float |
timing_cut | ) |
|
|
inline |
Definition at line 69 of file FCS_Cell.h.
69 {
hit.erase(std::remove_if(
hit.begin(),
hit.end(), [&timing_cut](
const FCS_hit &rhs) { return rhs.hit_time>timing_cut;}),
hit.end());
g4hit.erase(std::remove_if(
g4hit.begin(),
g4hit.end(), [&timing_cut](
const FCS_g4hit &rhs) { return rhs.hit_time>timing_cut;}),
g4hit.end());};
◆ cell
◆ g4hit
std::vector<FCS_g4hit> FCS_matchedcell::g4hit |
◆ hit
std::vector<FCS_hit> FCS_matchedcell::hit |
The documentation for this struct was generated from the following file:
void sort(typename std::reverse_iterator< DataModel_detail::iterator< DVL > > beg, typename std::reverse_iterator< DataModel_detail::iterator< DVL > > end, const Compare &comp)
Specialization of sort for DataVector/List.