#include <LArXTalkWeight.h>
Definition at line 10 of file LArXTalkWeight.h.
◆ LArXTalkWeight()
| LArXTalkWeight::LArXTalkWeight |
( |
const std::vector< float > & | vec, |
|
|
const float | factor, |
|
|
const std::vector< int > & | table ) |
Definition at line 8 of file LArXTalkWeight.cxx.
8 {
10 bool factor1;
11 if ( std::abs(factor-1.0) < 0.001 ) factor1=true;
12 else factor1=false;
13
14 if ( !factor1 )
for(
auto& el :
m_vector)
el*=factor;
16}
std::vector< size_t > vec
std::vector< float > m_vector
std::vector< int > m_table
◆ get_xtalk() [1/2]
| float LArXTalkWeight::get_xtalk |
( |
const int | eta | ) |
const |
|
inline |
Definition at line 20 of file LArXTalkWeight.h.
20 {
22}
Scalar eta() const
pseudorapidity method
◆ get_xtalk() [2/2]
| float LArXTalkWeight::get_xtalk |
( |
const int | region, |
|
|
const int | eta ) const |
|
inline |
◆ m_table
| std::vector<int> LArXTalkWeight::m_table |
|
private |
◆ m_vector
| std::vector<float> LArXTalkWeight::m_vector |
|
private |
The documentation for this class was generated from the following files: