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
BbcPmtInfoContainerV1.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file BbcPmtInfoContainerV1.h
1
#ifndef __BBCPMTINFOCONTAINERV1_H__
2
#define __BBCPMTINFOCONTAINERV1_H__
3
4
#include "
BbcPmtInfoV1.h
"
5
6
#include <calobase/TowerInfoContainer.h>
7
8
#include <
phool/PHObject.h
>
9
10
#include <TClonesArray.h>
11
12
class
BbcPmtInfoContainerV1
:
public
TowerInfoContainer
13
{
14
public
:
15
16
BbcPmtInfoContainerV1
();
17
18
~BbcPmtInfoContainerV1
()
override
;
19
20
void
Reset
()
override
;
21
22
BbcPmtInfoV1
*
get_tower_at_channel
(
int
pos
)
override
;
23
24
BbcPmtInfoV1
*
get_pmt
(
int
ich) {
return
(
BbcPmtInfoV1
*)
_clones
->ConstructedAt(ich); }
25
TClonesArray *
getarray
()
const
{
return
_clones
; }
26
27
size_t
size
()
const override
{
return
_clones
->GetEntries(); }
28
29
//void AddBbcPmtInfo(const short ipmt, const Float_t q, const Float_t tt, const Float_t tq);
30
31
protected
:
32
TClonesArray *
_clones
=
nullptr
;
33
DETECTOR
_detector
=
DETECTOR_INVALID
;
34
35
private
:
36
ClassDefOverride
(
BbcPmtInfoContainerV1
, 1);
37
};
38
39
#endif
coresoftware
blob
master
offline
packages
mbd
BbcPmtInfoContainerV1.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:07
using
1.8.2 with
sPHENIX GitHub integration