#include <SiTotalCharge.h>
Definition at line 24 of file SiTotalCharge.h.
◆ list_t
◆ SiTotalCharge() [1/2]
| SiTotalCharge::SiTotalCharge |
( |
| ) |
|
◆ SiTotalCharge() [2/2]
| SiTotalCharge::SiTotalCharge |
( |
const SiTotalCharge & | totalCharge | ) |
|
◆ ~SiTotalCharge()
| SiTotalCharge::~SiTotalCharge |
( |
| ) |
|
|
inline |
◆ add() [1/2]
| void SiTotalCharge::add |
( |
const SiCharge & | charge | ) |
|
Definition at line 62 of file SiTotalCharge.cxx.
63{
64
66
68}
void addSiCharge(const SiCharge &charge)
◆ add() [2/2]
Definition at line 71 of file SiTotalCharge.cxx.
72{
73
75
78 [this](const SiCharge & c) { addSiCharge(c); }
79 );
80}
const list_t & chargeComposition() const
◆ addSiCharge()
| void SiTotalCharge::addSiCharge |
( |
const SiCharge & | charge | ) |
|
|
private |
Definition at line 108 of file SiTotalCharge.cxx.
109{
111 [&
charge](
const SiCharge & other) {
112 return (charge.time() == other.time()) &&
113 (charge.processType() == other.processType()) &&
114 (charge.particleLink() == other.particleLink());
115 } );
117
119}
◆ charge()
| double SiTotalCharge::charge |
( |
| ) |
const |
|
inline |
◆ chargeComposition()
◆ complexCharge()
| bool SiTotalCharge::complexCharge |
( |
| ) |
const |
|
inline |
◆ extraNoise()
| bool SiTotalCharge::extraNoise |
( |
| ) |
const |
|
inline |
Definition at line 133 of file SiTotalCharge.h.
134{
136 {
137 return false;
138 }
140}
const SiCharge & mainCharge() const
◆ fromTrack()
| bool SiTotalCharge::fromTrack |
( |
| ) |
const |
Definition at line 49 of file SiTotalCharge.cxx.
50{
52 {
53 return false;
54 }
59}
Process processType() const
const std::string process
◆ mainCharge()
| const SiCharge & SiTotalCharge::mainCharge |
( |
| ) |
const |
|
private |
Definition at line 40 of file SiTotalCharge.cxx.
41{
43 [](SiCharge const & lhs, SiCharge const & rhs)
44 { return lhs.charge() < rhs.charge(); }
45 );
46 return *max_element;
47}
◆ operator=()
Definition at line 30 of file SiTotalCharge.cxx.
31{
32 if (this!=&totalCharge) {
35 } else {}
36 return *this;
37}
◆ particleLink()
Definition at line 160 of file SiTotalCharge.h.
161{
163 {
165 }
167}
const HepMcParticleLink & particleLink() const
static const HepMcParticleLink m_emptyLink
◆ removeSmallCharges()
| void SiTotalCharge::removeSmallCharges |
( |
const double | minimumCharge | ) |
|
Definition at line 98 of file SiTotalCharge.cxx.
99{
100
102 [&minimumCharge](const SiCharge& c){ return (c.charge() > -minimumCharge) &&
103 (c.charge() < minimumCharge); });
105}
DataModel_detail::iterator< DVL > remove_if(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end, Predicate pred)
Specialization of remove_if for DataVector/List.
◆ removeTimeInformation()
| void SiTotalCharge::removeTimeInformation |
( |
| ) |
|
Definition at line 83 of file SiTotalCharge.cxx.
84{
85
88
89
90 for(const auto & p_charge : oldComposition) {
91
93 p_charge.processType(),p_charge.particleLink()));
94 }
95}
std::vector< SiCharge > list_t
◆ time()
| double SiTotalCharge::time |
( |
| ) |
const |
|
inline |
◆ trackBarcode()
| int SiTotalCharge::trackBarcode |
( |
| ) |
const |
|
inline |
◆ m_charge
| double SiTotalCharge::m_charge |
|
private |
◆ m_chargeComposition
| list_t SiTotalCharge::m_chargeComposition |
|
private |
◆ m_emptyLink
The documentation for this class was generated from the following files: