#include <HIEventShapeSummaryUtils.h>
Definition at line 29 of file HIEventShapeSummaryUtils.h.
◆ AddEventShape() [1/2]
| HI::AddEventShape::AddEventShape |
( |
float | ww | ) |
|
|
inline |
◆ AddEventShape() [2/2]
| HI::AddEventShape::AddEventShape |
( |
| ) |
|
|
inlineconstexpr |
◆ operator()()
Definition at line 10 of file HIEventShapeSummaryUtils.cxx.
11 {
12
17
18 unsigned int nord=
slice->etCos().size();
19 if(nord!=
slice->etSin().size())
throw std::domain_error(
"Input HIEventShape has unequal n-harmonics for Q_x and Q_y");
20
21
22 if(nord==0)
23 {
24 slice->etCos().assign(in_slice->
etCos().begin(),in_slice->
etCos().end());
25 slice->etSin().assign(in_slice->
etSin().begin(),in_slice->
etSin().end());
26 return;
27 }
28
29 unsigned int in_nord=in_slice->
etCos().size();
30
31 if(in_nord < nord) nord=in_nord;
33 {
34
35 auto itr=in_slice->
etCos().begin();
36 std::advance(itr,nord);
37 slice->etCos().insert(
slice->etCos().end(),itr,in_slice->
etCos().end());
38 itr=in_slice->
etSin().begin();
39 std::advance(itr,nord);
40 slice->etSin().insert(
slice->etSin().end(),itr,in_slice->
etSin().end());
41 }
42
43 for(
unsigned int i=0;
i<nord;
i++)
44 {
45 float tmp_cos =
slice->etCos().at(i);
47 float tmp_sin =
slice->etSin().at(i);
49 }
50 }
int nCells() const
number of cells that were summed in slice
float area() const
obtain the area of the eta slice
float rho() const
energy density (et/area)
const std::vector< float > & etSin() const
sine (x) part of the harmonic modulation strength
const std::vector< float > & etCos() const
cosine (y) part of the harmonic modulation strength Following convention is used: index 0 is first ha...
float et() const
Transverse energy reconstructed on the slice.
◆ m_weight
| float HI::AddEventShape::m_weight |
|
private |
◆ match_num_harmonics
| bool HI::AddEventShape::match_num_harmonics |
The documentation for this struct was generated from the following files: