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
MbdPmtContainerV1.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file MbdPmtContainerV1.h
1
#ifndef __MBD_MBDPMTCONTAINERV1_H__
2
#define __MBD_MBDPMTCONTAINERV1_H__
3
4
#include "
MbdPmtContainer.h
"
5
6
#include <iostream>
7
8
#include <TClonesArray.h>
9
11
class
MbdPmtContainerV1
:
public
MbdPmtContainer
12
{
13
public
:
15
MbdPmtContainerV1
();
16
18
virtual
~MbdPmtContainerV1
();
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
MbdPmtHit
*
get_pmt
(
const
int
iPmt)
const override
{
return
(
MbdPmtHit
*)
MbdPmtHits
->ConstructedAt(iPmt); }
47
48
private
:
49
TClonesArray *
GetMbdPmtHits
()
const
{
return
MbdPmtHits
; }
50
51
Short_t
npmt
= 0;
52
TClonesArray *
MbdPmtHits
=
nullptr
;
53
54
ClassDefOverride(
MbdPmtContainerV1
, 1)
55
};
56
57
#endif
coresoftware
blob
master
offline
packages
mbd
MbdPmtContainerV1.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:07
using
1.8.2 with
sPHENIX GitHub integration