Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
TowerInfoContainerv3.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file TowerInfoContainerv3.h
1
#ifndef TOWERINFOCONTAINERV3_H
2
#define TOWERINFOCONTAINERV3_H
3
4
#include "
TowerInfoContainer.h
"
5
#include "
TowerInfov3.h
"
6
7
#include <
phool/PHObject.h
>
8
9
#include <TClonesArray.h>
10
11
class
TowerInfoContainerv3
:
public
TowerInfoContainer
12
{
13
public
:
14
TowerInfoContainerv3
(
DETECTOR
detec);
15
16
// default constructor for ROOT IO
17
TowerInfoContainerv3
() {}
18
PHObject
*
CloneMe
()
const override
{
return
new
TowerInfoContainerv3
(*
this
); }
19
TowerInfoContainerv3
(
const
TowerInfoContainerv3
&);
20
21
~TowerInfoContainerv3
()
override
;
22
23
void
identify
(std::ostream &
os
= std::cout)
const override
;
24
25
void
Reset
()
override
;
26
TowerInfov3
*
get_tower_at_channel
(
int
pos
)
override
;
27
TowerInfov3
*
get_tower_at_key
(
int
pos
)
override
;
28
29
unsigned
int
encode_key
(
unsigned
int
towerIndex)
override
;
30
unsigned
int
decode_key
(
unsigned
int
tower_key)
override
;
31
32
size_t
size
()
const override
{
return
_clones
->GetEntries(); }
33
DETECTOR
get_detectorid
()
const override
{
return
_detector
;}
34
35
protected
:
36
TClonesArray *
_clones
=
nullptr
;
37
DETECTOR
_detector
=
DETECTOR_INVALID
;
38
39
private
:
40
ClassDefOverride
(
TowerInfoContainerv3
, 1);
41
};
42
43
#endif
coresoftware
blob
master
offline
packages
CaloBase
TowerInfoContainerv3.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:05
using
1.8.2 with
sPHENIX GitHub integration