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
BbcPmtContainerV1.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file BbcPmtContainerV1.h
1
#ifndef __BBC_BBCPMTCONTAINERV1_H__
2
#define __BBC_BBCPMTCONTAINERV1_H__
3
4
#include "
BbcPmtContainer.h
"
5
6
#include <iostream>
7
8
#include <TClonesArray.h>
9
11
class
BbcPmtContainerV1
:
public
BbcPmtContainer
12
{
13
public
:
15
BbcPmtContainerV1
();
16
18
virtual
~BbcPmtContainerV1
();
19
21
void
Reset
()
override
;
22
26
void
identify
(std::ostream &
os
= std::cout)
const override
;
27
29
int
isValid
()
const override
;
30
34
void
set_npmt
(
const
Short_t ival)
override
35
{
36
npmt
= ival;
37
return
;
38
}
39
41
Short_t
get_npmt
()
const override
{
return
npmt
; }
42
46
BbcPmtHit
*
get_pmt
(
const
int
iPmt)
const override
{
return
(
BbcPmtHit
*)
BbcPmtHits
->ConstructedAt(iPmt); }
47
48
private
:
49
TClonesArray *
GetBbcPmtHits
()
const
{
return
BbcPmtHits
; }
50
51
Short_t
npmt
= 0;
52
TClonesArray *
BbcPmtHits
=
nullptr
;
53
54
ClassDefOverride(
BbcPmtContainerV1
, 1)
55
};
56
57
#endif
coresoftware
blob
master
offline
packages
mbd
BbcPmtContainerV1.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:07
using
1.8.2 with
sPHENIX GitHub integration