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
MbdGeomV1.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file MbdGeomV1.h
1
#ifndef __MBD_GEOM_V1_H__
2
#define __MBD_GEOM_V1_H__
3
4
#include "
MbdGeom.h
"
5
6
class
MbdGeomV1
:
public
MbdGeom
7
{
8
public
:
9
MbdGeomV1
();
10
~MbdGeomV1
()
override
=
default
;
11
12
float
get_x
(
const
unsigned
int
pmtch)
const override
{
return
pmt_x
[pmtch]; }
13
float
get_y
(
const
unsigned
int
pmtch)
const override
{
return
pmt_y
[pmtch]; }
14
float
get_z
(
const
unsigned
int
pmtch)
const override
{
return
pmt_z
[pmtch]; }
15
float
get_r
(
const
unsigned
int
pmtch)
const override
{
return
pmt_r
[pmtch]; }
16
float
get_phi
(
const
unsigned
int
pmtch)
const override
{
return
pmt_phi
[pmtch]; }
17
int
get_arm
(
const
unsigned
int
pmtch)
const override
{
return
pmtch / 64; }
18
int
get_feech
(
const
unsigned
int
pmtch)
const override
{
return
(pmtch / 8) * 16 + pmtch % 8 + 8; }
19
void
set_xyz
(
const
unsigned
int
ipmt,
const
float
x
,
const
float
y
,
const
float
z
)
override
;
20
21
int
get_arm_feech
(
const
unsigned
int
feech
)
const override
{
return
get_pmt
(feech) / 64; }
22
int
get_pmt
(
const
unsigned
int
feech
)
const override
{
return
(feech / 16) * 8 + feech % 8; }
23
int
get_type
(
const
unsigned
int
feech
)
const override
{
return
(feech / 8) % 2; }
// 0=T-channel, 1=Q-channel
24
25
virtual
void
Reset
()
override
{}
26
27
private
:
28
float
pmt_x
[128]{};
29
float
pmt_y
[128]{};
30
float
pmt_z
[128]{};
31
float
pmt_r
[128]{};
32
float
pmt_phi
[128]{};
33
34
ClassDefOverride
(
MbdGeomV1
, 1)
35
};
36
37
#endif // __MBD_GEOM_V1_H__
coresoftware
blob
master
offline
packages
mbd
MbdGeomV1.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:07
using
1.8.2 with
sPHENIX GitHub integration