Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
Analysis Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
acts-fatras
analysis
analysis_tpc_prototype
coresoftware
blob
master
calibrations
generators
offline
database
framework
packages
CaloBase
CaloEmbedding
CaloReco
centrality
ClusterIso
compressor
decayfinder
epd
eventplaneinfo
globalvertex
Half
HFTrackEfficiency
intt
jetbackground
jetbase
KFParticle_sPHENIX
mbd
BbcDefs.h
BbcGeom.h
BbcGeomLinkDef.h
BbcGeomV1.cc
BbcGeomV1.h
BbcGeomV1LinkDef.h
BbcOut.cc
BbcOut.h
BbcOutLinkDef.h
BbcOutV1.cc
BbcOutV1.h
BbcOutV1LinkDef.h
BbcOutV2.cc
BbcOutV2.h
BbcOutV2LinkDef.h
BbcPmtContainer.cc
BbcPmtContainer.h
BbcPmtContainerLinkDef.h
BbcPmtContainerV1.cc
BbcPmtContainerV1.h
BbcPmtContainerV1LinkDef.h
BbcPmtHit.cc
BbcPmtHit.h
BbcPmtHitLinkDef.h
BbcPmtHitV1.cc
BbcPmtHitV1.h
BbcPmtHitV1LinkDef.h
BbcPmtInfoContainerV1.cc
BbcPmtInfoContainerV1.h
BbcPmtInfoContainerV1LinkDef.h
BbcPmtInfoV1.cc
BbcPmtInfoV1.h
BbcPmtInfoV1LinkDef.h
BbcReturnCodes.h
BbcVertex.h
BbcVertexLinkDef.h
BbcVertexMap.cc
BbcVertexMap.h
BbcVertexMapLinkDef.h
BbcVertexMapv1.cc
BbcVertexMapv1.h
BbcVertexMapv1LinkDef.h
BbcVertexv1.cc
BbcVertexv1.h
BbcVertexv1LinkDef.h
BbcVertexv2.cc
BbcVertexv2.h
BbcVertexv2LinkDef.h
MbdCalib.cc
MbdCalib.h
MbdDefs.h
MbdEvent.cc
MbdEvent.h
MbdGeom.h
MbdGeomLinkDef.h
MbdGeomV1.cc
MbdGeomV1.h
MbdGeomV1LinkDef.h
MbdOut.cc
MbdOut.h
MbdOutLinkDef.h
MbdOutV1.cc
MbdOutV1.h
MbdOutV1LinkDef.h
MbdOutV2.cc
MbdOutV2.h
MbdOutV2LinkDef.h
MbdPmtContainer.cc
MbdPmtContainer.h
MbdPmtContainerLinkDef.h
MbdPmtContainerV1.cc
MbdPmtContainerV1.h
MbdPmtContainerV1LinkDef.h
MbdPmtHit.cc
MbdPmtHit.h
MbdPmtHitLinkDef.h
MbdPmtHitV1.cc
MbdPmtHitV1.h
MbdPmtHitV1LinkDef.h
MbdReco.cc
MbdReco.h
MbdReturnCodes.h
MbdSig.cc
MbdSig.h
micromegas
mvtx
NodeDump
particleflow
PHField
PHGenFitPkg
PHGeometry
QAUtils
rawtodst
ResonanceJetTagging
tpc
tpccalib
tpcdaq
TPCHitTrackDisplay
trackbase
trackbase_historic
TrackerMillepedeAlignment
TrackingDiagnostics
trackreco
trigger
vararray
QA
simulation
validation
Doxygen_Assist
g4exampledetector
GenFit
JETSCAPE
KFParticle
macros
online_distribution
OnlMon
prototype
pythia6
rcdaq
RDBC
tutorials
doxygen_mainpage.h
File Members
Examples
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
BbcPmtInfoV1.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file BbcPmtInfoV1.h
1
#ifndef __BBCPMTINFOV1_H__
2
#define __BBCPMTINFOV1_H__
3
4
#include <calobase/TowerInfo.h>
5
6
#include <
phool/PHObject.h
>
7
8
#include <cmath>
9
10
class
BbcPmtInfoV1
:
public
TowerInfo
11
{
12
public
:
13
BbcPmtInfoV1
() {}
14
// BbcPmtInfoV1(TowerInfo& tower);
15
~BbcPmtInfoV1
()
override
=
default
;
16
void
Reset
()
override
;
17
19
void
Clear
(Option_t* =
""
)
override
;
20
22
void
identify
(std::ostream&
os
= std::cout)
const override
;
23
25
virtual
int
isValid
()
const override
26
{
27
if
(
bq
== NAN)
return
0;
28
return
1;
29
}
30
31
// short get_time() override { return get_t(); } // deprecated for MBD since MBD returns time in ns
32
Float_t
get_energy
()
override
{
return
get_q
(); }
33
34
// void set_time(short t) override; // too simple to be used for MBD
35
void
set_energy
(
float
energy
)
override
{
set_q
(energy); }
36
37
Short_t
get_pmt
() {
return
bpmt
; }
38
Float_t
get_q
() {
return
bq
; }
39
Float_t
get_t
() {
return
btq
; }
40
Float_t
get_tt
() {
return
btt
; }
41
Float_t
get_tq
() {
return
btq
; }
42
43
void
set_pmt
(
const
Short_t pmt) {
bpmt
= pmt; }
44
void
set_q
(
const
Float_t q) {
bq
= q; }
45
void
set_tt
(
const
Float_t
t
) {
btt
=
t
; }
46
void
set_tq
(
const
Float_t
t
) {
btq
=
t
; }
47
void
set_pmt
(
const
Short_t pmt,
const
Float_t q,
const
Float_t tt,
const
Float_t tq)
48
{
49
bpmt
= pmt;
50
bq
= q;
51
btt
= tt;
52
btq
= tq;
53
}
54
55
private
:
56
Short_t
bpmt
{-1};
57
Float_t
bq
{NAN};
58
Float_t
btt
{NAN};
59
Float_t
btq
{NAN};
60
61
ClassDefOverride
(
BbcPmtInfoV1
, 1);
62
};
63
64
#endif // __BBCPMTINFOV1_H__
coresoftware
blob
master
offline
packages
mbd
BbcPmtInfoV1.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:07
using
1.8.2 with
sPHENIX GitHub integration