ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
TowerBackgroundv1.cc
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file TowerBackgroundv1.cc
1
#include "
TowerBackgroundv1.h
"
2
3
#include <memory>
4
#include <ostream>
5
6
using namespace
std;
7
8
TowerBackgroundv1::TowerBackgroundv1
()
9
: _v2(0)
10
, _Psi2(0)
11
, _nStrips(0)
12
, _nTowers(0)
13
{
14
_UE
.resize(3, std::vector<float>(1, 0));
15
}
16
17
void
TowerBackgroundv1::identify
(ostream& os)
const
18
{
19
os <<
"TowerBackground: "
<< std::endl;
20
for
(
int
n
= 0;
n
< 3;
n
++)
21
{
22
os <<
" layer "
<<
n
<<
" : UE in "
<<
_UE
[
n
].size() <<
" eta bins: "
;
23
for
(
unsigned
int
eta
= 0;
eta
<
_UE
[
n
].size();
eta
++)
24
os <<
_UE
[
n
].
at
(
eta
) <<
" "
;
25
os << std::endl;
26
}
27
28
os <<
" v2 = "
<<
_v2
<<
", Psi2 = "
<<
_Psi2
<<
", # towers used for bkg = "
<<
_nTowers
<<
" , # strips used for flow = "
<<
_nStrips
<< std::endl;
29
30
return
;
31
}
coresoftware
blob
master
offline
packages
jetbackground
TowerBackgroundv1.cc
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:35
using
1.8.2 with
ECCE GitHub integration